/* =========================================================
   Royal Facade Baltic. Colours from the catalogue: charcoal
   #2a2927, teal #4b7976, light grey #eff0f4. Montserrat for
   everything, as in the catalogue (Latvian and Cyrillic).
   Sections set data-theme; components read --fg, --fg-2,
   --line-c and --card so they work on any section.
   ========================================================= */

:root {
  --ink: #2a2927; --ink-2: #5b6064; --ink-3: #8b9095;
  --bg: #ffffff; --bg-2: #eff0f4; --bg-3: #e2e4ea;
  --teal: #4b7976; --teal-h: #3d6562; --teal-d: #2f4f4d; --teal-l: #e4eeec; --teal-2: #8fb8b3;
  --clay: #b5532c; --clay-2: #cf7449; --clay-d: #8e3d22; --mortar: #ddd5c8;
  --line: rgba(42, 41, 39, .12);
  --head: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --text: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1280px; --gut: 48px; --hdr: 76px; --r: 16px;
  --shadow: 0 1px 2px rgba(42, 41, 39, .04), 0 12px 32px -12px rgba(42, 41, 39, .14);
  --ease: cubic-bezier(.16, 1, .3, 1); --ease-io: cubic-bezier(.7, 0, .2, 1);
}
@media (max-width: 1000px) { :root { --gut: 28px; --hdr: 64px; } }
@media (max-width: 640px)  { :root { --gut: 16px; } }

