/* Kontra Kerékpár – stíluslap
   Színek a régi oldalról és a logóból: lime #A1BB00, tinta (logó felirat) #12142B, szürke #DEDEDE. */
:root {
  --paper: #F2F2EF;
  --paper-2: #E4E4DF;
  --card: #FFFFFF;
  --ink: #12142B;
  --ink-2: #3A3D52;
  --muted: #595C6E;
  --line: #D3D3CC;
  --lime: #A1BB00;
  --lime-hi: #B5D000;
  --lime-ink: #556400;
  --black: #0C0C0E;
  --danger: #B42318;

  --r-sm: 8px;
  --r: 14px;
  --r-lg: 22px;
  --shadow: 0 1px 2px rgb(18 20 43 / .06), 0 8px 24px -12px rgb(18 20 43 / .18);
  --shadow-lg: 0 2px 4px rgb(18 20 43 / .06), 0 24px 48px -20px rgb(18 20 43 / .35);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --wrap: 1240px;
  --gut: clamp(16px, 4vw, 40px);
  --header-h: 76px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: Archivo, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 1.0625rem; line-height: 1.6; font-stretch: 100%;
  text-rendering: optimizeLegibility; -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p a, .prose a, address a, .lead a { color: var(--lime-ink); text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
p a:hover, .prose a:hover { color: var(--ink); }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; border-radius: 4px; }
.section--ink :focus-visible, .footer :focus-visible { outline-color: var(--lime); }
::selection { background: var(--lime); color: var(--ink); }

h1, h2, h3, .h3 { line-height: 1.08; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.01em; text-wrap: balance; }
h1, h2 { font-style: italic; font-stretch: 112%; }
h1 { font-size: clamp(2.1rem, 1.3rem + 3.6vw, 4.1rem); }
h2 { font-size: clamp(1.6rem, 1.15rem + 1.9vw, 2.6rem); }
h3, .h3 { font-size: 1.25rem; font-stretch: 105%; }
.h3 { font-size: clamp(1.3rem, 1rem + 1vw, 1.7rem); font-style: italic; font-stretch: 112%; }
p { margin: 0 0 1em; text-wrap: pretty; }
.lead { font-size: clamp(1.08rem, 1rem + .35vw, 1.25rem); color: var(--ink-2); max-width: 62ch; }
.eyebrow { display: inline-flex; align-items: center; gap: .45em; margin: 0 0 .7rem; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--lime-ink); }
.section--ink .eyebrow { color: var(--lime); }
.muted { color: var(--muted); }

