/* Smart Nest website. Colours taken from the S&N logo: signal red to orange, brushed steel, white. */
:root {
  --red: #e10600; --red-2: #ff4d00; --orange: #ff7a1a; --red-dark: #a30400;
  --steel: #c5c8ca; --steel-2: #8e9397; --steel-3: #eceeef;
  --ink: #1b1d1f; --muted: #5b6064; --bg: #f6f5f3; --card: #ffffff; --line: #e4e1dc;
  --ok: #157a42; --ok-bg: #e5f5ec; --warn: #9a4a00; --warn-bg: #fff1e3;
  --grad: linear-gradient(120deg, #d80500 0%, #f42a00 45%, #ff6a00 100%);
  --radius: 14px; --shadow: 0 1px 2px rgba(20, 20, 20, .06), 0 8px 24px rgba(20, 20, 20, .07);
  --f-head: 'Poppins', 'Segoe UI', Arial, sans-serif; --f-body: 'Inter', 'Segoe UI', Arial, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.55 var(--f-body); }
img { max-width: 100%; display: block; }
a { color: var(--red); }
h1, h2, h3, h4 { font-family: var(--f-head); line-height: 1.15; margin: 0 0 .4em; letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: clamp(30px, 5vw, 52px); font-weight: 800; }
h2 { font-size: clamp(24px, 3.2vw, 36px); font-weight: 800; }
h3 { font-size: 20px; font-weight: 700; }
p { margin: 0 0 1em; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 16px; }
.muted { color: var(--muted); }
.small { font-size: 14px; }
.eyebrow { font: 700 13px var(--f-head); letter-spacing: .12em; text-transform: uppercase; color: var(--red); margin-bottom: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px 20px;
  border-radius: 999px; border: 2px solid transparent; font: 700 15px var(--f-head); text-decoration: none; cursor: pointer;
  transition: transform .12s, box-shadow .12s, background .12s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 6px 18px rgba(225, 6, 0, .28); }
.btn-primary:hover { box-shadow: 0 8px 24px rgba(225, 6, 0, .38); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-light { background: #fff; color: var(--red); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.8); }
.btn-block { width: 100%; }
.btn[disabled] { opacity: .5; cursor: not-allowed; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; }

/* ---------- header ---------- */
.dev-banner { background: #1b1d1f; color: #ffd9c2; font-size: 13px; text-align: center; padding: 6px 16px; }
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; gap: 20px; min-height: 68px; }
/* logo lockup: emblem + name (layout.js) */
.logo { display: flex; align-items: center; gap: 11px; text-decoration: none; color: var(--ink); flex-shrink: 0; }
.logo .emblem { width: 50px; height: 50px; flex: none; filter: drop-shadow(0 3px 6px rgba(201, 4, 0, .22)); }
.wm { display: flex; flex-direction: column; }
.wm-name { font: 800 27px/1 var(--f-head); letter-spacing: -.02em; color: var(--ink); white-space: nowrap; }
.wm-name b { font-weight: 800; color: var(--red); }
.wm-sub { font: 600 9.6px/1 var(--f-head); letter-spacing: .235em; text-transform: uppercase; color: var(--muted); margin-top: 5px; white-space: nowrap; }
@media (max-width: 1060px) and (min-width: 921px) { .nav a { padding: 8px 9px; font-size: 14.5px; } }
@media (max-width: 400px) { .logo .emblem { width: 44px; height: 44px; } .wm-name { font-size: 23px; } .wm-sub { font-size: 8.2px; } }
.nav { display: flex; gap: 4px; margin-left: auto; align-items: center; }
.nav a { padding: 8px 12px; border-radius: 8px; color: var(--ink); text-decoration: none; font: 600 15px var(--f-head); }
.nav a:hover, .nav a[aria-current="page"] { background: var(--steel-3); }
.nav a[aria-current="page"] { color: var(--red); }
.nav .btn { margin-left: 8px; min-height: 42px; }
.menu-btn { display: none; margin-left: auto; background: none; border: 0; padding: 10px; cursor: pointer; }
.menu-btn span { display: block; width: 24px; height: 2.5px; background: var(--ink); margin: 5px 0; border-radius: 2px; }
@media (max-width: 920px) {
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch;
    background: #fff; border-bottom: 1px solid var(--line); padding: 8px 16px 16px; box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav a { padding: 12px; }
  .nav .btn { margin: 8px 0 0; }
}

/* ---------- sections ---------- */
section { padding: 64px 0; }
.section-head { max-width: 720px; margin-bottom: 28px; }
.band { background: #fff; border-block: 1px solid var(--line); }
.band-dark { background: var(--ink); color: #fff; }
.band-red { background: var(--grad); color: #fff; }
.grid { display: grid; gap: 20px; }
.g2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.g3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.g4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 960px) { .g3, .g4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .g2, .g3, .g4 { grid-template-columns: 1fr; } section { padding: 44px 0; } }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); min-width: 0; }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--grad); color: #fff; padding: 56px 0 0; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: 32px; align-items: center; padding-bottom: 48px; }
.hero h1 { color: #fff; }
.hero p.lead { font-size: 19px; max-width: 34em; color: rgba(255,255,255,.92); }
.hero .ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 22px 0 28px; }
.hero .price-tag { display: inline-flex; align-items: baseline; gap: 8px; background: rgba(0,0,0,.18); border-radius: 999px; padding: 6px 16px; font: 600 15px var(--f-head); }
.hero .price-tag b { font-size: 22px; }
.hero-art { align-self: end; position: relative; }
.hero-art img { width: 100%; height: auto; border-radius: 18px; box-shadow: 0 12px 40px rgba(0,0,0,.25); aspect-ratio: 4 / 3; object-fit: cover; background: #0b1730; }
@media (max-width: 860px) { .hero .wrap { grid-template-columns: 1fr; } .hero { padding-top: 36px; } }
.trust { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.trust div { display: flex; gap: 12px; align-items: center; font: 600 15px var(--f-head); }
.trust i { flex: 0 0 40px; height: 40px; border-radius: 12px; background: var(--steel-3); display: grid; place-items: center; font-style: normal; font-size: 20px; }
@media (max-width: 860px) { .trust { grid-template-columns: 1fr 1fr; } }

/* ---------- model cards ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.chip { border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 16px; font: 600 14px var(--f-head); cursor: pointer; color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.mcard { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); text-decoration: none; color: inherit; transition: transform .15s, box-shadow .15s; }
.mcard:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(20,20,20,.12); }
.mcard .thumb { aspect-ratio: 4 / 3; background: linear-gradient(#cfe3f3, #eef4f8); position: relative; }
.mcard .thumb img { width: 100%; height: 100%; object-fit: cover; }
.mcard .thumb img[width] { height: 100%; }
.mcard .no { position: absolute; top: 12px; left: 12px; background: rgba(27,29,31,.85); color: #fff; font: 700 12px var(--f-head); padding: 4px 10px; border-radius: 999px; }
.mcard .body { padding: 18px 18px 20px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.mcard h3 { margin: 0; }
.mcard .meta { font-size: 14px; color: var(--muted); }
.mcard .price { font: 800 24px var(--f-head); color: var(--red); margin-top: auto; padding-top: 8px; }
.mcard .price small { font: 600 13px var(--f-body); color: var(--muted); }
.badge { display: inline-flex; align-items: center; gap: 6px; border-radius: 999px; padding: 4px 10px; font: 700 12px var(--f-head); letter-spacing: .02em; width: fit-content; }
.badge::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.badge.in { background: var(--ok-bg); color: var(--ok); }
.badge.pre { background: var(--warn-bg); color: var(--warn); }

/* ---------- configurator ---------- */
.cfg-top { padding-top: 28px; padding-bottom: 8px; }
.crumbs { font-size: 14px; color: var(--muted); margin-bottom: 8px; }
.crumbs a { color: var(--muted); }
.cfg { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 24px; align-items: start; padding-bottom: 48px; }
@media (max-width: 980px) { .cfg { grid-template-columns: 1fr; } }
.viewer { position: relative; height: min(64vh, 560px); min-height: 340px; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(#bcd7ee 0%, #e3eef6 62%, #eef3f5 100%); border: 1px solid var(--line); }
.viewer.dusk { background: linear-gradient(#08142c 0%, #1b3566 60%, #3f5d8f 100%); }
.viewer canvas { display: block; width: 100%; height: 100%; touch-action: none; }
.viewer .hint { position: absolute; left: 12px; bottom: 10px; font-size: 12px; color: rgba(27,29,31,.7); pointer-events: none; background: rgba(255,255,255,.6); padding: 3px 8px; border-radius: 6px; }
.viewer.dusk .hint { color: #dfe7f5; background: rgba(0,0,0,.3); }
.viewer .err { position: absolute; inset: 0; display: grid; place-items: center; padding: 24px; text-align: center; color: var(--muted); }
.viewer .loading { position: absolute; inset: 0; display: grid; place-items: center; font: 600 15px var(--f-head); color: var(--muted); }
.toolbar { display: flex; flex-wrap: wrap; gap: 8px; margin: 12px 0 4px; align-items: center; }
.toolbar .sep { width: 1px; align-self: stretch; background: var(--line); margin: 0 4px; }
.tbtn { display: inline-flex; align-items: center; gap: 6px; font: 600 14px var(--f-head); background: #fff; color: var(--ink); border: 1.5px solid var(--line);
  padding: 8px 12px; border-radius: 10px; cursor: pointer; min-height: 40px; }
.tbtn[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.tbtn:hover { border-color: var(--steel-2); }
.panel { position: sticky; top: 84px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px; }
@media (max-width: 980px) { .panel { position: static; } }
.panel h1 { font-size: 30px; margin-bottom: 4px; }
.panel .lead { color: var(--muted); font-size: 15px; }
.opt { padding: 14px 0; border-top: 1px solid var(--line); }
.opt-h { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; font: 700 14px var(--f-head); margin-bottom: 8px; }
.opt-h span { font: 600 13px var(--f-body); color: var(--muted); }
.seg { display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; gap: 6px; }
.seg.wrap4 { grid-template-columns: repeat(4, 1fr); grid-auto-flow: row; }
.seg button { border: 1.5px solid var(--line); background: #fff; border-radius: 10px; padding: 8px 6px; font: 600 14px var(--f-head); cursor: pointer; color: var(--ink); line-height: 1.2; }
.seg button small { display: block; font: 500 12px var(--f-body); color: var(--muted); margin-top: 2px; }
.seg button[aria-pressed="true"] { border-color: var(--red); background: #fff4f0; color: var(--red-dark); box-shadow: inset 0 0 0 1px var(--red); }
.seg button[aria-pressed="true"] small { color: var(--red-dark); }
.seg button:disabled { opacity: .4; cursor: not-allowed; }
.counter { display: flex; align-items: center; gap: 10px; }
.counter button { width: 40px; height: 40px; border-radius: 10px; border: 1.5px solid var(--line); background: #fff; font: 700 20px var(--f-head); cursor: pointer; }
.counter output { min-width: 40px; text-align: center; font: 700 20px var(--f-head); }
.note-inline { font-size: 13px; color: var(--warn); margin-top: 6px; }
.price-box { margin-top: 6px; padding: 16px; border-radius: 12px; background: var(--steel-3); }
.price-box .tot { display: flex; justify-content: space-between; align-items: baseline; font: 800 30px var(--f-head); color: var(--red); }
.price-box .tot span { font: 700 14px var(--f-head); color: var(--ink); }
.lines { list-style: none; padding: 0; margin: 10px 0 0; font-size: 14px; }
.lines li { display: flex; justify-content: space-between; gap: 10px; padding: 4px 0; }
.lines li b { font-weight: 600; white-space: nowrap; }
.adds { margin: 10px 0 0; padding: 10px 12px; background: #fff; border-left: 3px solid var(--orange); border-radius: 6px; font-size: 13.5px; }
.adds p { margin: 0 0 4px; } .adds p:last-child { margin: 0; }
.stock { margin: 12px 0; padding: 10px 12px; border-radius: 10px; font-size: 14px; }
.stock.in { background: var(--ok-bg); color: var(--ok); } .stock.pre { background: var(--warn-bg); color: var(--warn); }
.stock b { font-family: var(--f-head); }
.actions { display: grid; gap: 8px; margin-top: 14px; }
.actions .row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.actions .btn { min-height: 44px; font-size: 14px; padding: 8px 12px; }
.tabs { display: flex; gap: 6px; border-bottom: 1px solid var(--line); margin-top: 24px; overflow-x: auto; }
.tabs button { background: none; border: 0; border-bottom: 3px solid transparent; padding: 12px 14px; font: 700 15px var(--f-head); cursor: pointer; color: var(--muted); white-space: nowrap; }
.tabs button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--red); }
.tabpane { padding: 20px 0; }
.plans { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.plan-card { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px; min-width: 0; }
.plan-card h4 { margin: 0 0 6px; font-size: 14px; letter-spacing: .08em; text-transform: uppercase; }
.plan-card .svgbox { overflow-x: auto; }
.specs { width: 100%; border-collapse: collapse; font-size: 15px; }
.specs th, .specs td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.specs th { width: 38%; color: var(--muted); font-weight: 600; }
.incl { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px) { .incl { grid-template-columns: 1fr; } }
.incl ul { margin: 6px 0 0; padding-left: 0; list-style: none; }
.incl li { padding: 6px 0 6px 28px; position: relative; }
.incl .yes li::before { content: '✓'; position: absolute; left: 4px; color: var(--ok); font-weight: 800; }
.incl .no li::before { content: '✕'; position: absolute; left: 4px; color: var(--red); font-weight: 800; }
.incl-note { border: 1px solid var(--line); background: #fff; border-radius: 12px; padding: 14px 16px; font-size: 14px; margin-top: 14px; }
.incl-note b { font-family: var(--f-head); }

/* ---------- floor plan drawing ---------- */
svg.plan { width: 100%; height: auto; min-width: 280px; display: block; }
svg.plan text, .svgbox svg text { font-family: var(--f-body); fill: var(--ink); }
.svgbox svg { display: block; width: 100%; height: auto; min-width: 280px; }
.w { fill: #1b1d1f; } .wi { fill: #4a4f53; } .fl { fill: #f4efe7; } .wet { fill: #d7e7ee; } .dk { fill: #efe0cb; } .cn { fill: #e3e1dd; } .vd { fill: #fbf3e4; }
.m1 { fill: #cfe0ee; } .m2 { fill: #d9e8cf; } .m3 { fill: #f3dfc6; } .m4 { fill: #ddd5ef; } .m5 { fill: #f0d3da; } .m6 { fill: #cdeee8; }
.m7 { fill: #f7ecc4; } .m8 { fill: #e9dcf2; } .m9 { fill: #d4ecf6; } .m10 { fill: #f1dbd1; } .m11 { fill: #e2efcf; } .m12 { fill: #f5dbe7; }
.ln { fill: none; stroke: #3a3f43; stroke-width: 14; } .th { fill: none; stroke: #3a3f43; stroke-width: 8; }
.hv { fill: none; stroke: #1b1d1f; stroke-width: 30; } .da { fill: none; stroke: #3a3f43; stroke-width: 12; stroke-dasharray: 80 50; }
.dd { fill: none; stroke: #8e9397; stroke-width: 10; stroke-dasharray: 40 40; } .rl { fill: none; stroke: #1b1d1f; stroke-width: 40; stroke-linejoin: round; }
.win { fill: #fff; stroke: #1b1d1f; stroke-width: 10; } .fx { fill: #fff; stroke: #5b6064; stroke-width: 12; } .post { fill: #1b1d1f; }
.dimL { stroke: #c2410c; stroke-width: 10; fill: none; } .dimT { fill: #c2410c !important; font-size: 150px; font-family: Consolas, monospace !important; }
.lbl { font-size: 165px; font-weight: 700; letter-spacing: .02em; } .big { font-size: 300px; font-weight: 800; }
.sm { font-size: 120px; fill: #5b6064 !important; } .tag { font-size: 110px; font-weight: 600; }

/* ---------- forms ---------- */
.form { display: grid; gap: 14px; }
.field { display: grid; gap: 6px; }
.field label, .field .lab { font: 600 14px var(--f-head); }
.field .hint { font-size: 13px; color: var(--muted); }
input[type=text], input[type=email], input[type=tel], input[type=date], input[type=time], input[type=number], select, textarea {
  width: 100%; font: 16px var(--f-body); padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); }
input:focus, select:focus, textarea:focus { border-color: var(--orange); outline: none; box-shadow: 0 0 0 3px rgba(255,122,26,.2); }
textarea { min-height: 96px; resize: vertical; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
@media (max-width: 640px) { .row2 { grid-template-columns: 1fr; } }
.choice { display: grid; gap: 10px; }
.choice label { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border: 1.5px solid var(--line); border-radius: 12px; cursor: pointer; background: #fff; }
.choice label:has(input:checked) { border-color: var(--red); background: #fff6f2; }
.choice input { margin-top: 4px; accent-color: var(--red); width: 18px; height: 18px; flex-shrink: 0; }
.choice b { font-family: var(--f-head); display: block; }
.choice span { font-size: 14px; color: var(--muted); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; }
.check input { margin-top: 3px; accent-color: var(--red); width: 18px; height: 18px; flex-shrink: 0; }
.result { border: 2px solid var(--ok); background: var(--ok-bg); border-radius: 14px; padding: 20px; }
.result.fallback { border-color: var(--orange); background: #fff7f0; }
.result pre { white-space: pre-wrap; font: 13px/1.5 Consolas, monospace; background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 12px; max-height: 260px; overflow: auto; }
.result .btns { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.summary { background: var(--steel-3); border-radius: 12px; padding: 16px; }
.summary h3 { margin-bottom: 6px; }
.summary ul { margin: 6px 0 0; padding-left: 18px; font-size: 14px; }
.terms { font-size: 14px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; }
.terms ul { margin: 6px 0 0; padding-left: 18px; }

/* ---------- delivery ---------- */
.map { height: 380px; border-radius: 12px; border: 1px solid var(--line); overflow: hidden; z-index: 0; }
.dl-out { margin-top: 12px; }
.dl-out table { width: 100%; border-collapse: collapse; font-size: 15px; }
.dl-out td { padding: 6px 0; border-bottom: 1px solid var(--line); }
.dl-out td:last-child { text-align: right; font-weight: 600; white-space: nowrap; }
.dl-out .fee { font: 800 26px var(--f-head); color: var(--red); }
.results-list { list-style: none; padding: 0; margin: 8px 0 0; display: grid; gap: 6px; }
.results-list button { width: 100%; text-align: left; border: 1.5px solid var(--line); background: #fff; border-radius: 10px; padding: 10px 12px; cursor: pointer; font: 14px var(--f-body); }
.results-list button:hover { border-color: var(--orange); }
.err-msg { color: var(--red-dark); font-size: 14px; }

/* ---------- steps, faq ---------- */
.steps { counter-reset: s; display: grid; gap: 16px; }
.step { position: relative; padding: 20px 20px 20px 72px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); }
.step::before { counter-increment: s; content: counter(s); position: absolute; left: 20px; top: 20px; width: 36px; height: 36px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; font: 800 16px var(--f-head); }
.step h3 { margin-bottom: 4px; }
.step p { margin: 0; color: var(--muted); }
details { background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; }
details + details { margin-top: 10px; }
summary { font: 700 16px var(--f-head); cursor: pointer; }
details p { margin: 10px 0 0; color: var(--muted); }

/* ---------- contact ---------- */
.contact-cards a { display: flex; gap: 16px; align-items: center; text-decoration: none; color: var(--ink); padding: 16px 18px;
  transition: border-color .15s, box-shadow .15s, transform .15s; }
.contact-cards a:hover { border-color: #d6d2cc; box-shadow: 0 10px 28px rgba(20, 20, 20, .1); transform: translateY(-1px); }
.contact-cards .ic { flex: 0 0 52px; width: 52px; height: 52px; display: grid; place-items: center; }
.contact-cards .ic svg { width: 52px; height: 52px; display: block; }
.contact-cards .txt { flex: 1; min-width: 0; }
.contact-cards b { font: 700 17px/1.25 var(--f-head); display: block; overflow-wrap: anywhere; }
.contact-cards .sub { display: block; color: var(--muted); font-size: 14px; margin-top: 2px; }
.contact-cards .go { flex: none; font: 600 13px var(--f-head); color: var(--red); white-space: nowrap; }
@media (max-width: 420px) { .contact-cards .go { display: none; } }

/* ---------- footer ---------- */
.site-footer { background: #121314; color: #cfd2d4; padding: 48px 0 28px; font-size: 15px; }
.site-footer a { color: #fff; }
.site-footer .cols { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 28px; }
@media (max-width: 860px) { .site-footer .cols { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-footer .cols { grid-template-columns: 1fr; } }
.site-footer h4 { color: #fff; font-size: 15px; margin-bottom: 10px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.site-footer .sub-form { display: flex; gap: 8px; margin-top: 8px; }
.site-footer .sub-form input { flex: 1; min-width: 0; padding: 10px 12px; border-radius: 10px; border: 0; }
.site-footer .sub-form .btn { min-height: 42px; padding: 8px 14px; }
.site-footer .legal { border-top: 1px solid #2a2c2e; margin-top: 32px; padding-top: 18px; font-size: 13px; color: #8e9397; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; }
.site-footer .flogo { margin-bottom: 14px; }
.site-footer .flogo .wm-name { color: #fff; }
.site-footer .flogo .wm-name b { color: #ff5a1f; }
.site-footer .flogo .wm-sub { color: #9a9fa3; }
.site-footer .flogo .emblem { filter: none; }
.sticky-cta { display: none; }
@media (max-width: 980px) {
  .sticky-cta { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; gap: 8px; padding: 10px 12px calc(10px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -6px 20px rgba(0,0,0,.08); align-items: center; }
  .sticky-cta .p { font: 800 18px var(--f-head); color: var(--red); margin-right: auto; }
  .sticky-cta .btn { min-height: 42px; padding: 8px 16px; font-size: 14px; }
  body.has-sticky { padding-bottom: 70px; }
}
.clamp { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; margin: 4px 0 0; }
.page-head { padding-top: 44px; padding-bottom: 8px; }
.page-head p { max-width: 46em; color: var(--muted); font-size: 18px; }
.two-col { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 28px; align-items: start; }
@media (max-width: 900px) { .two-col { grid-template-columns: 1fr; } }
.mode-tabs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
legend { font: 700 18px var(--f-head); margin-bottom: 10px; padding: 0; }
.formcard { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; box-shadow: var(--shadow); display: grid; gap: 22px; }
.choice span b { display: inline; }
.cfg > *, .two-col > *, .actions .row > * { min-width: 0; }
.plans { grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); }
.actions .btn { white-space: normal; text-align: center; line-height: 1.2; }
@media (max-width: 640px) {
  .viewer { height: 52vh; min-height: 300px; }
  .toolbar { gap: 6px; } .tbtn { padding: 6px 10px; font-size: 13px; min-height: 36px; }
  .toolbar .sep { display: none; }
  .panel { padding: 18px; }
}
@media (max-width: 640px) { .viewer .hint { font-size: 11px; right: 12px; } }
@media (min-width: 981px) {
  .cfg-view { grid-column: 1; grid-row: 1; }
  .cfg .panel { grid-column: 2; grid-row: 1 / span 2; }
  .cfg-info { grid-column: 1; grid-row: 2; }
}

/* ---------- promo pop-up (layout.js) ---------- */
body.promo-open { overflow: hidden; }
.promo-pop { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; padding: 16px;
  background: rgba(15, 15, 16, .66); backdrop-filter: blur(3px); }
.promo-card { position: relative; width: min(580px, 100%); text-align: center; color: #fff; background: var(--grad);
  border: 3px solid #ffd21f; border-radius: 24px; padding: 44px 26px 32px; animation: promo-glow 1.1s ease-in-out infinite; }
.promo-x { position: absolute; top: 10px; right: 12px; width: 42px; height: 42px; border: 0; border-radius: 50%;
  background: rgba(0, 0, 0, .25); color: #fff; font: 500 28px/1 var(--f-body); cursor: pointer; }
.promo-x:hover, .promo-x:focus-visible { background: rgba(0, 0, 0, .45); outline: 2px solid #fff; outline-offset: 2px; }
.promo-tag { display: inline-block; font: 800 13px var(--f-head); letter-spacing: .22em; text-transform: uppercase;
  background: #ffd21f; color: #1b1d1f; padding: 6px 16px; border-radius: 999px; margin-bottom: 16px; }
.promo-blink { font: 800 clamp(36px, 9vw, 60px)/1 var(--f-head); text-transform: uppercase; letter-spacing: -.01em;
  margin: 0 0 16px; color: #fff; text-shadow: 0 3px 0 rgba(0, 0, 0, .18); animation: promo-blink 1.1s linear infinite; }
.promo-blink span { color: #ffd21f; }
.promo-dates { font: 600 17px/1.45 var(--f-body); margin: 0 0 24px; }
.promo-dates b { white-space: nowrap; }
.promo-btns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.promo-cta { background: #fff; color: var(--red); }
.promo-cta:hover { background: #fff4e6; }
.promo-ghost { background: transparent; color: #fff; border: 2px solid rgba(255, 255, 255, .8); }
.promo-ghost:hover { background: rgba(255, 255, 255, .12); }
.promo-note { background: #fff6d6; border: 1px solid #ffd21f; border-radius: 10px; padding: 8px 12px; font-size: 14px; margin: 10px 0 4px; }
@keyframes promo-blink { 0%, 55% { opacity: 1; } 65%, 88% { opacity: .18; } 100% { opacity: 1; } }
@keyframes promo-glow { 0%, 100% { box-shadow: 0 24px 60px rgba(0, 0, 0, .35), 0 0 0 0 rgba(255, 210, 31, 0); }
  50% { box-shadow: 0 24px 60px rgba(0, 0, 0, .35), 0 0 0 14px rgba(255, 210, 31, .5); } }
@media (prefers-reduced-motion: reduce) { .promo-card, .promo-blink { animation: none; } }

/* ---------- partner message (layout.js #partners) ---------- */
.partner { display: flex; flex-direction: column; gap: 4px; }
.partner p { color: var(--muted); margin: 0 0 14px; flex: 1; }
.partner .row { display: flex; gap: 10px; flex-wrap: wrap; }
.partner .p-ic { width: 48px; height: 48px; border-radius: 14px; background: var(--grad); color: #fff; display: grid; place-items: center; margin-bottom: 10px; }
.partner .p-ic svg { width: 26px; height: 26px; }
.promo-fine { font: 500 14px/1.4 var(--f-body); margin: -12px 0 22px; color: #fff3e0; }

/* ---------- watermark (watermark.js): centred, soft, barely noticeable ---------- */
.wm-over { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; user-select: none;
  z-index: 1; opacity: .17; filter: blur(.7px); }
.wm-over svg { width: min(50%, 360px); height: auto; overflow: visible; }

/* ---------- the unit (unit.html, unit3d.js) ---------- */
.unit-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 22px; align-items: start; }
@media (max-width: 980px) { .unit-grid { grid-template-columns: 1fr; } }
.unit-viewer { height: min(68vh, 600px); }
.unit-viewer canvas { cursor: grab; }
.hotspots { position: absolute; inset: 0; pointer-events: none; z-index: 2; overflow: hidden; }
.hs { position: absolute; transform: translate(-50%, -50%); width: 30px; height: 30px; padding: 0; border-radius: 50%;
  border: 2px solid #fff; background: var(--red); color: #fff; font: 800 13px/1 var(--f-head); display: grid; place-items: center;
  pointer-events: auto; cursor: pointer; box-shadow: 0 2px 8px rgba(0, 0, 0, .35); }
.hs::after { content: ''; position: absolute; inset: -7px; border-radius: 50%; border: 2px solid rgba(225, 6, 0, .55); animation: hs-pulse 1.9s ease-out infinite; }
.hs[aria-pressed="true"] { background: #ffd21f; color: var(--ink); }
.hs[aria-pressed="true"]::after { border-color: rgba(255, 210, 31, .8); }
@keyframes hs-pulse { from { transform: scale(.75); opacity: 1; } to { transform: scale(1.55); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .hs::after { animation: none; } }
.tbtn-main { background: var(--red); border-color: var(--red); color: #fff; }
.tbtn-main[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); }
.unit-panel .parts { display: grid; gap: 6px; margin: 12px 0 14px; }
.part-btn { display: flex; gap: 10px; align-items: center; text-align: left; width: 100%; padding: 8px 10px; border: 1px solid var(--line);
  border-radius: 10px; background: #fff; cursor: pointer; font: inherit; color: var(--ink); }
.part-btn:hover { border-color: var(--steel-2); }
.part-btn .num { flex: none; width: 24px; height: 24px; border-radius: 50%; background: var(--steel-3); font: 800 12px var(--f-head); display: grid; place-items: center; }
.part-btn b { font: 700 14.5px/1.2 var(--f-head); display: block; }
.part-btn small { color: var(--muted); font-size: 12.5px; line-height: 1.3; display: block; }
.part-btn[aria-pressed="true"] { border-color: var(--red); background: #fff5f0; }
.part-btn[aria-pressed="true"] .num { background: var(--red); color: #fff; }
.part-info { border-top: 1px solid var(--line); padding-top: 14px; }
.part-info h3 { margin-bottom: 0; }
.part-info .spec, .why-grid .spec { font: 800 18px/1.3 var(--f-head); color: var(--red); margin: 2px 0 8px; }
.why-grid .card h3 { margin-bottom: 0; }
/* own design + vision / mission */
.own { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 20px; align-items: center; }
.own h2 { margin-bottom: .25em; }
.own-btns { display: flex; flex-wrap: wrap; gap: 10px; justify-content: flex-end; }
@media (max-width: 860px) { .own { grid-template-columns: 1fr; } .own-btns { justify-content: flex-start; } }
.vm .card h3 { color: var(--red); }
.vm ul { margin: 0; padding-left: 20px; display: grid; gap: 6px; }