[data-theme="light"] { --fg: var(--ink); --fg-2: var(--ink-2); --fg-3: var(--ink-3); --line-c: var(--line); --card: #fff; --accent: var(--teal); color: var(--fg); }
[data-theme="dark"] { --fg: #eef0f2; --fg-2: #aab1b5; --fg-3: #767e83; --line-c: rgba(238, 240, 242, .15); --card: #22282a; --accent: var(--teal-2); color: var(--fg); }
[data-theme="teal"] { --fg: #fff; --fg-2: rgba(255, 255, 255, .82); --fg-3: rgba(255, 255, 255, .62); --line-c: rgba(255, 255, 255, .24); --card: rgba(255, 255, 255, .1); --accent: #fff; color: var(--fg); background: var(--teal); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr) + 8px); }
html.js { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--text); font-size: 17px; line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: clip;
  --fg: var(--ink); --fg-2: var(--ink-2); --fg-3: var(--ink-3); --line-c: var(--line); --card: #fff; --accent: var(--teal); }
body.lock { overflow: hidden; }
img, canvas, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
::selection { background: var(--teal); color: #fff; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
[hidden] { display: none !important; }

.wrap { width: min(var(--wrap), 100% - 2 * var(--gut)); margin-inline: auto; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; transition: top .2s; }
.skip:focus { top: 12px; }
.alt { background: var(--bg-2); }

/* ---------- type ---------- */
.disp, .h2, h3 { font-family: var(--head); }
.disp { font-weight: 700; line-height: 1.04; letter-spacing: -.025em; }
.h2 { font-weight: 700; font-size: clamp(30px, 3.4vw, 48px); line-height: 1.1; letter-spacing: -.02em; }
.lead { font-size: clamp(17px, 1.3vw, 19px); line-height: 1.6; max-width: 46ch; color: var(--fg-2); }
.body { color: var(--fg-2); max-width: 56ch; }
.note { font-size: 13px; line-height: 1.5; color: var(--fg-3); }

/* ---------- links + buttons ---------- */
.ulink { font-weight: 600; font-size: 15px; color: var(--fg); text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1.5px; text-decoration-color: var(--accent); transition: text-underline-offset .25s; }
.ulink:hover { text-underline-offset: 3px; }
.btn { display: inline-flex; align-items: center; justify-content: center; height: 52px; padding: 0 26px; border-radius: 10px; background: var(--teal); color: #fff; font-family: var(--head); font-weight: 600; font-size: 15px; white-space: nowrap; transition: background .2s, transform .2s; }
.btn:hover { background: var(--teal-h); }
.btn:active { transform: translateY(1px); }
.btn--sm { height: 42px; padding: 0 18px; font-size: 14px; }
.btn--wa { background: #1f8a55; }
.btn--wa:hover { background: #18723f; }
[data-theme="teal"] .btn { background: #fff; color: var(--teal-d); }
[data-theme="teal"] .btn:hover { background: var(--teal-l); }
.ctas { display: flex; align-items: center; gap: 16px 26px; flex-wrap: wrap; }

.seg { display: inline-flex; padding: 4px; border-radius: 10px; background: var(--card); border: 1px solid var(--line-c); }
.seg button { height: 34px; padding: 0 14px; border-radius: 7px; font-size: 14px; font-weight: 600; color: var(--fg-2); transition: background .2s, color .2s; }
.seg button.is-on { background: var(--ink); color: #fff; }
[data-theme="dark"] .seg button.is-on { background: #fff; color: var(--ink); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip, .chips button { height: 38px; padding: 0 16px; border-radius: 999px; border: 1px solid var(--line-c); background: var(--card); font-size: 14px; font-weight: 600; color: var(--fg-2); transition: color .2s, border-color .2s, background .2s; display: inline-flex; align-items: center; gap: 9px; }
.chip:hover, .chips button:hover { color: var(--fg); border-color: var(--fg-3); }
.chip.is-on, .chips button.is-on { background: var(--ink); color: #fff; border-color: var(--ink); }
[data-theme="dark"] .chips button.is-on { background: #fff; color: var(--ink); border-color: #fff; }

/* ---------- header ---------- */
.hdr { position: fixed; inset: 0 0 auto; z-index: 50; height: var(--hdr); color: var(--ink); transition: transform .5s var(--ease), background-color .3s, color .3s, box-shadow .3s; }
.hdr.on-dark { color: #fff; }
.hdr.is-solid { background: rgba(255, 255, 255, .94); box-shadow: 0 1px 0 var(--line); backdrop-filter: saturate(1.4) blur(8px); -webkit-backdrop-filter: saturate(1.4) blur(8px); }
.hdr.is-solid.on-dark { background: rgba(31, 36, 38, .94); box-shadow: 0 1px 0 rgba(255, 255, 255, .1); }
.hdr.is-hidden { transform: translateY(-100%); }
.hdr__in { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; position: relative; }
.brand__logo { display: block; height: 54px; width: auto; transition: opacity .25s; }
.brand__logo--light { position: absolute; left: 0; top: 50%; transform: translateY(-50%); opacity: 0; }
.hdr.on-dark .brand__logo { opacity: 0; }
.hdr.on-dark .brand__logo--light { opacity: 1; }
@media (max-width: 1000px) { .brand__logo { height: 42px; } }
.hdr__nav { display: flex; gap: 26px; font-size: 15px; font-weight: 600; }
.hdr__nav a { padding: 6px 0; opacity: .72; transition: opacity .2s; }
.hdr__nav a:hover, .hdr__nav a.is-here { opacity: 1; }
.hdr__nav a.is-here { box-shadow: inset 0 -2px 0 var(--teal); }
.hdr.on-dark .hdr__nav a.is-here { box-shadow: inset 0 -2px 0 var(--teal-2); }
.hdr__end { display: flex; align-items: center; gap: 20px; }
.hdr__tel { font-size: 15px; font-weight: 600; font-variant-numeric: tabular-nums; }
.langs { display: inline-flex; gap: 2px; font-size: 13px; font-weight: 700; letter-spacing: .04em; }
.langs button { padding: 6px 7px; opacity: .45; }
.langs button.is-on { opacity: 1; }
.burger { display: none; width: 44px; height: 44px; position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .4s var(--ease); }
.burger span:first-child { top: 17px; } .burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

.menu { position: fixed; inset: 0; z-index: 45; background: #fff; color: var(--ink); padding: calc(var(--hdr) + 20px) var(--gut) 28px; display: flex; flex-direction: column; justify-content: space-between;
  clip-path: inset(0 0 100% 0); visibility: hidden; transition: clip-path .55s var(--ease-io), visibility 0s .55s; }
.menu.is-open { clip-path: inset(0); visibility: visible; transition: clip-path .55s var(--ease-io), visibility 0s; }
.menu__nav { display: grid; }
.menu__nav a { font-family: var(--head); font-weight: 700; font-size: clamp(28px, 7.5vw, 40px); line-height: 1.2; border-bottom: 1px solid var(--line); padding: 10px 0; }
.menu__foot { display: grid; gap: 6px; font-size: 16px; font-weight: 600; }
.menu__foot .langs { margin-top: 10px; }
@media (max-width: 1180px) { .hdr__nav { gap: 18px; font-size: 14.5px; } .hdr__tel { display: none; } }
@media (max-width: 1000px) { .hdr__nav { display: none; } .burger { display: block; } .hdr__end .btn { display: none; } }

/* ---------- entrance + reveal ---------- */
html.js .ld { opacity: 0; transform: translateY(12px); }
html.is-ready .ld { opacity: 1; transform: none; transition: opacity .8s var(--ease) var(--d, 0s), transform .9s var(--ease) var(--d, 0s); }
.ln { display: block; overflow: hidden; padding: .06em 0; margin: -.06em 0; }
.ln > span { display: block; }
html.js .ln > span { transform: translateY(110%); }
html.is-ready .ln > span { transform: none; transition: transform 1.1s var(--ease) var(--d, 0s); }
html.js .rv { opacity: 0; transform: translateY(18px); }
html.js .rv.is-in { opacity: 1; transform: none; transition: opacity .8s var(--ease), transform .9s var(--ease); }

/* =========================================================
   Hero A: configurator (light; Evening switches it to dark)
   ========================================================= */
.hA { position: relative; min-height: 100svh; overflow: hidden; background: radial-gradient(120% 90% at 70% 60%, #ffffff 0%, var(--bg-2) 55%, #e4e7ec 100%); transition: background .6s; }
.hA[data-theme="dark"] { background: radial-gradient(120% 90% at 70% 60%, #2b3436 0%, #1c2224 60%, #141819 100%); }
.hA::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: linear-gradient(90deg, rgba(239, 240, 244, .92) 0%, rgba(239, 240, 244, .5) 32%, transparent 52%); transition: opacity .6s; }
.hA[data-theme="dark"]::before { background: linear-gradient(90deg, rgba(20, 24, 25, .85) 0%, rgba(20, 24, 25, .35) 34%, transparent 55%); }
.hA__scene { position: absolute; inset: 0; z-index: 0; }
.hA__scene canvas { position: relative; width: 100%; height: 100%; cursor: grab; touch-action: pan-y; }
.hA__poster { position: absolute; left: 40.2%; top: 29.2%; width: 55.5%; height: auto; pointer-events: none; transition: opacity .7s; }
html.has-3d .hA__poster { opacity: 0; }
html.no-3d .hA__ctrl, html.no-3d .dock__types, html.no-3d .dock__l[data-i18n="hA.type"] { display: none; }
.hA__scene.is-grab canvas { cursor: grabbing; }
.hA__in { position: relative; z-index: 2; min-height: 100svh; display: grid; grid-template-rows: 1fr auto; padding-top: calc(var(--hdr) + 9vh); padding-bottom: 32px; pointer-events: none; }
.hA__in > * { pointer-events: auto; }
.hA__copy { max-width: 600px; align-self: start; }
.hA__h1 { font-size: clamp(42px, 5vw, 76px); margin-bottom: 22px; }
.hA__copy .lead { margin-bottom: 30px; }
.hA__ctrl { position: absolute; top: calc(var(--hdr) + 22px); right: 0; display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 8px; max-width: 420px; }
.hA__hint { width: 100%; text-align: right; font-size: 13px; color: var(--fg-3); }
.hA__bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; pointer-events: none; }
.hA__bottom > * { pointer-events: auto; }
.dock__l { font-size: 13px; font-weight: 600; color: var(--fg-2); margin-bottom: 10px; }
.dock__types { margin-bottom: 18px; }
.dock__row { display: flex; gap: 10px; flex-wrap: wrap; }
.sw { position: relative; width: 48px; height: 48px; border-radius: 50%; padding: 3px; border: 1px solid var(--line-c); background: var(--card); transition: border-color .2s, transform .2s; }
.sw canvas { width: 100%; height: 100%; border-radius: 50%; }
.sw:hover { transform: translateY(-2px); }
.sw.is-on { border-color: var(--accent); box-shadow: 0 0 0 2px var(--accent); }
.sw::after { content: attr(data-name); position: absolute; left: 50%; bottom: calc(100% + 8px); transform: translateX(-50%); white-space: nowrap; pointer-events: none;
  background: var(--ink); color: #fff; font-size: 12px; font-weight: 600; padding: 5px 9px; border-radius: 6px; opacity: 0; transition: opacity .2s; }
.sw:hover::after, .sw:focus-visible::after { opacity: 1; }
.spec { width: 290px; padding: 18px 20px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line-c); box-shadow: var(--shadow); }
.spec__name { font-family: var(--head); font-weight: 700; font-size: 20px; line-height: 1.2; }
.spec__brand { color: var(--fg-2); font-size: 14px; margin-top: 2px; }
.spec__price { margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--line-c); font-size: 15px; font-variant-numeric: tabular-nums; color: var(--fg-2); }
.spec__price b { font-family: var(--head); font-size: 22px; color: var(--fg); }
.spec__price [data-i18n="price.vat"] { display: block; font-size: 13px; color: var(--fg-3); }
.spec__go { display: flex; align-items: center; justify-content: center; margin-top: 14px; height: 44px; border-radius: 10px; background: var(--teal); color: #fff; font-family: var(--head); font-weight: 600; font-size: 14px; transition: background .2s; }
.spec__go:hover { background: var(--teal-h); }

@media (max-width: 900px) {
  .hA { display: flex; flex-direction: column; }
  .hA::before { background: linear-gradient(180deg, rgba(239, 240, 244, .95) 0%, transparent 45%); }
  .hA[data-theme="dark"]::before { background: linear-gradient(180deg, rgba(20, 24, 25, .9) 0%, transparent 45%); }
  .hA__in { display: contents; }
  .hA__copy { order: 1; position: relative; z-index: 2; padding: calc(var(--hdr) + 22px) var(--gut) 0; }
  .hA__h1 { font-size: clamp(34px, 9.5vw, 56px); margin-bottom: 14px; }
  .hA__copy .lead { margin-bottom: 22px; }
  .hA__scene { order: 2; position: relative; height: 50svh; min-height: 320px; }
  .hA__poster { left: 50%; top: 52%; width: min(100%, 640px); transform: translate(-50%, -50%); }
  .hA__ctrl { order: 3; position: relative; top: auto; right: auto; z-index: 2; padding: 0 var(--gut); justify-content: flex-start; max-width: none; }
  .hA__hint { text-align: left; }
  .hA__bottom { order: 4; position: relative; z-index: 2; flex-direction: column; align-items: stretch; padding: 18px var(--gut) 34px; }
  .dock__row { flex-wrap: nowrap; overflow-x: auto; padding: 4px 4px 6px; scrollbar-width: none; }
  .sw { flex: 0 0 46px; width: 46px; height: 46px; }
  .sw::after { display: none; }
  .spec { width: 100%; }
}

/* =========================================================
   Facts
   ========================================================= */
.facts { padding: 30px 0; border-bottom: 1px solid var(--line); }
.facts__grid { display: grid; grid-template-columns: repeat(6, 1fr); }
.fact { display: flex; flex-direction: column; gap: 4px; padding: 12px 16px 12px 0; }
.fact + .fact { padding-left: 18px; border-left: 1px solid var(--line); }
.fact__n { font-family: var(--head); font-weight: 700; font-size: clamp(26px, 2.4vw, 36px); line-height: 1.1; letter-spacing: -.02em; color: var(--ink); font-variant-numeric: tabular-nums; }
.fact__n small { font-size: .5em; font-weight: 600; letter-spacing: 0; color: var(--ink-2); }
.fact__l { font-size: 14px; color: var(--ink-2); }
.fact:hover .fact__l { color: var(--teal); }
@media (max-width: 1100px) { .facts__grid { grid-template-columns: repeat(3, 1fr); row-gap: 12px; } .fact:nth-child(4) { border-left: 0; padding-left: 0; } }
@media (max-width: 600px) { .facts__grid { grid-template-columns: repeat(2, 1fr); } .fact:nth-child(n) { border-left: 0; padding-left: 0; } .fact:nth-child(even) { padding-left: 14px; border-left: 1px solid var(--line); } }

/* =========================================================
   Sections
   ========================================================= */
section.what, section.designs, section.order, section.why, section.process, section.projects, section.trust, section.faq, section.contact { padding: clamp(72px, 8vw, 120px) 0; }
.sec-head { display: grid; gap: 14px; margin-bottom: 40px; }
.sec-head--row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }

/* what it is */
.what__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 60px; align-items: center; }
.what__copy { display: grid; gap: 22px; }
.fn { border-top: 1px solid var(--line-c); }
.fn li { padding: 16px 12px 16px 0; border-bottom: 1px solid var(--line-c); transition: background .2s, padding .3s var(--ease); border-radius: 8px; }
.fn li:hover, .fn li.is-on { background: var(--teal-l); padding-left: 12px; }
.fn h3 { font-weight: 600; font-size: 17px; line-height: 1.35; }
.xsec svg { width: 100%; height: auto; overflow: visible; }
.xl { transition: transform 1s var(--ease), opacity .4s; }
.xsec.is-in .xl[data-layer="eps"] { transform: translate(14px, -7px); }
.xsec.is-in .xl[data-layer="tile"] { transform: translate(36px, -18px); }
.xsec.is-in .xl[data-layer="face"] { transform: translate(64px, -32px); }
.xsec[data-active] .xl { opacity: .3; }
.xsec[data-active="wall"] .xl[data-layer="wall"], .xsec[data-active="eps"] .xl[data-layer="eps"],
.xsec[data-active="tile"] .xl[data-layer="tile"], .xsec[data-active="face"] .xl[data-layer="face"] { opacity: 1; }
.xsec__lbl { transition: transform 1s var(--ease); }
.xsec.is-in .xsec__lbl { transform: translate(40px, -18px); }
.xsec__lbl line { stroke: var(--ink-2); stroke-width: 1; }
.xsec__lbl text { fill: var(--ink); font-family: var(--text); font-weight: 600; }
@media (max-width: 900px) { .what__grid { grid-template-columns: 1fr; } .xsec { max-width: 520px; } }

/* designs */
.des { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.des__list { display: grid; gap: 22px; justify-items: start; }
.des__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; width: 100%; }
.dcard { position: relative; aspect-ratio: 1; border-radius: 12px; overflow: hidden; text-align: left; transition: opacity .3s, transform .2s; box-shadow: var(--shadow); }
.dcard:hover { transform: translateY(-2px); }
.dcard canvas { width: 100%; height: 100%; object-fit: cover; }
.dcard span { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 9px 8px; font-size: 12.5px; font-weight: 700; line-height: 1.2; color: #fff; background: linear-gradient(transparent, rgba(0, 0, 0, .6)); }
.dcard.is-on { box-shadow: 0 0 0 3px var(--teal); }
.dcard.is-out { opacity: .15; pointer-events: none; }
.des__view { position: sticky; top: calc(var(--hdr) + 20px); display: grid; gap: 18px; padding: 16px; border-radius: 20px; background: #fff; box-shadow: var(--shadow); }
.des__big { aspect-ratio: 1.2; border-radius: 12px; overflow: hidden; background: var(--bg-3); }
.des__big canvas { width: 100%; height: 100%; object-fit: cover; transform: scale(1.35); transform-origin: 30% 40%; transition: opacity .3s; }
.des__big.swap canvas { opacity: .2; }
.des__info { display: grid; gap: 2px; padding: 0 6px 6px; }
.des__brand { font-size: 14px; font-weight: 600; color: var(--teal); }
.des__name { font-family: var(--head); font-weight: 700; font-size: clamp(24px, 2.2vw, 32px); line-height: 1.15; }
.des__acts { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; margin: 14px 0 8px; }
@media (max-width: 1000px) { .des { grid-template-columns: 1fr; } .des__view { position: relative; top: 0; order: -1; } }
@media (max-width: 560px) { .des__grid { grid-template-columns: repeat(2, 1fr); } .des__big { aspect-ratio: 1.5; } }

/* why */
.why__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: 60px; align-items: start; }
.why__list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.why__list li { display: grid; grid-template-columns: 34px 1fr; align-items: start; gap: 6px; padding: 18px 18px; border-radius: 12px; background: #fff; box-shadow: var(--shadow); font-family: var(--head); font-weight: 600; font-size: 17px; line-height: 1.35; }
.why__n { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--teal-l); color: var(--teal-d); font-size: 13px; font-weight: 700; }
@media (max-width: 900px) { .why__grid { grid-template-columns: 1fr; gap: 28px; } }
@media (max-width: 600px) { .why__list { grid-template-columns: 1fr; } }

/* process */
.process__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr); gap: 60px; align-items: start; }
.process__head { position: sticky; top: calc(var(--hdr) + 40px); display: grid; gap: 18px; justify-items: start; }
.steps { position: relative; --p: 0; }
.steps::before, .steps::after { content: ""; position: absolute; left: 21px; top: 22px; bottom: 22px; width: 2px; background: var(--bg-3); }
.steps::after { background: var(--teal); transform: scaleY(var(--p)); transform-origin: top; }
.step { position: relative; display: grid; grid-template-columns: 44px 1fr; gap: 22px; padding-bottom: 48px; }
.step:last-child { padding-bottom: 0; }
.step__n { position: relative; z-index: 1; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-family: var(--head); font-size: 15px; font-weight: 700; background: #fff; border: 2px solid var(--bg-3); color: var(--ink-2); transition: background .4s, color .4s, border-color .4s; }
.step.is-on .step__n { background: var(--teal); color: #fff; border-color: var(--teal); }
.step h3 { font-weight: 700; font-size: clamp(20px, 1.8vw, 24px); line-height: 1.25; margin: 8px 0 6px; }
.step p { color: var(--fg-2); max-width: 46ch; }
@media (max-width: 900px) { .process__grid { grid-template-columns: 1fr; } .process__head { position: relative; top: 0; } }

/* projects */
.car__nav { display: flex; gap: 10px; }
.car__btn { width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; transition: background .2s, color .2s, border-color .2s; }
.car__btn:hover { background: var(--teal); border-color: var(--teal); color: #fff; }
.car__btn svg { width: 22px; height: 10px; fill: none; stroke: currentColor; stroke-width: 1.5; }
.sec-head__txt { display: grid; gap: 12px; }
.des__joint { margin-top: 22px; padding-left: 14px; border-left: 3px solid var(--teal); font-family: var(--head); font-weight: 600; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.4; max-width: 34ch; }
.car { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; cursor: grab; padding-bottom: 6px; user-select: none;
  padding-inline: max(var(--gut), (100vw - var(--wrap)) / 2); scroll-padding-inline: max(var(--gut), (100vw - var(--wrap)) / 2); }
.car::-webkit-scrollbar { display: none; }
.car.is-drag { cursor: grabbing; scroll-snap-type: none; }
.car.is-drag * { pointer-events: none; }
.pcard { position: relative; flex: 0 0 clamp(260px, 28vw, 370px); scroll-snap-align: start; }
.pcard__img { position: relative; aspect-ratio: 4 / 5; border-radius: 14px; overflow: hidden; background: var(--bg-3); }
.pcard__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); -webkit-user-drag: none; }
.pcard:hover .pcard__img img { transform: scale(1.04); }
.pcard__tag, .pcard__n { position: absolute; font-size: 12px; font-weight: 700; padding: 5px 9px; border-radius: 6px; }
.pcard__tag { left: 12px; top: 12px; background: #fff; color: var(--ink); }
.pcard__n { right: 12px; bottom: 12px; background: rgba(20, 20, 19, .6); color: #fff; backdrop-filter: blur(6px); }
.pcard h3 { font-weight: 700; font-size: 17px; line-height: 1.35; margin-top: 14px; }
.pcard__open { font: inherit; color: inherit; text-align: left; background: none; border: 0; padding: 0; cursor: pointer; }
.pcard__open::after { content: ""; position: absolute; inset: 0; border-radius: 14px; }
.pcard__open:focus-visible { outline: none; }
.pcard__open:focus-visible::after { outline: 2px solid var(--teal); outline-offset: 4px; }
.pcard__mat { font-size: 14px; font-weight: 600; color: var(--teal-d); margin-top: 4px; }

/* project gallery */
html.lb-open { overflow: hidden; }
.lb { width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; padding: clamp(16px, 3vw, 40px); border: 0; background: transparent; color: var(--ink); }
.lb[open] { display: grid; place-items: center; }
.lb::backdrop { background: rgba(18, 18, 17, .86); }
.lb__box { position: relative; width: min(1280px, 100%); height: min(860px, 100%); display: grid; grid-template-columns: minmax(0, 1fr) 360px; border-radius: 18px; overflow: hidden; background: #fff; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .5); }
.lb__media { position: relative; min-height: 0; overflow: hidden; background: #151514; }
.lb__track { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.lb__track::-webkit-scrollbar { display: none; }
.lb__slide { position: relative; flex: 0 0 100%; min-width: 0; overflow: hidden; scroll-snap-align: center; }
.lb__bg { position: absolute; inset: -48px; background: center / cover no-repeat; filter: blur(34px) saturate(1.15) brightness(.5); transform: scale(1.1); pointer-events: none; } /* the photo's own colours fill the box, whatever its shape */
.lb__slide img { position: relative; width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 16px 40px rgba(0, 0, 0, .45)); -webkit-user-drag: none; }
.lb__nav { position: absolute; top: 50%; width: 48px; height: 48px; margin-top: -24px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); color: var(--ink); display: grid; place-items: center; transition: opacity .2s, background .2s; }
.lb__nav:hover { background: #fff; }
.lb__nav--prev { left: 16px; }
.lb__nav--next { right: 16px; }
.lb__nav:disabled { opacity: 0; pointer-events: none; }
.lb__nav svg { width: 22px; height: 10px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.lb__count { position: absolute; left: 16px; bottom: 16px; font-size: 13px; font-weight: 700; padding: 5px 10px; border-radius: 6px; background: rgba(0, 0, 0, .5); color: #fff; }
.lb.is-single .lb__nav, .lb.is-single .lb__count { display: none; }
.lb__info { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; padding: 64px 28px 28px; overflow-y: auto; }
.lb__kind { font-size: 12.5px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--teal-d); }
.lb__info h3 { font-family: var(--head); font-weight: 700; font-size: 24px; line-height: 1.25; }
.lb__desc { color: var(--ink-2); }
.lb__mat { align-self: stretch; display: grid; border-top: 1px solid var(--line); }
.lb__mat div { display: grid; gap: 2px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.lb__mat dt { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.lb__mat dd { font-family: var(--head); font-weight: 600; }
.lb__prices { display: grid; gap: 8px; }
.lb__prices:empty { display: none; }
.lb__info .btn { margin-top: auto; }
.lb__close { position: absolute; right: 14px; top: 14px; z-index: 2; width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: #fff; color: var(--ink); display: grid; place-items: center; }
.lb__close svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; }
@media (max-width: 820px) {
  .lb { padding: 0; }
  .lb__box { width: 100%; height: 100%; border-radius: 0; grid-template-columns: 1fr; grid-template-rows: 56svh minmax(0, 1fr); }
  .lb__info { padding: 22px 20px 28px; }
  .lb__info .btn { margin-top: 6px; }
  .lb__nav { width: 40px; height: 40px; margin-top: -20px; }
  .lb__nav--prev { left: 10px; }
  .lb__nav--next { right: 10px; }
}

/* real photos: a panel in "what is", installation under the process */
.what__photo { display: grid; gap: 10px; }
.what__pics { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.what__pics img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 14px; }
.what__photo figcaption, .process__photos figcaption { font-size: 14px; color: var(--fg-2); }
.process__photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.process__photos figure { display: grid; gap: 10px; }
.process__photos img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 14px; }
@media (max-width: 700px) {
  .process__photos { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
  .process__photos::-webkit-scrollbar { display: none; }
  .process__photos figure { flex: 0 0 72%; scroll-snap-align: start; }
  .process__photos img { aspect-ratio: 4 / 5; }
}
@media (max-width: 640px) { .car__nav { display: none; } }

/* warranty */
.trust .h2 { margin-bottom: 32px; }
.trust__list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.trust__list li { padding: 26px 24px; border-radius: 14px; background: var(--bg-2); font-family: var(--head); font-weight: 700; font-size: clamp(18px, 1.6vw, 22px); line-height: 1.3; border-top: 4px solid var(--teal); }
.bw { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 16px 40px; align-items: center; margin-top: 12px; padding: 24px 28px; border-radius: 14px; border: 1px solid var(--line); }
.bw__mark { font-family: var(--head); font-weight: 800; font-size: 22px; letter-spacing: .08em; text-transform: uppercase; display: flex; gap: 5px; align-items: flex-start; }
.bw__mark i { width: 8px; height: 8px; background: #ffe500; box-shadow: inset 0 0 0 1px var(--ink); margin-top: 4px; }
@media (max-width: 900px) { .trust__list { grid-template-columns: 1fr; } .bw { grid-template-columns: 1fr; } }

/* technical information */
section.specs { padding: clamp(72px, 8vw, 120px) 0; }
.specs__grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 24px 48px; align-items: start; }
.specs__head { grid-column: 1 / -1; display: grid; gap: 12px; margin-bottom: 8px; }
.specs__list { display: grid; border-top: 1px solid var(--line); }
.specs__list div { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 4px 24px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.specs__list dt { font-family: var(--head); font-weight: 600; font-size: 15px; }
.specs__list dd { color: var(--ink-2); }
.nw { white-space: nowrap; }
.cert { position: sticky; top: calc(var(--hdr) + 20px); display: grid; gap: 12px; padding: 24px; border-radius: var(--r); background: #fff; box-shadow: var(--shadow); border-top: 4px solid var(--teal); }
.cert h3 { font-weight: 700; font-size: 20px; }
.cert__list { display: grid; gap: 6px; margin-bottom: 6px; }
.cert__list li { display: flex; gap: 10px; align-items: baseline; font-size: 15px; }
.cert__list li::before { content: ""; width: 8px; height: 8px; border-radius: 2px; background: var(--teal); flex-shrink: 0; }
@media (max-width: 900px) { .specs__grid { grid-template-columns: 1fr; } .specs__list div { grid-template-columns: 1fr; } .cert { position: relative; top: 0; } }
@media (max-width: 560px) { .dims__row { grid-template-columns: 1fr 1fr; } }

/* faq */
.faq__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 60px; align-items: start; }
.faq__head { position: sticky; top: calc(var(--hdr) + 40px); display: grid; gap: 20px; }
.search { display: flex; align-items: center; gap: 12px; height: 54px; padding: 0 18px; border-radius: 12px; background: #fff; border: 1px solid var(--line); transition: border-color .2s, box-shadow .2s; }
.search:focus-within { border-color: var(--teal); box-shadow: 0 0 0 4px var(--teal-l); }
.search svg { width: 19px; height: 19px; fill: none; stroke: var(--ink-2); stroke-width: 1.8; flex-shrink: 0; }
.search input { flex: 1; min-width: 0; border: 0; background: none; font-size: 16px; outline: none; color: var(--ink); }
.faq__none { color: var(--ink-2); }
.faq__list { display: grid; gap: 8px; }
.qa { border-radius: 12px; background: #fff; box-shadow: var(--shadow); padding: 0 20px; }
.qa summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 20px; align-items: center; padding: 18px 0; font-family: var(--head); font-weight: 600; font-size: clamp(16px, 1.3vw, 18px); line-height: 1.4; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: "+"; flex-shrink: 0; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--teal-l); color: var(--teal-d); font-size: 18px; font-weight: 600; line-height: 1; transition: transform .3s var(--ease); }
.qa[open] summary::after { transform: rotate(45deg); }
.qa summary:hover { color: var(--teal); }
.qa__a { overflow: hidden; }
.qa__a p { padding: 0 40px 20px 0; color: var(--ink-2); max-width: 62ch; }
@media (max-width: 900px) { .faq__grid { grid-template-columns: 1fr; gap: 28px; } .faq__head { position: relative; top: 0; } .qa__a p { padding-right: 0; } }

/* contact */
.contact__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 40px 60px; align-items: center; }
.ccards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ccard { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; padding: 22px 20px; border-radius: 14px; background: rgba(255, 255, 255, .1); border: 1px solid rgba(255, 255, 255, .22); color: #fff; transition: background .2s, transform .2s; }
a.ccard:hover { background: rgba(255, 255, 255, .18); transform: translateY(-2px); }
.ccard__ic { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: #fff; margin-bottom: 10px; }
.ccard__ic svg { width: 21px; height: 21px; fill: none; stroke: var(--teal-d); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.ccard__k { font-size: 13px; font-weight: 600; color: rgba(255, 255, 255, .78); }
.ccard__v { font-family: var(--head); font-weight: 600; font-size: clamp(16px, 1.35vw, 19px); line-height: 1.35; overflow-wrap: anywhere; }
div.ccard a.ccard__v:hover { text-decoration: underline; text-underline-offset: 4px; }
.ccard__s { font-size: 14px; color: rgba(255, 255, 255, .78); }
@media (max-width: 1100px) { .contact__grid { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .ccards { grid-template-columns: 1fr; } }
.contact__copy { display: grid; gap: 20px; justify-items: start; }
.lines { display: grid; gap: 18px; }
.lines li { display: grid; gap: 2px; }
.lines__k { font-size: 13px; font-weight: 600; color: var(--fg-2); }
.lines a { font-family: var(--head); font-weight: 600; font-size: clamp(20px, 1.9vw, 26px); line-height: 1.3; width: fit-content; }
.lines a:hover { text-decoration: underline; text-underline-offset: 5px; }
@media (max-width: 900px) { .contact__grid { grid-template-columns: 1fr; gap: 36px; } }

/* footer */
.ftr { padding: 26px 0; border-top: 1px solid var(--line); background: #fff; }
.ftr__row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 10px 24px; font-size: 14px; color: var(--ink-2); }
.ftr__logo { height: 40px; width: auto; }
.ftr__row a:hover { color: var(--teal); }

/* =========================================================
   How to order: catalog, price finder, request
   ========================================================= */
.ojump { display: flex; flex-wrap: wrap; gap: 8px; margin: -12px 0 32px; }
.ojump a { display: inline-flex; align-items: center; gap: 10px; height: 46px; padding: 0 18px 0 7px; border-radius: 999px; background: var(--bg-2); font-family: var(--head); font-weight: 600; font-size: 15px; transition: background .2s; }
.ojump a:hover { background: var(--teal-l); }
.ojump b { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--teal); color: #fff; font-size: 14px; }
.ostep { padding: 36px 0 40px; border-top: 1px solid var(--line); scroll-margin-top: calc(var(--hdr) + 12px); }
.ostep__head { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 18px; align-items: start; max-width: 780px; }
.ostep__n { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--teal); color: #fff; font-family: var(--head); font-weight: 700; font-size: 18px; }
.ostep h3 { font-weight: 700; font-size: clamp(22px, 2.1vw, 30px); line-height: 1.2; margin: 6px 0 8px; letter-spacing: -.01em; }
.ostep__head p { color: var(--ink-2); max-width: 62ch; }
.ostep__acts { display: flex; align-items: center; gap: 16px 26px; flex-wrap: wrap; margin: 22px 0 0 66px; }
.cat { margin-top: 22px; border-radius: var(--r); overflow: hidden; background: var(--bg-2); border: 1px solid var(--line); }
.cat iframe { display: block; width: 100%; height: min(86svh, 900px); border: 0; }

.pf { margin-top: 24px; display: grid; gap: 16px; }
.pf__bar { display: grid; grid-template-columns: minmax(0, 1fr) 210px 210px; gap: 10px; }
.select { height: 54px; padding: 0 16px; border-radius: 12px; border: 1px solid var(--line); background: #fff; font-size: 15px; font-weight: 600; color: var(--ink); }
.select:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px var(--teal-l); }
.pf__ins { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.pf__k { font-size: 14px; font-weight: 600; color: var(--ink-2); }
.pf__meta { font-size: 14px; color: var(--ink-2); }
.pf__list { display: grid; gap: 8px; }
.pf__item { display: grid; grid-template-columns: minmax(180px, 270px) minmax(0, 1fr); gap: 10px 24px; padding: 16px 18px; border-radius: 12px; background: var(--bg-2); align-items: start; }
.pf__name { font-family: var(--head); font-weight: 700; font-size: 16px; line-height: 1.3; }
.pf__sub { font-size: 13.5px; color: var(--ink-2); margin-top: 2px; }
.pf__prices { display: flex; flex-wrap: wrap; gap: 6px; }
.pc { display: grid; gap: 1px; min-width: 78px; padding: 7px 10px; border-radius: 8px; border: 1px solid transparent; background: #fff; text-align: left; transition: border-color .15s, background .15s, color .15s; }
.pc small { font-size: 12px; color: var(--ink-2); }
.pc b { font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; }
.pc:hover { border-color: var(--teal); }
.pc.is-on { background: var(--teal); color: #fff; }
.pc.is-on small { color: rgba(255, 255, 255, .8); }
.pf__more { justify-self: start; }
.pf__src { margin-top: 14px; }

.pick { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 28px; margin-top: 20px; padding: clamp(20px, 3vw, 32px); border-radius: var(--r); background: var(--teal-l); border: 1px solid rgba(75, 121, 118, .25); }
.pick__k { font-size: 13px; font-weight: 600; color: var(--teal-d); }
.pick__name { font-family: var(--head); font-weight: 700; font-size: clamp(22px, 2.2vw, 30px); line-height: 1.2; margin-top: 4px; }
.pick__sub { color: var(--ink-2); margin-top: 6px; }
.pick__calc { display: grid; gap: 14px; }
.fld { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.fld__l { font-size: 15px; font-weight: 600; color: var(--ink-2); }
.fld__num { display: inline-flex; align-items: baseline; gap: 8px; font-size: 15px; color: var(--ink-2); }
.fld__num input { width: 4.4em; border: 0; border-bottom: 2px solid rgba(75, 121, 118, .35); background: none; padding: 2px 0; font-family: var(--head); font-weight: 700; font-size: clamp(24px, 2.2vw, 30px); text-align: right; color: var(--ink); -moz-appearance: textfield; }
.fld__num input::-webkit-inner-spin-button { -webkit-appearance: none; }
.fld__num input:focus { outline: none; border-bottom-color: var(--teal); }
.range { -webkit-appearance: none; appearance: none; width: 100%; height: 28px; background: none; cursor: pointer; --fill: 20%; }
.range::-webkit-slider-runnable-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--teal) var(--fill), rgba(75, 121, 118, .2) var(--fill)); }
.range::-moz-range-track { height: 4px; border-radius: 4px; background: linear-gradient(90deg, var(--teal) var(--fill), rgba(75, 121, 118, .2) var(--fill)); }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 24px; height: 24px; margin-top: -10px; border-radius: 50%; background: #fff; border: 2px solid var(--teal); box-shadow: var(--shadow); }
.range::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 2px solid var(--teal); }
.calc__dl { display: grid; border-top: 1px solid rgba(75, 121, 118, .25); }
.calc__dl div { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid rgba(75, 121, 118, .25); font-size: 15px; }
.calc__dl dt { color: var(--ink-2); }
.calc__dl dd { font-weight: 600; font-variant-numeric: tabular-nums; text-align: right; }
.calc__tot dd { font-family: var(--head); font-size: 20px; font-weight: 700; color: var(--teal-d); }
.calc__warn { font-size: 14px; font-weight: 600; color: var(--clay); }
.pick .btn { justify-self: start; }
.pick__help { justify-self: start; font-size: 14px; }
.dims { display: grid; gap: 10px; padding: 14px; border-radius: 12px; background: rgba(255, 255, 255, .65); }
.dims__row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.dims .in input { padding: 10px 12px; }
.pick__acts { display: flex; align-items: center; gap: 12px 22px; flex-wrap: wrap; }
.pick__shared { font-size: 13px; font-weight: 600; color: var(--teal-d); overflow-wrap: anywhere; }

.form { display: grid; gap: 20px; margin-top: 22px; padding: clamp(20px, 3vw, 34px); border-radius: var(--r); background: var(--bg-2); }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.in { display: grid; gap: 6px; }
.in span { font-size: 13px; font-weight: 600; color: var(--ink-2); }
.in input, .in textarea, .in select { width: 100%; border: 1px solid var(--line); border-radius: 10px; background: #fff; padding: 12px 14px; font-size: 16px; color: var(--ink); resize: vertical; transition: border-color .2s, box-shadow .2s; }
.in select { height: 48px; padding: 0 12px; }
.in input:focus, .in textarea:focus, .in select:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px var(--teal-l); }
.in.is-bad input { border-color: #c4502f; box-shadow: 0 0 0 3px rgba(196, 80, 47, .12); }
.form__foot { display: flex; align-items: center; gap: 12px 14px; flex-wrap: wrap; margin-top: 4px; }
.form__msg { font-size: 14px; font-weight: 600; color: var(--teal-d); }

@media (max-width: 900px) {
  .pf__bar { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .pf__bar .search { grid-column: 1 / -1; }
  .pf__item { grid-template-columns: 1fr; }
  .pick { grid-template-columns: 1fr; }
  .ostep__acts { margin-left: 0; }
  .ostep__head { grid-template-columns: 40px minmax(0, 1fr); gap: 14px; }
  .ostep__n { width: 40px; height: 40px; font-size: 16px; }
  .cat iframe { height: 75svh; }
}
@media (max-width: 560px) { .pf__bar { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .form__row { grid-template-columns: 1fr; } }

/* request: summary card + form */
.req { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 20px; margin-top: 22px; align-items: start; }
.req .form { margin-top: 0; }
.req__sum { position: sticky; top: calc(var(--hdr) + 20px); display: grid; gap: 6px; padding: 22px; border-radius: var(--r); background: var(--teal-l); border: 1px solid rgba(75, 121, 118, .25); }
.req__k { font-size: 13px; font-weight: 600; color: var(--teal-d); }
.req__name { font-family: var(--head); font-weight: 700; font-size: 20px; line-height: 1.25; }
.req__sub { color: var(--ink-2); font-size: 15px; }
.req__est { font-weight: 700; color: var(--teal-d); margin-top: 4px; }
.req__acts { display: flex; gap: 18px; margin-top: 10px; }
.opt { border: 0; margin: 0; padding: 0; display: grid; gap: 8px; min-width: 0; }
.opt legend { padding: 0; margin-bottom: 8px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.opt__row { display: flex; flex-wrap: wrap; gap: 8px; }
.opt label { position: relative; cursor: pointer; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt span { display: inline-flex; align-items: center; height: 42px; padding: 0 16px; border-radius: 10px; border: 1px solid var(--line); background: #fff; font-size: 15px; font-weight: 600; color: var(--ink-2); transition: border-color .15s, background .15s, color .15s; }
.opt label:hover span { border-color: var(--teal); color: var(--ink); }
.opt input:checked + span { background: var(--teal); border-color: var(--teal); color: #fff; }
.opt input:focus-visible + span { outline: 2px solid var(--teal); outline-offset: 2px; }
@media (max-width: 900px) { .req { grid-template-columns: 1fr; } .req__sum { position: relative; top: 0; } }

/* ---------- mobile action bar ---------- */
.mbar { display: none; }
@media (max-width: 760px) {
  .mbar { position: fixed; left: 10px; right: 10px; bottom: 10px; z-index: 40; display: grid; grid-template-columns: 1fr 2fr; gap: 6px; padding: 6px; border-radius: 14px; background: #fff; box-shadow: 0 10px 30px rgba(42, 41, 39, .18); border: 1px solid var(--line);
    transform: translateY(140%); transition: transform .5s var(--ease); }
  .mbar.is-on { transform: none; }
  .mbar a { height: 46px; display: grid; place-items: center; border-radius: 10px; font-family: var(--head); font-weight: 600; font-size: 14.5px; }
  .mbar__tel { color: #fff; background: #1f8a55; }
  .mbar__go { background: var(--teal); color: #fff; }
  .ftr { padding-bottom: 90px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  html.js { scroll-behavior: auto; }
}
