/* =========================================================
   Maler – prototype fra Klartil
   Lys, skandinavisk stil: kalkhvit, dyp blågrønn og terrakotta. Bytt --brand og --accent for firmaets egne farger.
   ========================================================= */
:root {
  --bg: #fbfaf6;
  --paper: #ffffff;
  --soft: #f1ede4;
  --ink: #1d1f22;
  --ink-2: #41454b;
  --muted: #6e7278;
  --line: #e6e1d6;
  --brand: #1e5a55;
  --brand-2: #2a706a;
  --brand-soft: #e3eeec;
  --accent: #c8643b;
  --accent-2: #d97a52;
  --dark: #17302d;
  --ok: #1f7a3d;
  --danger: #b3261e;
  --radius: 16px;
  --display: "Jost", system-ui, sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --shadow: 0 1px 2px rgba(0,0,0,.05), 0 16px 40px rgba(30,40,38,.1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.65 var(--body); -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.06; }
h1, h2 { font-family: var(--display); font-weight: 500; letter-spacing: -.02em; }
p { margin: 0; }
.wrap { max-width: 1180px; margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left)); padding-right: max(20px, env(safe-area-inset-right)); }
.skip { position: absolute; left: -999px; top: 8px; background: var(--accent); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
.muted { color: var(--muted); }
.small { font-size: .86rem; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.proto-badge { background: var(--brand); color: #fff; font-size: .8rem; font-weight: 600; text-align: center; padding: 6px 16px; }

/* Knapper */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1.5px solid transparent; border-radius: 999px; padding: 11px 22px; font: 600 .95rem/1.2 var(--body); cursor: pointer; text-decoration: none; transition: transform .15s, background .15s, border-color .15s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--accent-2); }
.btn--dark { background: var(--brand); color: #fff; }
.btn--dark:hover { background: var(--brand-2); }
.btn--ghost { background: #fff; border-color: var(--line); color: var(--ink); }
.btn--lg { padding: 15px 28px; font-size: 1rem; }
.btn--block { width: 100%; }

/* Meny */
.header { position: sticky; top: 0; z-index: 40; background: rgba(251,250,246,.94); backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.header__in { display: flex; align-items: center; gap: 22px; min-height: 70px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font: 600 1.35rem/1 var(--display); letter-spacing: -.01em; }
.logo__mark { width: 38px; height: 38px; border-radius: 11px; background: var(--brand); color: var(--accent); display: grid; place-items: center; flex: none; }
.logo__mark svg { width: 22px; height: 22px; fill: #f3efe7; }
.logo__mark svg rect:last-child { fill: var(--accent); }
.nav { display: flex; gap: 2px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 500; font-size: .93rem; padding: 8px 12px; border-radius: 999px; color: var(--ink-2); }
.nav a:hover { background: var(--soft); color: var(--ink); }
.header__phone { text-decoration: none; font-weight: 700; font-size: .95rem; color: var(--brand); }
.menu-btn { display: none; width: 44px; height: 44px; border: 0; background: none; padding: 10px; cursor: pointer; }
.menu-btn span { display: block; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; }

/* Forside */
.hero__in { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; padding-top: 56px; padding-bottom: 84px; }
.eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.hero h1 { font-size: clamp(3rem, 6.8vw, 5.6rem); }
.hero h1 em { font-style: normal; color: var(--brand); }
.lead { font-size: 1.12rem; color: var(--ink-2); max-width: 50ch; margin-top: 22px; }
.hero__ask { margin-top: 30px; }
.hero__ask > p { font-weight: 700; margin-bottom: 10px; }
.hero__chips { display: flex; gap: 10px; flex-wrap: wrap; }
.chip-btn { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; background: var(--brand); color: #fff; font-weight: 600; padding: 13px 20px; border-radius: 999px; transition: transform .15s, background .15s; }
.chip-btn:hover { background: var(--brand-2); transform: translateY(-2px); }
.chip-btn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.chip-btn--ghost { background: #fff; color: var(--ink); border: 1.5px solid var(--line); }
.chip-btn--ghost:hover { background: #fff; border-color: var(--ink); }
.hero__trust { list-style: none; padding: 0; margin: 36px 0 0; display: flex; gap: 32px; flex-wrap: wrap; border-top: 1px solid var(--line); padding-top: 22px; }
.hero__trust strong { display: block; font: 600 1.4rem/1.1 var(--display); color: var(--brand); }
.hero__trust span { font-size: .85rem; color: var(--muted); }
.hero__media { position: relative; }
.hero__media > img { width: 100%; aspect-ratio: 5 / 5.4; object-fit: cover; object-position: 88% center; border-radius: 200px 200px 24px 24px; box-shadow: var(--shadow); }
.hero__swatch { position: absolute; left: -22px; bottom: 40px; display: grid; gap: 6px; background: #fff; padding: 10px; border-radius: 14px; box-shadow: var(--shadow); }
.hero__swatch span { width: 44px; height: 30px; border-radius: 6px; background: var(--c); }
.hero__rating { position: absolute; right: -10px; top: 46px; background: #fff; border-radius: 16px; padding: 12px 16px; display: flex; gap: 10px; align-items: center; box-shadow: var(--shadow); }
.hero__rating strong { font: 600 2rem/1 var(--display); color: var(--brand); }
.hero__rating span { font-size: .78rem; line-height: 1.3; color: var(--muted); }

/* Seksjoner */
.section { padding: 96px 0; }
.section--soft { background: var(--soft); }
.section--dark { background: var(--dark); color: #fff; }
.section--dark .eyebrow { color: #e7a07f; }
.section__head { max-width: 680px; margin-bottom: 40px; }
.section h2 { font-size: clamp(2.1rem, 4.2vw, 3.3rem); }
.section__head p:not(.eyebrow), .section__lead { color: var(--muted); margin-top: 14px; font-size: 1.08rem; max-width: 56ch; }
.section--dark .section__lead { color: rgba(255,255,255,.72); }

/* Tjenester */
.feature-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.fcard { background: var(--paper); border-radius: 20px; overflow: hidden; border: 1px solid var(--line); display: grid; grid-template-rows: auto 1fr; transition: transform .2s, box-shadow .2s; }
.fcard:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.fcard img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.fcard__body { padding: 22px 24px 24px; display: grid; gap: 8px; align-content: start; }
.fcard h3 { font: 600 1.35rem/1.15 var(--display); }
.fcard p { color: var(--muted); font-size: .95rem; }
.fcard__price { margin-top: 6px; font-size: .9rem; color: var(--brand); }
.services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 20px; }
.service { display: flex; gap: 14px; align-items: start; background: var(--paper); border: 1px solid var(--line); border-radius: 16px; padding: 18px; }
.service__icon { width: 42px; height: 42px; border-radius: 12px; background: var(--brand-soft); display: grid; place-items: center; flex: none; }
.service__icon svg { width: 22px; height: 22px; fill: none; stroke: var(--brand); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.service h3 { font: 600 1.05rem/1.2 var(--display); margin-bottom: 4px; }
.service p { color: var(--muted); font-size: .88rem; }

/* Fargevelger */
.colors { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.colors__stage { background: var(--paper); border-radius: 24px; padding: 18px; box-shadow: var(--shadow); }
.scene-tabs { display: inline-grid; grid-auto-flow: column; gap: 4px; background: var(--soft); border-radius: 999px; padding: 4px; margin-bottom: 14px; }
.scene-tabs--wide { display: grid; grid-template-columns: 1fr 1fr; width: 100%; margin-bottom: 20px; }
.scene-tabs button { border: 0; background: transparent; border-radius: 999px; padding: 9px 18px; font: 600 .9rem var(--body); color: var(--ink-2); cursor: pointer; }
.scene-tabs button[aria-selected="true"] { background: #fff; color: var(--brand); box-shadow: 0 1px 3px rgba(0,0,0,.1); }
.scene svg { width: 100%; height: auto; border-radius: 16px; }
.scene .wall { transition: fill .35s; }
.scene__name { margin-top: 12px; font-weight: 600; display: flex; justify-content: space-between; }
.scene__name small { color: var(--muted); font-weight: 400; }
.swatches { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 26px 0 14px; }
.swatch { border: 0; padding: 0; background: none; cursor: pointer; text-align: left; font: inherit; color: inherit; }
.swatch i { display: block; aspect-ratio: 1 / .8; border-radius: 12px; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0,0,0,.08); transition: transform .15s; }
.swatch span { display: block; font-size: .78rem; font-weight: 600; margin-top: 6px; line-height: 1.2; }
.swatch:hover i { transform: translateY(-2px); }
.swatch[aria-checked="true"] i { box-shadow: 0 0 0 3px var(--bg), 0 0 0 5px var(--brand); }

/* Kalkulator */
.calc-wrap { display: grid; grid-template-columns: .85fr 1.15fr; gap: 56px; align-items: start; }
.calc-points { list-style: none; padding: 0; margin: 26px 0; display: grid; gap: 10px; }
.calc-points li { display: flex; gap: 10px; align-items: center; font-weight: 500; }
.calc-points svg { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--brand); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.calc-img { border-radius: 20px; aspect-ratio: 16 / 10; object-fit: cover; width: 100%; }
.card { background: var(--paper); color: var(--ink); border: 1px solid var(--line); border-radius: 22px; padding: 28px; box-shadow: var(--shadow); }
.bk-label { font-weight: 700; font-size: .92rem; margin: 18px 0 10px; }
.rooms { display: grid; gap: 6px; }
.room { display: grid; grid-template-columns: auto 1fr auto; gap: 12px; align-items: center; padding: 8px 10px; border-radius: 12px; border: 1px solid var(--line); }
.room.has-count { border-color: var(--brand); background: var(--brand-soft); }
.room svg { width: 22px; height: 22px; fill: none; stroke: var(--brand); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.room span small { display: block; color: var(--muted); font-size: .78rem; }
.stepper { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; overflow: hidden; background: #fff; }
.stepper button { width: 34px; height: 32px; border: 0; background: #fff; font: 700 1.1rem var(--body); color: var(--brand); cursor: pointer; }
.stepper button:hover { background: var(--soft); }
.stepper button:disabled { color: #c9ccc8; cursor: default; }
.stepper output { min-width: 28px; text-align: center; font-weight: 700; font-variant-numeric: tabular-nums; }
.toggles { display: flex; flex-wrap: wrap; gap: 8px; }
.toggle { display: inline-flex; align-items: center; gap: 8px; border: 1.5px solid var(--line); border-radius: 999px; padding: 8px 14px; font-weight: 600; font-size: .9rem; cursor: pointer; }
.toggle:has(input:checked) { border-color: var(--brand); background: var(--brand-soft); color: var(--brand); }
.toggle input { accent-color: var(--brand); width: 16px; height: 16px; margin: 0; }
.range-field { display: grid; gap: 10px; }
.range-field span { display: flex; justify-content: space-between; font-weight: 600; }
.range-field strong { font: 600 1.3rem var(--display); color: var(--brand); }
input[type="range"] { width: 100%; accent-color: var(--brand); height: 28px; }
.opts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.opts--4 { grid-template-columns: repeat(4, 1fr); }
.opt { display: grid; gap: 2px; text-align: left; border: 1.5px solid var(--line); border-radius: 12px; padding: 10px 12px; background: #fff; cursor: pointer; font: inherit; color: inherit; }
.opt:hover { border-color: var(--ink); }
.opt[aria-checked="true"] { border-color: var(--brand); background: var(--brand-soft); box-shadow: 0 0 0 1.5px var(--brand); }
.opt strong { font-size: .92rem; }
.opt small { color: var(--muted); font-size: .76rem; line-height: 1.3; }
.inline-step { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 18px; padding: 12px 14px; border: 1px solid var(--line); border-radius: 12px; }
.inline-step small { display: block; color: var(--muted); font-size: .8rem; }
.estimate { background: var(--dark); color: #fff; border-radius: 16px; padding: 18px 20px; margin: 22px 0; }
.estimate__label { font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.65); }
.estimate__price { font: 600 clamp(1.9rem, 4.6vw, 2.5rem)/1.1 var(--display); color: #f0b393; margin: 2px 0 6px; }
.estimate ul { list-style: none; padding: 10px 0 0; margin: 0; display: grid; gap: 4px; font-size: .88rem; color: rgba(255,255,255,.82); border-top: 1px solid rgba(255,255,255,.12); }
.estimate li { display: flex; justify-content: space-between; gap: 12px; }
.estimate__note { margin-top: 8px; font-size: .78rem; color: rgba(255,255,255,.55); }
.estimate__empty { color: rgba(255,255,255,.7); }
.file-drop { display: flex; gap: 10px; align-items: center; border: 1.5px dashed #cfc8b9; border-radius: 12px; padding: 12px 14px; margin-bottom: 14px; cursor: pointer; font-size: .9rem; color: var(--ink-2); }
.file-drop:hover { border-color: var(--brand); }
.file-drop input { display: none; }
.file-drop svg { width: 22px; height: 22px; flex: none; fill: none; stroke: var(--brand); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.demo-note { margin-top: 14px; background: #fbefe8; color: #7a3a1c; font-size: .82rem; font-weight: 600; padding: 7px 12px; border-radius: 10px; }
.sent { text-align: center; padding: 10px 0; }
.sent h3 { font: 600 1.4rem var(--display); margin: 12px 0 6px; }
.sent p { color: var(--muted); }
.done-icon { width: 64px; height: 64px; border-radius: 50%; background: var(--brand); display: grid; place-items: center; margin: 0 auto; }
.done-icon svg { width: 32px; height: 32px; fill: none; stroke: #fff; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }

/* Skjema */
.field { display: grid; gap: 6px; margin-bottom: 12px; }
.field > span, .field > label span { font-weight: 600; font-size: .86rem; }
.field input, .field textarea { width: 100%; border: 1.5px solid var(--line); border-radius: 11px; padding: 10px 12px; font: inherit; color: var(--ink); background: #fff; }
.field input:focus, .field textarea:focus { outline: 0; border-color: var(--brand); box-shadow: 0 0 0 3px rgba(30,90,85,.18); }
.field.has-error input { border-color: var(--danger); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-msg { margin-top: 12px; font-weight: 600; color: #9fe0b5; }
.addr-ac { position: relative; }
.addr-ac input.is-picked { color: var(--brand); font-weight: 600; }
.ac-list { position: absolute; z-index: 60; left: 0; right: 0; top: calc(100% + 6px); margin: 0; padding: 6px; list-style: none; background: #fff; border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 18px 40px rgba(0,0,0,.16); max-height: 300px; overflow-y: auto; }
.ac-list li { padding: 9px 10px; border-radius: 9px; cursor: pointer; display: grid; line-height: 1.3; }
.ac-list li strong { font-size: .95rem; }
.ac-list li small { color: var(--muted); font-size: .8rem; }
.ac-list li[aria-selected="true"], .ac-list li:hover { background: var(--soft); }
.ac-list .ac-empty { color: var(--muted); font-size: .88rem; cursor: default; }

/* Steg */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.steps li { background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); padding: 26px; }
.steps span { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--accent); color: #fff; font: 600 1.2rem/1 var(--display); margin-bottom: 16px; }
.steps h3 { font: 600 1.15rem/1.2 var(--display); margin-bottom: 8px; }
.steps p { font-size: .93rem; color: rgba(255,255,255,.72); }

/* Galleri */
.gallery { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; height: 560px; }
.gallery figure { position: relative; margin: 0; border-radius: 20px; overflow: hidden; }
.gallery__big { grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 14px; color: #fff; font: 500 1.05rem var(--display); background: linear-gradient(0deg, rgba(0,0,0,.6), transparent); }
.note-demo { margin-top: 14px; font-size: .8rem; color: var(--muted); }

/* Omtaler */
.reviews { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.review { background: var(--paper); border-radius: var(--radius); padding: 26px; display: grid; gap: 12px; align-content: start; }
.review__stars { color: var(--accent); letter-spacing: 2px; }
.review footer { font-weight: 600; font-size: .9rem; }
.review footer small { font-weight: 400; color: var(--muted); }

/* Om oss */
.about { display: grid; grid-template-columns: 1.25fr .75fr; gap: 56px; align-items: start; }
.about h2 { margin-bottom: 14px; }
.about > div > p { color: var(--ink-2); font-size: 1.06rem; max-width: 58ch; }
.badges { list-style: none; padding: 0; margin: 24px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.badges li { display: flex; gap: 10px; align-items: center; background: var(--soft); border-radius: 12px; padding: 12px 14px; font-weight: 600; font-size: .92rem; }
.badges svg { width: 22px; height: 22px; flex: none; fill: none; stroke: var(--brand); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.faq { margin-top: 28px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 16px 32px 16px 0; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 12px; font-size: 1.4rem; color: var(--accent); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 16px; color: var(--ink-2); }
.hours-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; position: sticky; top: 96px; }
.hours-card h3 { font: 600 1.25rem var(--display); margin-bottom: 12px; }
.hours { width: 100%; border-collapse: collapse; margin-bottom: 12px; }
.hours td { padding: 8px 0; border-bottom: 1px solid var(--line); }
.hours td:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.hours tr.is-today td { font-weight: 700; }
.hours .closed { color: var(--muted); }

/* Kontakt */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 12px; align-items: center; font-weight: 600; }
.contact-list svg { width: 20px; height: 20px; flex: none; fill: none; stroke: #e7a07f; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.contact-list a { text-decoration: none; }
.contact-list a:hover { text-decoration: underline; }

/* Bunntekst */
.footer { background: #10221f; color: #fff; padding: 52px 0 110px; }
.footer__in { display: grid; grid-template-columns: 1fr auto; gap: 24px 48px; align-items: start; }
.footer .muted { color: rgba(255,255,255,.6); margin-top: 12px; }
.footer__links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer__links a { text-decoration: none; color: rgba(255,255,255,.8); font-weight: 500; }
.footer__links a:hover { color: #fff; }
.footer__made { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.1); padding-top: 18px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: start; }
.footer__made .muted { margin: 0; }
.footer__made a { color: #fff; font-weight: 700; text-underline-offset: 3px; }
.footer__made a:hover { color: #e7a07f; }
.credits { font-size: .78rem; color: rgba(255,255,255,.55); max-width: 640px; }
.credits summary { cursor: pointer; }
.credits ul { margin: 8px 0 0; padding-left: 18px; display: grid; gap: 4px; }
.credits a { color: rgba(255,255,255,.75); font-weight: 400; }

.mobile-bar { display: none; }

/* Nettbrett og mobil */
@media (max-width: 1000px) {
  .hero__in, .colors, .calc-wrap, .about, .contact { grid-template-columns: 1fr; gap: 40px; }
  .hero__media { max-width: 560px; }
  .feature-cards, .services { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr 1fr; }
  .reviews { grid-template-columns: 1fr; }
  .hours-card { position: static; }
  .calc-img { display: none; }
}
@media (max-width: 860px) {
  .nav { position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; background: var(--bg); padding: 12px 20px 20px; border-bottom: 1px solid var(--line); box-shadow: 0 20px 30px rgba(0,0,0,.08); display: none; }
  .nav.is-open { display: flex; }
  .nav a { padding: 14px 12px; font-size: 1.05rem; }
  .menu-btn { display: block; margin-left: auto; }
  .header__cta, .hide-sm { display: none !important; }
  .mobile-bar { display: grid; grid-template-columns: 1fr 1.6fr; gap: 10px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: rgba(251,250,246,.96); backdrop-filter: blur(12px); border-top: 1px solid var(--line); padding: 10px max(16px, env(safe-area-inset-left)) calc(10px + env(safe-area-inset-bottom)); }
  .mobile-bar .btn { padding: 13px 10px; }
  .gallery { height: 440px; }
}
@media (max-width: 600px) {
  .wrap { padding-left: max(16px, env(safe-area-inset-left)); padding-right: max(16px, env(safe-area-inset-right)); }
  .section { padding: 64px 0; }
  .hero__in { padding-top: 36px; padding-bottom: 56px; }
  .hero__media > img { border-radius: 140px 140px 20px 20px; aspect-ratio: 4 / 4.2; }
  .hero__swatch { left: 8px; bottom: 16px; padding: 7px; }
  .hero__swatch span { width: 32px; height: 22px; }
  .hero__rating { right: 8px; top: 16px; }
  .feature-cards, .services, .steps, .field-row, .badges { grid-template-columns: 1fr; }
  .swatches { grid-template-columns: repeat(4, 1fr); gap: 8px; }
  .opts, .opts--4 { grid-template-columns: 1fr 1fr; }
  .card { padding: 20px; }
  .gallery { grid-template-columns: 1fr; grid-template-rows: none; height: auto; }
  .gallery__big { grid-row: auto; }
  .gallery figure { aspect-ratio: 4 / 3; }
  .footer__in { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
