/* Duas Rodas — multi-brand motorcycle dealer, Setúbal.
   Bright showroom: bone floor, asphalt ink, one racing orange-red accent (prices, primary actions, active filter),
   petrol blue for data labels and links. Saira Condensed for model names and numerals, Saira for text.
   Signature: the spec strip (.strip), reused on every bike. */

:root {
  --floor: #F5F5F2;
  --paper: #FFFFFF;
  --ink: #111417;
  --accent: #F0421C;
  --petrol: #0E3A4F;
  --grey: #8B8F94;
  --mute: #50555B;
  --line: #DADBD6;
  --line-strong: #A9ADAB;
  --ink-line: #2B3036;
  --ink-text: #C9CCCC;
  --err: #B3261E;
  --display: "Saira Condensed", "Arial Narrow", "Roboto Condensed", sans-serif;
  --text: "Saira", system-ui, -apple-system, "Segoe UI", sans-serif;
  --pad: clamp(18px, 4vw, 40px);
  --bleed: calc(var(--pad) + max(0px, (100vw - 1280px) / 2));
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--floor); color: var(--ink); font: 400 1.0625rem/1.55 var(--text); -webkit-font-smoothing: antialiased; overflow-wrap: break-word; }
img { display: block; max-width: 100%; height: auto; }
[hidden] { display: none !important; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 800; line-height: .95; letter-spacing: .005em; text-transform: uppercase; text-wrap: balance; }
h2 { font-size: clamp(2.3rem, 4.8vw, 3.7rem); }
h3 { font-size: 1.5rem; font-weight: 700; line-height: 1.05; }
.h3 { font-size: 1.5rem; font-weight: 700; margin-top: 36px; }
p { margin: 0 0 1em; }
a { color: var(--petrol); text-underline-offset: 3px; }
ul, ol, dl, dd { margin: 0; padding: 0; }
table { border-spacing: 0; }
:focus-visible { outline: 3px solid var(--petrol); outline-offset: 2px; }
.ink :focus-visible, .ftr :focus-visible, .stand :focus-visible, .calc__out :focus-visible, .demobar :focus-visible, .fab:focus-visible { outline-color: #fff; }

.wrap { max-width: 1280px; margin-inline: auto; padding-inline: var(--pad); }
.ic { width: 20px; height: 20px; flex: none; stroke-width: 2; }
.skip { position: absolute; left: 12px; top: -80px; z-index: 100; padding: 12px 16px; background: var(--ink); color: #fff; }
.skip:focus { top: 12px; }

/* studio demo bar (same rules as the reference site) */
.demobar { background: #000; color: #fff; font: 500 .86rem/1.3 system-ui, sans-serif; }
.demobar__in { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 18px; padding-block: 7px; }
.demobar a { color: #fff; text-decoration: none; }
.demobar__back:hover { text-decoration: underline; }
.demobar__txt { flex: 1 1 14em; opacity: .75; }
.demobar__cta { padding: 6px 14px; border-radius: 999px; background: #17D878; color: #000 !important; font-weight: 700; white-space: nowrap; }
html.embedded .demobar { display: none; }

/* buttons and links */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 50px; padding: 10px 22px; border: 2px solid var(--accent); border-radius: 3px; background: var(--accent); color: var(--ink); font: 700 1.08rem/1.1 var(--display); letter-spacing: .035em; text-transform: uppercase; text-decoration: none; text-align: center; cursor: pointer; transition: background-color .15s ease, border-color .15s ease, color .15s ease; }
.btn:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn--sm { min-height: 44px; padding: 8px 16px; font-size: 1rem; }
.btn--ink { background: var(--ink); border-color: var(--ink); color: #fff; }
.btn--ink:hover { background: var(--accent); border-color: var(--accent); color: var(--ink); }
.btn--line { background: transparent; border-color: var(--ink); color: var(--ink); }
.btn--line:hover { background: var(--ink); color: #fff; }
.btn--line-light { background: transparent; border-color: rgba(255, 255, 255, .5); color: #fff; }
.ink .btn:hover, .stand .btn:hover, .calc__out .btn:hover { background: #fff; border-color: #fff; color: var(--ink); }
.lnk { display: inline-flex; align-items: center; min-height: 44px; color: var(--petrol); font-weight: 500; text-decoration: underline; text-decoration-thickness: 1.5px; }
.lnk:hover { color: var(--ink); }
.lnk--btn { padding: 0; border: 0; background: none; font: inherit; font-weight: 500; cursor: pointer; }
.ink .lnk { color: #fff; }
.acts { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 28px; }
.tag { display: inline-block; padding: 2px 8px 3px; border: 1.5px solid var(--ink); border-radius: 2px; color: var(--ink); font: 700 .86rem/1.15 var(--display); letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; }
.tag--new { background: var(--ink); color: #fff; }
.fineprint { max-width: 88ch; margin: 28px 0 0; color: var(--mute); font-size: .86rem; line-height: 1.5; }
.status { margin: 0; font-size: .95rem; font-weight: 500; }
.status.is-open::before, .status.is-closed::before { content: ""; display: inline-block; width: 9px; height: 9px; margin-right: 9px; border-radius: 50%; background: #2E9E5B; }
.status.is-closed::before { background: var(--grey); }

/* header */
.hdr { position: relative; z-index: 30; background: var(--floor); border-bottom: 1px solid var(--line); }
.hdr__in { display: flex; align-items: center; gap: 24px; min-height: 76px; }
.logo { display: inline-flex; align-items: center; gap: 11px; color: var(--ink); text-decoration: none; }
.logo__mark { width: 46px; height: 27px; flex: none; }
.logo__txt { display: flex; flex-direction: column; }
.logo__txt b { font: 800 1.62rem/.9 var(--display); letter-spacing: .01em; text-transform: uppercase; white-space: nowrap; }
.logo__txt small { margin-top: 4px; color: var(--mute); font-size: .72rem; line-height: 1.1; white-space: nowrap; }
.logo--light { color: #fff; }
.logo--light .logo__txt small { color: var(--ink-text); }
.nav { display: flex; margin-left: auto; }
.nav a { display: inline-flex; align-items: center; min-height: 76px; padding: 3px 11px 0; border-bottom: 3px solid transparent; color: var(--ink); font-size: .98rem; font-weight: 500; text-decoration: none; white-space: nowrap; }
.nav a:hover { border-bottom-color: var(--line-strong); }
.nav a[aria-current="page"] { border-bottom-color: var(--accent); font-weight: 600; }
.nav .nav__tel { display: none; }
.hdr__side { display: flex; align-items: center; gap: 14px; }
.lang { display: flex; border: 1px solid var(--line-strong); border-radius: 3px; overflow: hidden; }
.lang a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; color: var(--ink); font: 700 1rem/1 var(--display); letter-spacing: .04em; text-decoration: none; }
.lang a[aria-current] { background: var(--ink); color: #fff; }
.burger { display: none; align-items: center; justify-content: center; width: 46px; height: 46px; padding: 0; border: 1px solid var(--line-strong); border-radius: 3px; background: transparent; color: var(--ink); cursor: pointer; }
.burger .ic { width: 24px; height: 24px; }

/* the spec strip */
.strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-block: 1px solid var(--line); }
.strip > div { display: flex; flex-direction: column-reverse; justify-content: flex-end; min-width: 0; padding: 11px 0 10px 10px; border-left: 1px solid var(--line); }
.strip > div:first-child { padding-left: 0; border-left: 0; }
.strip dt { color: var(--petrol); font-size: .76rem; line-height: 1.25; margin-top: 3px; }
.strip dd { font: 800 1.85rem/1 var(--display); font-variant-numeric: tabular-nums; white-space: nowrap; }
.strip dd small { margin-left: 2px; color: var(--mute); font: 600 .72rem/1 var(--text); }
.lic { display: inline-block; padding: 1px 6px 2px; border: 2px solid currentColor; border-radius: 3px; font: 800 .82em/1 var(--display); }
.strip--xl { border-block: 0; }
.strip--xl > div { padding: 18px 0 16px 20px; }
.strip--xl dt { font-size: .88rem; margin-top: 4px; }
.strip--xl dd { font-size: clamp(2.3rem, 4.6vw, 3.7rem); line-height: .92; }
.strip--xl dd small { margin-left: 4px; font-size: .95rem; }
.strip--light, .strip--light > div { border-color: var(--ink-line); }
.strip--light dt { color: #A9C3CF; font-size: .84rem; }
.strip--light dd { color: #fff; font-size: clamp(2rem, 3.6vw, 2.8rem); }
.strip--light dd small { color: var(--ink-text); font-size: .82rem; }
.price { margin: 0; color: var(--accent); font: 800 2.2rem/1 var(--display); font-variant-numeric: tabular-nums; white-space: nowrap; }
.month { margin: 0; font-size: .95rem; line-height: 1.3; }
.month b { font-weight: 700; white-space: nowrap; }

/* home: featured bike */
.hero { overflow-x: clip; padding-bottom: clamp(20px, 3vw, 36px); }
@supports not (overflow-x: clip) { .hero, .shop, .ofihead { overflow-x: hidden; } }
.hero__top { display: flex; align-items: center; justify-content: space-between; gap: 8px 24px; padding-block: 12px 10px; }
.hero__h1 { color: var(--mute); font: 500 1rem/1.4 var(--text); letter-spacing: 0; text-transform: none; }
.featnav { display: flex; align-items: center; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.featnav::-webkit-scrollbar { display: none; }
.featnav__l { margin-right: 12px; color: var(--mute); font-size: .9rem; white-space: nowrap; }
.featnav__b { flex: none; min-height: 44px; padding: 3px 12px 0; border: 0; border-bottom: 3px solid transparent; background: none; color: var(--mute); font: 700 1.06rem/1 var(--display); letter-spacing: .03em; text-transform: uppercase; cursor: pointer; }
.featnav__b:hover { color: var(--ink); }
.featnav__b[aria-selected="true"] { border-bottom-color: var(--accent); color: var(--ink); }
.feat { display: grid; grid-template-columns: minmax(0, .58fr) minmax(0, 1fr); column-gap: 32px; }
.feat__copy { display: flex; flex-direction: column; min-width: 0; padding-block: 8px 22px; }
.feat__tags { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 0; color: var(--mute); font-size: .9rem; }
.feat__tags .tag { margin-right: 10px; }
.feat__tags span:not(.tag) { padding-inline: 10px; border-left: 1px solid var(--line-strong); white-space: nowrap; }
.feat__tags .tag + span { padding-left: 0; border-left: 0; }
.feat__name { margin-top: auto; padding-top: 18px; }
.feat__brand { display: block; margin-bottom: 6px; color: var(--petrol); font: 600 1.05rem/1.2 var(--text); letter-spacing: 0; text-transform: none; }
.feat__word, .feat__num { display: block; overflow: hidden; white-space: nowrap; }
.feat__word > span, .feat__num > span { display: block; }
.feat__word { font-size: clamp(3.4rem, 8.2vw, 6.5rem); line-height: .86; padding-top: .04em; }
.feat__num { font-size: clamp(5.4rem, 13.6vw, 10.8rem); line-height: .82; padding-top: .03em; letter-spacing: -.01em; }
.feat__pitch { max-width: 36ch; margin: 18px 0 0; color: var(--mute); }
.feat__photo { position: relative; min-height: clamp(380px, 36vw, 560px); margin-right: calc(-1 * var(--bleed)); overflow: hidden; background: #E3E4DF; }
.feat__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 85%; }
.feat__bar { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; column-gap: 40px; border-top: 3px solid var(--ink); }
.feat__price .price { font-size: clamp(2.8rem, 4.8vw, 3.9rem); line-height: .92; }
.feat__price .month { margin-top: 5px; font-size: 1.02rem; }
.feat__act { display: flex; flex-direction: column; gap: 8px; padding-block: 12px; }
.feat__act .btn { min-height: 46px; padding-block: 6px; }

/* sections */
.sec { padding-block: clamp(56px, 8vw, 104px); }
.paper { background: var(--paper); }
.ink { background: var(--ink); color: #E9EAE6; }
.ink h1, .ink h2, .ink h3 { color: #fff; }
.ink p { color: var(--ink-text); }
.sec__head { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 20px 32px; margin-bottom: 40px; }
.sec__head p { max-width: 58ch; margin: 14px 0 0; color: var(--mute); }
.two { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px 72px; align-items: start; }
.two--wide { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); }
.two > div > h2 + p, .trade__txt > h2 + p, .money__fin > h2 + p, .shop__txt > h2 + p { margin-top: 16px; }
.two > div > p, .trade__txt > p, .money__fin > p, .team__side > p { max-width: 56ch; color: var(--mute); }
.two > div > .fineprint { margin-top: 18px; }
.checks { list-style: none; margin: 22px 0 0; }
.checks li { position: relative; margin: 9px 0; padding-left: 24px; }
.checks li::before { content: ""; position: absolute; left: 0; top: .68em; width: 11px; height: 3px; background: var(--ink); }
.checks b { font-weight: 600; }
.plist { list-style: none; margin-top: 16px; border-top: 1px solid var(--line); }
.plist li, .pline { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.pline { margin: 0; border-bottom: 0; border-top: 1px solid var(--line); }
.plist b, .pline b { font: 700 1.3rem/1 var(--display); font-variant-numeric: tabular-nums; white-space: nowrap; }
.plist span:last-child { white-space: nowrap; font-size: .92rem; }

/* stock cards */
.stock { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 52px 28px; list-style: none; }
.bike { display: flex; flex-direction: column; min-width: 0; container-type: inline-size; }
.bike__ph { aspect-ratio: 4 / 3; overflow: hidden; border-radius: 2px; background: #E3E4DF; }
.bike__ph img { width: 100%; height: 100%; object-fit: cover; }
.bike__top { display: flex; align-items: center; flex-wrap: wrap; row-gap: 4px; margin-top: 14px; color: var(--mute); font-size: .88rem; line-height: 1.2; }
.bike__top .tag { margin-right: 10px; }
.bike__km { margin-left: 10px; padding-left: 10px; border-left: 1px solid var(--line-strong); white-space: nowrap; }
.bike__ref { margin-left: auto; padding-left: 10px; white-space: nowrap; }
.bike__name { margin: 12px 0 14px; font-size: 2.15rem; font-weight: 800; line-height: .95; }
.bike__brand { display: block; margin-bottom: 4px; color: var(--petrol); font: 600 .92rem/1.2 var(--text); letter-spacing: 0; text-transform: none; }
.bike .strip dd { font-size: 1.75rem; font-size: clamp(1.4rem, 8.6cqw, 2.05rem); }
.bike__buy { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 4px 14px; margin-top: 14px; }
.bike__act { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 20px; margin-top: 14px; }

/* home: workshop band */
.shop { overflow-x: clip; }
.shop__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 64px; }
.shop__ph { position: relative; min-height: 520px; margin-left: calc(-1 * var(--bleed)); }
.shop__ph img, .ofihead__ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.shop__txt { padding-block: clamp(56px, 7vw, 96px); }
.shop__txt > p { max-width: 54ch; }
.shop__txt .tbl { margin-top: 22px; }

/* tables */
.tbl { width: 100%; border-collapse: collapse; font-size: 1rem; }
.tbl th, .tbl td { padding: 13px 14px 13px 0; border-bottom: 1px solid var(--line); font-weight: 400; text-align: left; vertical-align: baseline; }
.tbl thead th { padding-block: 8px; border-bottom: 2px solid var(--ink); color: var(--petrol); font-size: .84rem; font-weight: 500; }
.tbl tbody th { font-weight: 600; }
.tbl th:last-child, .tbl td:last-child { padding-right: 0; text-align: right; }
.tbl b, .tbl__num, .tbl__key { font: 700 1.3rem/1 var(--display); font-variant-numeric: tabular-nums; white-space: nowrap; }
.tbl thead .tbl__num { font: 500 .84rem/1.3 var(--text); white-space: normal; }
.tbl td.tbl__key { color: var(--accent); font-weight: 800; font-size: 1.5rem; }
.tbl--dark th, .tbl--dark td { border-color: var(--ink-line); color: #E9EAE6; }
.tbl--dark thead th { border-bottom-color: #fff; color: #A9C3CF; }
.tbl--dark b { color: #fff; }
.hours thead td { border-bottom: 2px solid var(--ink); }
.tbl--dark.hours thead td { border-bottom-color: #fff; }
.hours th:nth-child(2), .hours td:nth-child(2) { text-align: right; }

/* home: trade-in, finance, gear */
.trade { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px 72px; align-items: center; }
.trade__ph { aspect-ratio: 4 / 3; overflow: hidden; border-radius: 2px; background: #E3E4DF; }
.trade__ph img, .money__ph img, .extras__ph img, .ride__ph img, .team__ph img { width: 100%; height: 100%; object-fit: cover; }
.steps { list-style: none; margin: 26px 0 30px; counter-reset: step; border-bottom: 1px solid var(--line); }
.steps li { display: grid; grid-template-columns: 52px minmax(0, 1fr); padding: 15px 0 16px; border-top: 1px solid var(--line); counter-increment: step; }
.steps li::before { content: counter(step); grid-row: span 2; font: 800 2.7rem/.9 var(--display); }
.steps h3 { font-size: 1.4rem; }
.steps p { grid-column: 2; margin: 4px 0 0; color: var(--mute); }
.steps--col { margin-bottom: 0; }
.money { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 48px 72px; align-items: start; }
.money__fin .tbl { margin-top: 26px; }
.money__fin .fineprint { margin: 18px 0 26px; }
.money__gear { padding-left: 40px; border-left: 1px solid var(--line); }
.money__ph { aspect-ratio: 4 / 3; overflow: hidden; margin-bottom: 20px; border-radius: 2px; background: #E3E4DF; }
.money__gear p { margin: 10px 0 0; color: var(--mute); }

/* home: the stand */
.stand { position: relative; overflow: hidden; background: var(--ink); }
.stand__ph { position: absolute; inset: 0; }
.stand__ph img { width: 100%; height: 100%; object-fit: cover; }
.stand__panel { position: relative; width: min(500px, 100%); margin: clamp(40px, 6vw, 88px) 0 clamp(40px, 6vw, 88px) auto; padding: 38px 38px 36px; background: var(--ink); color: #E9EAE6; }
.stand__panel h2 { color: #fff; font-size: clamp(2.1rem, 3.6vw, 2.9rem); }
.stand__panel > p { margin: 14px 0 0; color: var(--ink-text); }
.stand__panel .stand__addr { margin-top: 20px; color: #fff; font-weight: 600; }
.stand__panel .status { margin-top: 6px; color: #fff; }
.stand__panel .tbl { margin-top: 14px; font-size: .95rem; }
.stand__panel .tbl th, .stand__panel .tbl td { padding-block: 9px; }

/* inner page head */
.phead { padding-block: clamp(32px, 5vw, 60px) clamp(22px, 3vw, 34px); }
.phead h1, .ofihead h1 { font-size: clamp(3rem, 10vw, 8rem); line-height: .86; }
.phead__p { max-width: 60ch; margin: 18px 0 0; font-size: 1.12rem; }
.phead .phead__p { color: var(--mute); }

/* stock page */
.catalog { padding-bottom: clamp(56px, 8vw, 96px); }
.filters { display: flex; flex-wrap: wrap; gap: 12px 36px; padding-block: 16px; border-block: 1px solid var(--line); }
.fgroup { display: flex; align-items: center; gap: 10px; min-width: 0; }
.fgroup__l { color: var(--petrol); font-size: .88rem; font-weight: 500; white-space: nowrap; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { min-width: 48px; min-height: 44px; padding: 0 15px; border: 1.5px solid var(--line-strong); border-radius: 3px; background: var(--paper); color: var(--ink); font: 500 .97rem/1 var(--text); cursor: pointer; transition: background-color .12s ease, border-color .12s ease; }
.chip:hover { border-color: var(--ink); }
.chip[aria-pressed="true"] { border-color: var(--accent); background: var(--accent); font-weight: 600; }
.resultbar { display: flex; align-items: center; flex-wrap: wrap; gap: 6px 22px; padding-block: 18px 30px; }
.resultbar__n { margin: 0; font: 800 2rem/1 var(--display); text-transform: uppercase; }
.sort { display: inline-flex; align-items: center; gap: 10px; margin-left: auto; color: var(--mute); font-size: .92rem; }
.sort select { width: auto; min-height: 44px; }
.empty { max-width: 640px; padding: 28px 0 8px; border-top: 3px solid var(--ink); }
.empty h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); }
.empty p { margin: 12px 0 0; color: var(--mute); }
.lictbl .lic { font-size: 1.3rem; }
.cta__in { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 28px 48px; padding-block: clamp(44px, 6vw, 72px); }
.cta__in h2 { font-size: clamp(2rem, 3.8vw, 3rem); }
.cta__in p { max-width: 56ch; margin: 12px 0 0; }
.cta__in .acts { margin-top: 0; }

/* forms */
input[type="text"], input[type="tel"], input[type="number"], input[type="date"], select, textarea { width: 100%; min-height: 48px; padding: 10px 12px; border: 1.5px solid var(--line-strong); border-radius: 3px; background: #fff; color: var(--ink); font: 400 1rem/1.3 var(--text); }
textarea { min-height: 96px; resize: vertical; }
input[type="range"] { width: 100%; min-height: 44px; margin: 0; accent-color: var(--accent); cursor: pointer; }
[aria-invalid="true"] { border-color: var(--err) !important; }
.form { display: grid; gap: 18px; padding: clamp(20px, 3vw, 34px); background: var(--floor); border-top: 4px solid var(--ink); }
.form__row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.fld { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.fld label { font-size: .95rem; font-weight: 600; }
.fld__opt { margin-left: 4px; color: var(--mute); font-size: .84rem; font-weight: 400; }
.fld__hint { margin: 0; color: var(--mute); font-size: .86rem; line-height: 1.45; }
.err { margin: 0; color: var(--err); font-size: .9rem; font-weight: 500; }
.check { display: flex; align-items: center; gap: 12px; min-height: 44px; cursor: pointer; }
.check input { width: 22px; height: 22px; flex: none; accent-color: var(--ink); }
.form__foot { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 22px; }
.form__note { flex: 1 1 15em; margin: 0; color: var(--mute); font-size: .86rem; line-height: 1.45; }

/* finance calculator */
.calcsec { padding-bottom: clamp(20px, 3vw, 36px); }
.calc { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); border-top: 4px solid var(--ink); background: var(--paper); }
.calc__in { display: grid; gap: 20px; align-content: start; padding: 32px clamp(20px, 3.4vw, 44px) 38px; }
.calc__in h2 { font-size: 2.2rem; }
.fld__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.fld__unit { display: inline-flex; align-items: center; gap: 7px; font: 700 1.35rem/1 var(--display); }
.fld__unit input { width: 5.6em; min-height: 44px; padding-block: 6px; text-align: right; font: 700 1.35rem/1 var(--display); font-variant-numeric: tabular-nums; }
.calc output { font: 700 1.35rem/1 var(--display); font-variant-numeric: tabular-nums; white-space: nowrap; }
.ticks { display: flex; justify-content: space-between; padding-inline: 5px; color: var(--mute); font-size: .8rem; line-height: 1; }
.calc__out { display: flex; flex-direction: column; padding: 32px clamp(20px, 3.4vw, 44px) 34px; background: var(--ink); color: #E9EAE6; }
.calc__l { margin: 0; color: #A9C3CF; font-size: .95rem; }
.calc__big { margin: 8px 0 0; color: var(--accent); font: 800 clamp(3.6rem, 8vw, 6.2rem)/.9 var(--display); font-variant-numeric: tabular-nums; white-space: nowrap; }
.calc__sub { margin: 8px 0 0; color: var(--ink-text); font-size: .95rem; }
.split { display: flex; gap: 2px; height: 14px; margin: 24px 0 8px; }
.split span { flex: 1 1 0; min-width: 2px; transition: flex-grow .3s ease; }
#s-down, .k-down dt::before { background: #F5F5F2; }
#s-cap, .k-cap dt::before { background: #5C97B3; }
#s-int, .k-int dt::before { background: var(--accent); }
.calc__dl > div { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--ink-line); }
.calc__dl dt { color: var(--ink-text); font-size: .95rem; }
.calc__dl dt::before { content: ""; display: inline-block; width: 10px; height: 10px; margin-right: 9px; }
.calc__dl .k-total dt::before { background: none; border: 1.5px solid #fff; }
.calc__dl dd { color: #fff; font: 700 1.4rem/1 var(--display); font-variant-numeric: tabular-nums; white-space: nowrap; }
.calc__out .btn { margin-top: 24px; }
.calc__note { margin: 16px 0 0; color: #A7ABAC; font-size: .84rem; line-height: 1.5; }
.docs h3 { margin-top: 28px; font-size: 1.3rem; }
.docs > p { margin-top: 14px; color: var(--mute); }
.docs .checks { margin-top: 10px; }
.faq { margin-top: 40px; }
.faq h3 { margin-bottom: 12px; }
.faq details { border-top: 1px solid var(--line); }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 52px; padding-block: 8px; font-weight: 600; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font: 700 1.7rem/1 var(--display); }
.faq details[open] summary::after { content: "–"; }
.faq details p { max-width: 60ch; margin: 0 0 16px; color: var(--mute); }

/* workshop page */
.ofihead { overflow-x: clip; }
.ofihead__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .85fr); column-gap: 64px; }
.ofihead__txt { padding-block: clamp(36px, 6vw, 76px); }
.ofihead .strip { margin-top: 34px; }
.ofihead__ph { position: relative; min-height: 420px; margin-right: calc(-1 * var(--bleed)); }
.serv { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 64px; list-style: none; border-top: 2px solid var(--ink); }
.serv li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; gap: 6px 20px; padding: 20px 0 22px; border-bottom: 1px solid var(--line); }
.serv h3 { font-size: 1.6rem; }
.serv p { grid-column: 1 / -1; grid-row: 2; max-width: 50ch; margin: 0; color: var(--mute); }
.serv__p { grid-column: 2; grid-row: 1; font-size: .92rem; white-space: nowrap; }
.serv__p b { color: var(--accent); font: 800 1.75rem/1 var(--display); font-variant-numeric: tabular-nums; }
.extras { display: grid; grid-template-columns: minmax(0, .72fr) minmax(0, 1fr) minmax(0, 1fr); gap: 40px 56px; align-items: start; }
.extras__ph { aspect-ratio: 9 / 11; overflow: hidden; border-radius: 2px; background: #1B1F23; }
.extras__tyres > p, .extras__more p:not(.pline) { color: var(--mute); }
.extras__tyres > h2 + p { margin-top: 14px; }
.extras__tyres .tbl { margin-top: 8px; border-top: 2px solid var(--ink); }
.extras__tyres .fineprint { margin-top: 14px; }
.extras__more h3 { margin-bottom: 10px; font-size: 1.7rem; }
.extras__more > div + div { margin-top: 40px; }
.extras__more .pline b { font-size: 1.4rem; }

/* contact page */
.where { padding-bottom: clamp(48px, 7vw, 88px); }
.where__in { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 36px 56px; }
.clist { margin-top: 16px; border-top: 2px solid var(--ink); }
.clist > div { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.clist dt { color: var(--mute); font-size: .95rem; }
.clist dd { font-weight: 500; }
.clist a { display: inline-block; margin-block: -10px; padding-block: 10px; }
.where .hours { margin-top: 10px; }
.ways { margin-top: 28px; }
.ways > div { padding: 10px 0; }
.ways dt { font-weight: 600; }
.ways dd { color: var(--mute); }
.map { display: block; align-self: stretch; width: 100%; height: auto; min-height: 480px; border: 1px solid var(--line-strong); background: #E3E4DF; }
.ride__ph { aspect-ratio: 1000 / 620; overflow: hidden; margin-top: 24px; border-radius: 2px; background: #E3E4DF; }
.team { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); gap: 40px 72px; align-items: start; }
.team__side > p { margin-top: 16px; }
.team__ph { aspect-ratio: 4 / 3; overflow: hidden; margin-top: 24px; border-radius: 2px; background: #1B1F23; }
.crew { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 56px; list-style: none; border-top: 2px solid var(--ink); }
.crew li { padding: 22px 0 24px; border-bottom: 1px solid var(--line); }
.crew h3 { font-size: 1.85rem; font-weight: 800; }
.crew p { margin: 8px 0 0; color: var(--mute); }
.crew .crew__role { margin-top: 5px; color: var(--petrol); font-weight: 600; }
.crew .crew__lang { font-size: .88rem; }

/* footer */
.ftr { padding-block: 60px 26px; border-top: 1px solid var(--ink-line); background: var(--ink); color: var(--ink-text); font-size: .95rem; }
.ftr__top { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr) minmax(0, 1.1fr) minmax(0, 1.4fr); gap: 36px 48px; }
.ftr__brand p { max-width: 36ch; margin: 18px 0 0; }
.ftr__brand .status { margin-top: 14px; color: #fff; }
.ftr h2 { margin-bottom: 8px; color: #fff; font-size: 1.2rem; font-weight: 700; letter-spacing: .04em; }
.ftr ul + h2 { margin-top: 24px; }
.ftr ul { list-style: none; }
.ftr li a { display: inline-block; padding: 10px 0 11px; color: #E9EAE6; text-decoration: none; }
.ftr li a:hover { text-decoration: underline; }
.ftr__c li:not(:has(a)) { padding: 6px 0; }
.ftr__legal { max-width: 100ch; margin: 44px 0 0; padding-top: 22px; border-top: 1px solid var(--ink-line); font-size: .86rem; line-height: 1.55; }
.ftr__bot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 4px 28px; margin-top: 14px; }
.ftr__bot ul { display: flex; flex-wrap: wrap; gap: 0 24px; }
.ftr__demo { margin: 12px 0 0; color: #9A9FA2; font-size: .84rem; }
.fab { position: fixed; right: 18px; bottom: 18px; z-index: 40; display: flex; align-items: center; justify-content: center; width: 56px; height: 56px; border: 2px solid var(--floor); border-radius: 50%; background: var(--ink); color: #fff; }
.fab .ic { width: 26px; height: 26px; }
.fab:hover { background: var(--accent); color: var(--ink); }
html.embedded .fab { display: none; }

/* motion: one moment on load for the featured bike, replayed when the visitor switches bike; a short settle when filtering */
@keyframes shutter { from { clip-path: inset(0 0 0 100%); } to { clip-path: inset(0 0 0 0); } }
@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }
@keyframes tick { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: no-preference) {
  html:not(.embedded) .feat__photo img { animation: shutter .75s cubic-bezier(.2, .7, .1, 1) both; }
  html:not(.embedded) .feat__word > span { animation: rise .55s cubic-bezier(.2, .7, .1, 1) both; }
  html:not(.embedded) .feat__num > span { animation: rise .6s cubic-bezier(.2, .7, .1, 1) .07s both; }
  html:not(.embedded) .feat__bar .strip > div { animation: tick .4s ease-out both; animation-delay: calc(.28s + var(--i, 0) * .07s); }
  .stock.is-settling .bike { animation: tick .28s ease-out both; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* responsive */
@media (max-width: 1099px) {
  .stock { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .feat__bar { grid-template-columns: auto minmax(0, 1fr); row-gap: 0; }
  .feat__bar .strip { grid-column: 1 / -1; border-bottom: 1px solid var(--line); }
  .feat__price { padding-block: 16px; }
  .feat__act { flex-direction: row; justify-content: flex-end; flex-wrap: wrap; }
  .extras { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .extras__ph { grid-column: 1 / -1; aspect-ratio: 16 / 7; }
  .ftr__top { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 1020px) {
  .demobar__txt { display: none; }
  .demobar__cta { margin-left: auto; }
}
@media (max-width: 1180px) {
  .hdr__in { gap: 12px; min-height: 66px; }
  .hdr__side { margin-left: auto; gap: 10px; }
  .hdr__cta { display: none; }
  .burger { display: inline-flex; }
  .nav { position: absolute; top: 100%; left: 0; right: 0; display: none; flex-direction: column; margin: 0; padding: 6px var(--pad) 18px; border-bottom: 1px solid var(--line-strong); background: var(--floor); }
  .nav.is-open { display: flex; }
  .nav a { min-height: 54px; padding: 0 0 0 12px; border-bottom: 1px solid var(--line); border-left: 3px solid transparent; font-size: 1.05rem; }
  .nav a:hover { border-bottom-color: var(--line); }
  .nav a[aria-current="page"] { border-bottom-color: var(--line); border-left-color: var(--accent); }
  .nav .nav__tel { display: inline-flex; gap: 10px; border-bottom: 0; }
}
@media (max-width: 1020px) {
  .two, .two--wide, .trade, .money, .team, .where__in, .calc, .shop__in, .ofihead__in { grid-template-columns: minmax(0, 1fr); }
  .shop__ph { min-height: 0; aspect-ratio: 16 / 9; margin-inline: calc(-1 * var(--pad)); }
  .ofihead__ph { min-height: 0; aspect-ratio: 16 / 8; margin-inline: calc(-1 * var(--pad)); }
  .money__gear { padding: 36px 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .money__ph { max-width: 520px; }
  .map { height: 420px; min-height: 0; }
  .trade__ph { order: -1; }
}
@media (max-width: 899px) {
  .hero__top { flex-direction: column; align-items: flex-start; }
  .featnav__l { display: none; }
  .featnav__b:first-of-type { padding-left: 0; }
  .feat { grid-template-columns: minmax(0, 1fr); }
  .feat__copy { padding-block: 6px 20px; }
  .feat__name { margin-top: 0; }
  .feat__word { font-size: clamp(3.2rem, 15vw, 6rem); }
  .feat__num { font-size: clamp(5rem, 25vw, 9.5rem); }
  .feat__photo { min-height: 0; aspect-ratio: 3 / 2; margin-inline: calc(-1 * var(--pad)); }
  .feat__bar { border-top: 0; }
  .strip--xl > div { padding: 14px 0 12px 12px; }
  .strip--xl dd { font-size: clamp(1.55rem, 7.4vw, 2.6rem); }
  .strip--xl dd small { margin-left: 2px; font-size: .72rem; }
  .strip--xl dt { font-size: .78rem; }
}
@media (max-width: 760px) {
  .stand__ph { position: static; aspect-ratio: 16 / 10; }
  .stand__panel { width: auto; margin: 0 calc(-1 * var(--pad)); padding: 30px var(--pad) 34px; }
  .serv, .crew { grid-template-columns: minmax(0, 1fr); }
  .extras { grid-template-columns: minmax(0, 1fr); }
  .extras__ph { aspect-ratio: 16 / 10; }
}
@media (max-width: 640px) {
  body { font-size: 1rem; }
  .logo__mark { width: 38px; height: 23px; }
  .logo { gap: 9px; }
  .logo__txt b { font-size: 1.4rem; }
  .logo__txt small { display: none; }
  .stock { grid-template-columns: minmax(0, 1fr); gap: 44px; }
  .sec__head .btn, .acts .btn, .form__foot .btn, .feat__act .btn { flex: 1 1 100%; }
  .feat__bar { grid-template-columns: minmax(0, 1fr); }
  .feat__act { padding-top: 0; }
  .form__row { grid-template-columns: minmax(0, 1fr); }
  .fgroup { flex-direction: column; align-items: flex-start; gap: 6px; width: 100%; }
  .sort { width: 100%; margin-left: 0; }
  .sort select { flex: 1 1 auto; }
  .ftr__top { grid-template-columns: minmax(0, 1fr); }
  .clist > div { grid-template-columns: 92px minmax(0, 1fr); }
  .serv h3 { font-size: 1.4rem; }
  .tbl--stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
  .tbl--stack, .tbl--stack tbody, .tbl--stack tr { display: block; }
  .tbl--stack tr { padding: 12px 0; border-bottom: 1px solid var(--line); }
  .tbl--stack tbody th, .tbl--stack td { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 4px 0; border: 0; text-align: right; }
  .tbl--stack tbody th { margin-bottom: 4px; font: 700 1.45rem/1.05 var(--display); text-align: left; text-transform: uppercase; }
  .tbl--stack td::before { content: attr(data-l); color: var(--mute); font: 400 .92rem/1.3 var(--text); text-align: left; white-space: normal; }
  .fab { right: 12px; bottom: 12px; }
}

/* ---- узкие телефоны: длинное слово переносится, а не вылезает из блока ---- */
h1, h2, h3, h4, p, li, dt, dd, td, th, label, b, strong, small, a { overflow-wrap: break-word; }

@media (max-width: 420px) {
  .strip--light { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .strip--light > div:nth-child(3) { padding-left: 0; border-left: 0; }
  .strip--light > div:nth-child(n+3) { border-top: 1px solid var(--ink-line); }
}
@media (max-width: 360px) {
  :root { --pad: 14px; }
  .hdr__in { gap: 8px; }
  .hdr__side { gap: 6px; }
  .logo { gap: 7px; }
  .logo__mark { width: 30px; height: 18px; }
  .logo__txt b { font-size: 1.18rem; }
}

/* ---- телефоны: по ссылкам и кнопкам легче попасть пальцем ---- */
@media (max-width: 700px) {
  .demobar__back, .demobar__cta { display: inline-flex; align-items: center; min-height: 40px; }
  footer a:not([class*="btn"]):not([class*="logo"]):not([class*="brand"]):not([class*="marca"]) { display: inline-block; padding-block: 7px; }
  .link, .tl, .more, .tlink, .lnk, .band__link { display: inline-block; padding-block: 9px; }
}