.wrap { width: min(100% - 2 * var(--gut), var(--wrap)); margin-inline: auto; }
.sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--r-sm); text-decoration: none; }
.skip:focus { top: 12px; }
.ic { width: 1.15em; height: 1.15em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  min-height: 48px; padding: .7em 1.25em; border-radius: 999px; border: 2px solid transparent;
  font-weight: 700; font-size: 1rem; line-height: 1.1; text-decoration: none; white-space: nowrap;
  transition: background-color .2s var(--ease), border-color .2s var(--ease), transform .15s var(--ease), color .2s;
  touch-action: manipulation;
}
.btn:active { transform: scale(.97); }
.btn--lime { background: var(--lime); color: var(--ink); }
.btn--lime:hover { background: var(--lime-hi); }
.btn--ink { background: var(--ink); color: #fff; }
.btn--ink:hover { background: #262a4d; }
.btn--ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: #fff; }
.section--ink .btn--ghost { color: #fff; border-color: #fff; }
.btn--lg { min-height: 56px; padding-inline: 1.5em; font-size: 1.05rem; }
.btn--block { width: 100%; }
.btn .ic { width: 1.2em; height: 1.2em; }
.link-arrow { display: inline-flex; align-items: center; gap: .4em; font-weight: 700; text-decoration: none; padding: .5em 0; border-bottom: 2px solid var(--lime); }
.link-arrow .ic { transition: transform .2s var(--ease); }
.link-arrow:hover .ic { transform: translateX(4px); }
.link-btn { background: none; border: 0; padding: .25em .4em; text-decoration: underline; color: var(--lime-ink); font-weight: 600; }

/* ---------- top bar + header ---------- */
.draftbar { margin: 0; padding: .4rem var(--gut); background: #FFD43B; color: #12142B; text-align: center; font-size: .85rem; font-weight: 700; }
.announce { background: var(--lime); color: var(--ink); font-weight: 700; font-size: .95rem; }
.announce .wrap { display: flex; align-items: center; justify-content: center; gap: .5em; padding-block: .6rem; text-align: center; }
.announce p { margin: 0; }
.topbar { background: var(--ink); color: #DADBE6; font-size: .875rem; }
.topbar__in { display: flex; justify-content: space-between; gap: 1rem; padding-block: .45rem; }
.topbar p { margin: 0; display: flex; align-items: center; gap: .45em; }
.open-state[data-state="open"] .ic, .open-state[data-state="open"]::before { color: var(--lime); }
.open-state--inline[data-state]::before { content: ""; display: inline-block; width: .6em; height: .6em; border-radius: 50%; background: currentColor; margin-right: .5em; vertical-align: .05em; }
.open-state--inline[data-state="open"] { color: var(--lime-ink); }
.open-state--inline[data-state="closed"] { color: var(--muted); }
.open-state--inline:empty { display: none; }

.header { position: sticky; top: 0; z-index: 50; background: rgb(242 242 239 / .92); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid var(--line); }
.header__in { display: flex; align-items: center; gap: 1.25rem; min-height: var(--header-h); padding-block: .45rem; }
.brand { flex: none; margin-right: auto; }
.brand__logo { width: clamp(240px, 27vw, 380px); height: auto; }
.nav ul { display: flex; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.nav a { display: block; padding: .6em .85em; border-radius: 999px; font-weight: 600; text-decoration: none; transition: background-color .2s; }
.nav a:hover { background: var(--paper-2); }
.nav a[aria-current="page"] { background: var(--ink); color: #fff; }
.nav-toggle { display: none; width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--ink); background: transparent; align-items: center; justify-content: center; }
.show-sm { display: none; }

/* scroll progress: a little penny-farthing riding along the header's bottom edge */
.ride { position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; pointer-events: none; }
.ride::before { content: ""; position: absolute; inset: 0; background: var(--lime); transform-origin: 0 50%; transform: scaleX(0); }
.ride__bike { position: absolute; bottom: 2px; left: 0; width: 30px; color: var(--ink); opacity: 0; }
.ride__bike svg { width: 30px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; overflow: visible; }

@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .ride::before { animation: grow linear both; animation-timeline: scroll(root); }
    .ride__bike { opacity: 1; animation: ride linear both; animation-timeline: scroll(root); }
  }
}
@keyframes grow { to { transform: scaleX(1); } }
@keyframes ride { from { transform: translateX(-34px); } to { transform: translateX(calc(100vw - 30px)); } }
@keyframes spin { to { transform: rotate(360deg); } } /* csak a 404-es oldalon forog; máshol a logó fixen, egyenesen áll */
@media (prefers-reduced-motion: no-preference) {
  .gear--spin { animation: spin 6s linear infinite !important; animation-timeline: auto !important; }
}

/* ---------- hero ---------- */
.hero { padding-top: clamp(24px, 5vw, 64px); overflow: clip; }
.hero__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(24px, 4vw, 64px); align-items: center; }
.hero__copy h1 { margin-bottom: .4em; }
.hero__cta { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.6rem 0 2rem; }
.proof { display: grid; grid-template-columns: repeat(3, auto); gap: 1.5rem; justify-content: start; list-style: none; margin: 0; padding: 1.25rem 0 0; border-top: 1px solid var(--line); }
.proof li, .proof a { display: flex; flex-direction: column; gap: .1rem; text-decoration: none; }
.proof strong { font-size: 1.6rem; font-weight: 800; font-stretch: 112%; font-style: italic; line-height: 1.1; display: flex; align-items: center; gap: .4rem; }
.proof span { font-size: .9rem; color: var(--muted); }
.proof .stars { display: inline-flex; }
.hero__media { position: relative; margin: 0; }
.hero__photo { display: block; border-radius: var(--r-lg); overflow: hidden; background: var(--paper-2); box-shadow: var(--shadow-lg); aspect-ratio: 4 / 3; }
.hero__photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.hero__photo:hover img { transform: scale(1.03); }
.hero__gear { position: absolute; top: -34px; right: -26px; width: clamp(84px, 10vw, 140px); filter: drop-shadow(0 8px 16px rgb(0 0 0 / .25)); }
.tag {
  position: absolute; left: clamp(-12px, -1vw, 0px); bottom: -26px; transform: rotate(-3deg);
  display: grid; gap: .1rem; padding: .9rem 1.2rem .9rem 2.4rem; min-width: 220px; max-width: 78%;
  background: var(--lime); color: var(--ink); border-radius: 6px 14px 14px 6px; box-shadow: var(--shadow);
}
.tag__hole { position: absolute; left: .85rem; top: 50%; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%; background: var(--paper); box-shadow: inset 0 1px 2px rgb(0 0 0 / .3); }
.tag__label { font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.tag__name { font-weight: 700; text-decoration: none; line-height: 1.25; }
.tag__name:hover { text-decoration: underline; }
.tag__price { font-size: 1.35rem; font-weight: 800; font-style: italic; font-stretch: 112%; font-variant-numeric: tabular-nums; }
.motto-strip { margin: clamp(48px, 7vw, 88px) 0 0; padding: 1rem var(--gut); background: var(--ink); color: #fff; text-align: center; font-style: italic; font-stretch: 110%; font-weight: 600; font-size: clamp(1rem, .9rem + .5vw, 1.3rem); }
.motto-strip span { color: var(--lime); }

/* ---------- sections ---------- */
.section { padding-block: clamp(56px, 8vw, 104px); }
.section--flush { padding-block: clamp(40px, 6vw, 72px) 0; }
.section--tint { background: var(--paper-2); }
.section--ink { background: var(--ink); color: #fff; }
.section__head { display: flex; justify-content: space-between; align-items: end; gap: 1rem 2rem; flex-wrap: wrap; margin-bottom: clamp(24px, 3vw, 40px); }
.section__head h2 { margin-bottom: 0; }
.section__sub { color: var(--ink-2); max-width: 60ch; margin: .75rem 0 0; }

/* ---------- bike cards ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 268px), 1fr)); gap: clamp(14px, 2vw, 24px); }
.grid--sm { grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); }
.card { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: box-shadow .25s var(--ease), transform .25s var(--ease), border-color .25s; }
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: transparent; }
.card__link { display: flex; flex-direction: column; height: 100%; text-decoration: none; }
.card__media { position: relative; aspect-ratio: 4 / 3; background: var(--paper-2); overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.card:hover .card__media img { transform: scale(1.04); }
.card__body { display: flex; flex-direction: column; flex: 1; padding: 1rem 1.1rem 1.15rem; }
.card__brand { margin: 0 0 .2rem; font-size: .78rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase; color: var(--lime-ink); }
.card__title { font-size: 1.06rem; font-weight: 700; font-style: normal; font-stretch: 100%; line-height: 1.3; margin: 0 0 .7rem; letter-spacing: 0; }
.chips { display: flex; flex-wrap: wrap; gap: .35rem; list-style: none; margin: 0 0 1rem; padding: 0; }
.chips li { font-size: .8rem; font-weight: 600; padding: .2em .6em; border-radius: 6px; background: var(--paper); color: var(--ink-2); }
.card__price { margin: auto 0 0; font-size: 1.3rem; font-weight: 800; font-style: italic; font-stretch: 110%; font-variant-numeric: tabular-nums; }
.card--sold .card__media img { filter: grayscale(1); opacity: .7; }
.card--sold .card__price { text-decoration: line-through; color: var(--muted); }
.badge { position: absolute; top: 12px; left: 12px; padding: .3em .7em; border-radius: 999px; font-size: .78rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.badge--new { background: var(--lime); color: var(--ink); }
.badge--hold { background: #fff; color: var(--ink); border: 2px solid var(--ink); }
.badge--sold { background: var(--ink); color: #fff; }
.badge--lg { top: 18px; left: 18px; font-size: .95rem; z-index: 3; }

/* ---------- categories ---------- */
.cats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: clamp(12px, 2vw, 20px); list-style: none; margin: 0; padding: 0; }
.cat { position: relative; display: grid; align-content: end; min-height: 230px; padding: 1.2rem; border-radius: var(--r); overflow: hidden; color: #fff; text-decoration: none; isolation: isolate; background: var(--ink); }
.cat__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s var(--ease); }
.cat::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(12 12 14 / 0) 35%, rgb(12 12 14 / .78)); }
.cat:hover .cat__img { transform: scale(1.05); }
.cat__name { font-size: 1.45rem; font-weight: 800; font-style: italic; font-stretch: 112%; line-height: 1.1; }
.cat__count { display: inline-flex; align-items: center; gap: .4em; margin-top: .3rem; font-weight: 600; color: var(--lime); }

/* ---------- size finder ---------- */
.finder { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(24px, 4vw, 56px); align-items: center; margin-block: clamp(56px, 8vw, 104px); padding: clamp(24px, 4vw, 48px); background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); }
.finder--compact { margin-top: clamp(48px, 6vw, 72px); }
.finder__text p:last-child { color: var(--ink-2); margin: 0; }
.finder__label { display: block; font-weight: 700; margin-bottom: .4rem; }
.finder__label output { font-size: 1.6rem; font-style: italic; font-weight: 800; font-stretch: 112%; font-variant-numeric: tabular-nums; }
.finder input[type=range] { width: 100%; height: 44px; accent-color: var(--lime-ink); cursor: pointer; }
.finder__scale { display: flex; justify-content: space-between; font-size: .8rem; color: var(--muted); margin: -.3rem 0 .6rem; }
.finder__stage { display: flex; align-items: flex-end; justify-content: center; gap: 4px; height: 150px; margin-bottom: .75rem; border-bottom: 3px solid var(--ink); }
.finder__rider { height: 120px; width: auto; transform-origin: 50% 100%; transition: transform .3s var(--ease); }
.finder__person { fill: none; stroke: var(--ink); stroke-width: 6; stroke-linecap: round; }
.finder__person circle { fill: var(--ink); stroke: none; }
.finder__frame { height: 92px; width: auto; color: var(--lime-ink); fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; overflow: visible; transform-origin: 50% 100%; transition: transform .3s var(--ease); }
.finder__result { font-size: 1.05rem; }
.finder__result strong { display: inline-block; min-width: 2ch; padding: 0 .35em; border-radius: 6px; background: var(--lime); font-weight: 800; }
.finder__note { margin: 1rem 0 0; font-size: .85rem; color: var(--muted); }

/* ---------- service ---------- */
.packages { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: clamp(12px, 2vw, 20px); list-style: none; margin: 0 0 1.5rem; padding: 0; counter-reset: pk; }
.package { position: relative; padding: 1.5rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); }
.package:nth-child(2) { border: 2px solid var(--ink); }
.package h3 { margin-bottom: .2rem; }
.package__price { font-size: 1.9rem; font-weight: 800; font-style: italic; font-stretch: 112%; margin-bottom: .6rem; font-variant-numeric: tabular-nums; }
.package p:last-child { margin: 0; color: var(--ink-2); }
.quick-prices { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 0 2rem; list-style: none; margin: 0; padding: 0; }
.quick-prices li { display: flex; justify-content: space-between; gap: 1rem; padding: .8rem 0; border-bottom: 1px dashed var(--line); }
.quick-prices b { white-space: nowrap; font-variant-numeric: tabular-nums; }

.pricelist { margin-top: clamp(40px, 6vw, 72px); }
.pricelist__head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.pricelist__head h2 { margin: 0; }
.toc { display: flex; flex-wrap: wrap; gap: .4rem; margin-bottom: 1.5rem; }
.toc a { padding: .45em .9em; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-size: .9rem; font-weight: 600; text-decoration: none; min-height: 40px; display: inline-flex; align-items: center; }
.toc a:hover { border-color: var(--ink); }
.pricelist__groups { columns: 2 420px; column-gap: clamp(20px, 3vw, 40px); }
.pricegroup { break-inside: avoid; margin-bottom: 1.75rem; padding: 1.25rem 1.4rem .5rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); }
.pricegroup h3 { font-style: italic; font-stretch: 112%; color: var(--ink); }
.pricegroup table { width: 100%; border-collapse: collapse; }
.pricegroup th, .pricegroup td { padding: .6rem 0; border-top: 1px solid var(--paper-2); vertical-align: top; text-align: left; font-weight: 400; }
.pricegroup td { text-align: right; padding-left: 1rem; font-weight: 700; white-space: nowrap; font-variant-numeric: tabular-nums; }
.pricegroup tr:first-child th, .pricegroup tr:first-child td { border-top: 0; }
mark { background: var(--lime); color: var(--ink); border-radius: 3px; padding: 0 .1em; }
.notes { margin-block: 1rem clamp(40px, 6vw, 72px); padding: 1.5rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); }
.notes ul { margin: 0; padding-left: 1.2rem; }
.notes li + li { margin-top: .5rem; }
.empty-inline { padding: 1rem 1.25rem; background: var(--card); border-radius: var(--r); }

/* ---------- reviews ---------- */
.reviews { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.score { display: flex; align-items: center; gap: .75rem; margin: 1rem 0 .2rem; }
.score strong { font-size: clamp(3.5rem, 3rem + 3vw, 5.5rem); font-weight: 850; font-style: italic; font-stretch: 115%; line-height: 1; color: var(--lime); }
.score .stars svg { width: 26px; height: 26px; }
.score__count { color: #C9CAD8; margin-bottom: 1.5rem; }
.stars { display: inline-flex; gap: 2px; color: #F5B301; }
.stars svg { width: 18px; height: 18px; }
.section--ink .stars { color: var(--lime); }
.reviews__list { display: grid; gap: 1.25rem; }
.quote { margin: 0; padding: 1.5rem 1.6rem; border-radius: var(--r); background: #1D2040; border: 1px solid #2D3157; }
.quote blockquote { margin: .75rem 0; font-size: 1.08rem; line-height: 1.6; }
.quote blockquote p { margin: 0; }
.quote figcaption { color: #C9CAD8; font-size: .92rem; }

/* ---------- about ---------- */
.about { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.about__text p { color: var(--ink-2); max-width: 62ch; }
.facts { display: grid; gap: 1rem; list-style: none; margin: 0; padding: 0; }
.facts li { display: flex; gap: 1rem; align-items: flex-start; padding: 1.2rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--r); }
.facts .ic { width: 40px; height: 40px; padding: 8px; border-radius: 50%; background: var(--lime); color: var(--ink); stroke-width: 2; }
.facts div { display: grid; }
.facts span { color: var(--muted); font-size: .95rem; }

/* ---------- visit / map ---------- */
.visit { background: var(--paper-2); }
.visit__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(28px, 4vw, 56px); align-items: stretch; }
.visit__addr { font-size: 1.1rem; }
.hours { display: grid; gap: 0; margin: 0; max-width: 380px; }
.hours div { display: flex; justify-content: space-between; gap: 1rem; padding: .55rem .75rem; border-radius: 8px; }
.hours dt { font-weight: 600; }
.hours dd { margin: 0; font-variant-numeric: tabular-nums; }
.hours .is-today { background: var(--card); font-weight: 700; }
.hours .is-today dt::after { content: " · ma"; color: var(--lime-ink); }
.visit__hours { margin: 1.5rem 0; }
.visit__hours h3 { margin-bottom: .5rem; }
.visit__cta { display: flex; flex-wrap: wrap; gap: .6rem; }
.map { position: relative; min-height: 380px; border-radius: var(--r-lg); overflow: hidden; background: #E9EBE2; border: 1px solid var(--line); }
.map__img, .map__img picture, .map__img img { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.map__img img { object-fit: cover; object-position: 50% 55%; transition: transform .4s var(--ease); }
.map__img:hover img { transform: scale(1.02); }
.map__credit { position: absolute; left: 10px; top: 8px; margin: 0; font-size: .7rem; color: var(--muted); background: rgb(255 255 255 / .75); padding: .1em .45em; border-radius: 4px; pointer-events: none; }
.map__open { position: absolute; right: 12px; bottom: 12px; display: inline-flex; align-items: center; gap: .45em; min-height: 44px; padding: .5em 1em; border-radius: 999px; background: var(--ink); color: #fff; font-weight: 700; font-size: .9rem; text-decoration: none; box-shadow: var(--shadow); }
.map__open:hover { background: #262a4d; }

/* ---------- listing ---------- */
.crumbs ol { display: flex; flex-wrap: wrap; gap: .2rem; list-style: none; margin: 1.25rem 0 0; padding: 0; font-size: .9rem; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin: 0 .45rem 0 .25rem; color: var(--line); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.page-head { padding-block: clamp(16px, 3vw, 32px) clamp(20px, 3vw, 32px); }
.page-head h1 { max-width: 20ch; }
.filters { position: sticky; top: calc(var(--header-h) - 1px); z-index: 20; display: grid; gap: .75rem; margin: 0 calc(-1 * var(--gut)) 1.5rem; padding: .9rem var(--gut); background: rgb(242 242 239 / .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.filters > * { min-width: 0; }
.filters__row { display: flex; flex-wrap: wrap; gap: .6rem; align-items: end; }
.seg { display: flex; gap: .4rem; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.seg::-webkit-scrollbar { display: none; }
.seg__btn { display: inline-flex; align-items: center; gap: .45em; min-height: 42px; padding: .4em 1em; border-radius: 999px; border: 1.5px solid var(--line); background: var(--card); font-weight: 600; text-decoration: none; white-space: nowrap; transition: border-color .2s, background-color .2s; }
.seg__btn span { font-size: .8rem; color: var(--muted); font-variant-numeric: tabular-nums; }
.seg__btn:hover { border-color: var(--ink); }
.seg__btn[aria-current] { background: var(--ink); border-color: var(--ink); color: #fff; }
.seg__btn[aria-current] span { color: var(--lime); }
.field { display: grid; gap: .2rem; }
.field__label { font-size: .78rem; font-weight: 700; color: var(--muted); }
.field select, .field input { min-height: 44px; padding: .5rem .8rem; border-radius: 10px; border: 1.5px solid var(--line); background: var(--card); color: var(--ink); font: inherit; font-size: 1rem; }
.field select:hover, .field input:hover { border-color: var(--ink-2); }
.field--search { position: relative; flex: 1 1 260px; display: block; }
.field--search .ic { position: absolute; left: .85rem; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.field--search input { width: 100%; padding-left: 2.6rem; }
.filters__count { margin: 0; font-size: .95rem; color: var(--ink-2); }
.card[hidden] { display: none; }
.empty { display: grid; justify-items: center; gap: .5rem; text-align: center; padding: clamp(32px, 6vw, 72px) 1rem; }
.empty h2, .empty h1 { margin: .5rem 0 0; }
.empty p { color: var(--ink-2); max-width: 52ch; }
.empty--page { min-height: 60vh; align-content: center; }
.sold { margin-top: clamp(56px, 7vw, 88px); }
.sold h2 { font-size: 1.5rem; }

/* ---------- product page ---------- */
.pdp { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(320px, 1fr); gap: clamp(24px, 4vw, 56px); align-items: start; margin-top: 1.25rem; }
.gallery { position: relative; min-width: 0; }
.gallery__main { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; border-radius: var(--r-lg); background: var(--paper-2); scrollbar-width: none; overscroll-behavior-x: contain; }
.gallery__main::-webkit-scrollbar { display: none; }
.gallery__slide { flex: 0 0 100%; margin: 0; scroll-snap-align: start; aspect-ratio: 4 / 3; }
.gallery__zoom { display: block; width: 100%; height: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.gallery__zoom img { width: 100%; height: 100%; object-fit: cover; }
.gallery__arrow { position: absolute; top: calc(50% - 48px); width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgb(255 255 255 / .92); box-shadow: var(--shadow); display: grid; place-items: center; transition: transform .15s var(--ease), opacity .2s; }
.gallery__arrow:active { transform: scale(.94); }
.gallery__arrow:disabled { opacity: 0; pointer-events: none; }
.gallery__arrow--prev { left: 14px; }
.gallery__arrow--next { right: 14px; }
.gallery__counter { position: absolute; top: 14px; right: 14px; margin: 0; padding: .2em .65em; border-radius: 999px; background: rgb(12 12 14 / .7); color: #fff; font-size: .85rem; font-variant-numeric: tabular-nums; }
.gallery__thumbs { display: flex; gap: .5rem; overflow-x: auto; list-style: none; margin: .75rem 0 0; padding: 2px 2px 6px; scrollbar-width: thin; }
.gallery__thumbs a { display: block; width: 88px; aspect-ratio: 4 / 3; border-radius: 8px; overflow: hidden; outline-offset: 2px; opacity: .65; transition: opacity .2s; border: 2px solid transparent; }
.gallery__thumbs a:hover, .gallery__thumbs a[aria-current] { opacity: 1; }
.gallery__thumbs a[aria-current] { border-color: var(--ink); }
.gallery__thumbs img { width: 100%; height: 100%; object-fit: cover; }
.pdp__info { position: sticky; top: calc(var(--header-h) + 20px); }
.pdp__title { font-size: clamp(1.8rem, 1.3rem + 2vw, 2.7rem); margin-bottom: .3rem; }
.pdp__price { font-size: clamp(2rem, 1.6rem + 1.6vw, 2.8rem); font-weight: 850; font-style: italic; font-stretch: 112%; margin: 0 0 1rem; font-variant-numeric: tabular-nums; }
.notice { padding: .9rem 1.1rem; border-radius: var(--r-sm); background: var(--card); border: 1.5px solid var(--ink); font-weight: 600; }
.keyfacts { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin: 0 0 1.25rem; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.keyfacts div { background: var(--card); padding: .8rem 1rem; }
.keyfacts dt { font-size: .78rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.keyfacts dd { margin: 0; font-weight: 700; }
.keyfacts small { color: var(--muted); font-weight: 600; }
.pdp__cta { display: grid; gap: .6rem; margin-bottom: 1rem; }
.pdp__visit { display: flex; gap: .6rem; align-items: flex-start; font-size: .95rem; color: var(--ink-2); }
.pdp__visit .ic { margin-top: .2em; }
.pdp__desc { margin-top: 1.75rem; padding-top: 1.5rem; border-top: 1px solid var(--line); }
.pdp__desc h2 { font-size: 1.35rem; font-style: normal; font-stretch: 105%; }
.specs { margin: 0 0 1.25rem; padding: 0; list-style: none; }
.specs li { position: relative; padding: .45rem 0 .45rem 1.4rem; border-bottom: 1px solid var(--paper-2); }
.specs li::before { content: ""; position: absolute; left: 0; top: 1.05em; width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 2px var(--ink); }
.pdp__small { font-size: .92rem; color: var(--muted); }

.lightbox { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0; padding: 0; border: 0; background: rgb(8 8 10 / .96); color: #fff; }
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgb(8 8 10 / .9); }
.lightbox img { max-width: min(96vw, 1600px); max-height: 86dvh; width: auto; height: auto; object-fit: contain; }
.lightbox__close, .lightbox__nav { position: fixed; width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgb(255 255 255 / .12); color: #fff; display: grid; place-items: center; }
.lightbox__close:hover, .lightbox__nav:hover { background: rgb(255 255 255 / .24); }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__nav--prev { left: 16px; top: 50%; }
.lightbox__nav--next { right: 16px; top: 50%; }
.lightbox__count { position: fixed; bottom: 16px; left: 0; right: 0; text-align: center; margin: 0; color: #C9CAD8; font-variant-numeric: tabular-nums; }

/* ---------- prose ---------- */
.prose { max-width: 760px; padding-bottom: clamp(48px, 7vw, 96px); }
.prose h1 { margin-top: 1.5rem; }
.prose h2 { font-size: 1.4rem; margin-top: 2rem; }
.prose p { color: var(--ink-2); }

/* ---------- footer ---------- */
.footer { background: var(--black); color: #C9CAD8; padding-top: clamp(48px, 6vw, 80px); font-size: .95rem; }
.footer a { color: #fff; text-decoration: none; }
.footer a:hover { color: var(--lime); }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1.2fr 1fr 1fr; gap: 2rem; }
.footer__h { font-size: .8rem; font-style: normal; font-stretch: 100%; letter-spacing: .1em; text-transform: uppercase; color: var(--lime); margin-bottom: 1rem; }
.footer address { font-style: normal; line-height: 1.8; }
.footer__links { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.footer .hours div { padding: .25rem 0; }
.footer .hours .is-today { background: transparent; box-shadow: none; color: #fff; }
.motto { font-style: italic; font-stretch: 110%; font-size: 1.1rem; color: #fff; max-width: 28ch; margin-top: 1rem; }
.footer__legal { margin-top: 3rem; padding-block: 1.25rem calc(1.25rem + env(safe-area-inset-bottom)); border-top: 1px solid #24252B; font-size: .85rem; color: #8E90A0; }
.footer__legal p { margin: 0; }
.callbar { display: none; }

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 980px) {
  :root { --header-h: 68px; }
  .hero__grid, .reviews, .about, .visit__grid, .finder { grid-template-columns: 1fr; }
  .hero__media { margin: 1rem auto 2.5rem; width: 100%; max-width: 720px; }
  .pdp { grid-template-columns: 1fr; }
  .pdp__info { position: static; }
  .nav-toggle { display: inline-flex; }
  .nav { position: fixed; inset: var(--header-h) 0 auto 0; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg); padding: .75rem var(--gut) 1.25rem; transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .2s var(--ease), transform .2s var(--ease), visibility 0s .2s; }
  .nav[data-open] { transform: none; opacity: 1; visibility: visible; transition: opacity .2s var(--ease), transform .2s var(--ease); }
  .nav ul { flex-direction: column; }
  .nav a { padding: .85em 1em; font-size: 1.1rem; }
  .header__in { gap: .6rem; }
  .map { min-height: 340px; }
}
@media (max-width: 760px) {
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .topbar .topbar__addr { display: none; }
  .header__call { display: none; }
  .tag { position: relative; left: auto; bottom: auto; margin: -28px 0 0 10px; max-width: calc(100% - 20px); }
  .hide-sm { display: none; }
  .show-sm { display: inline; }
  .brand__logo { width: 220px; }
  .proof { grid-template-columns: 1fr 1fr; }
  .proof li:first-child { grid-column: 1 / -1; }
  .tag { min-width: 0; padding: .7rem 1rem .7rem 2.2rem; }
  .tag__price { font-size: 1.15rem; }
  .filters { position: static; margin-inline: 0; padding-inline: 0; background: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .filters__row--controls { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .field select { width: 100%; min-width: 0; }
  .filters__row--controls .field--search { grid-column: 1 / -1; }
  .filters__row--controls .field:last-child { grid-column: 1 / -1; }
  .grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .card__body { padding: .75rem .8rem .9rem; }
  .card__title { font-size: .95rem; }
  .chips li:nth-child(3) { display: none; }
  .card__price { font-size: 1.1rem; }
  .badge { top: 8px; left: 8px; font-size: .7rem; }
  .gallery__arrow { display: none; }
  .gallery__main { border-radius: var(--r); margin-inline: calc(-1 * var(--gut) + 6px); }
  .footer__grid { grid-template-columns: 1fr; }
  .callbar { position: fixed; z-index: 60; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: repeat(3, 1fr); padding-bottom: env(safe-area-inset-bottom); background: var(--ink); box-shadow: 0 -8px 24px rgb(0 0 0 / .2); }
  .callbar a { display: grid; justify-items: center; gap: 2px; padding: .55rem 0 .6rem; color: #fff; text-decoration: none; font-size: .78rem; font-weight: 700; min-height: 56px; }
  .callbar a:first-child { background: var(--lime); color: var(--ink); }
  .callbar .ic { width: 22px; height: 22px; }
  .hero__gear { right: -10px; top: -22px; }
  .quick-prices li { font-size: .95rem; }
}
@media (max-width: 340px) {
  .grid { grid-template-columns: 1fr; }
  .brand__logo { width: 180px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
@media print {
  .topbar, .header, .callbar, .filters, .footer, .finder, .map, .gallery__thumbs, .gallery__arrow { display: none !important; }
}
