/* E-BIKE Rent Ždiar - "trail field guide": warm paper, spruce green, signal orange.
   The recurring mark is the hiking trail blaze (white, colour, white bands); its colour also
   carries route difficulty: green = easy, blue = moderate, red = hard. */

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../fonts/bricolage-grotesque-latin-ext.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Bricolage Grotesque";
  src: url("../fonts/bricolage-grotesque-latin.woff2") format("woff2");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Figtree";
  src: url("../fonts/figtree-latin-ext.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Figtree";
  src: url("../fonts/figtree-latin.woff2") format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --paper: #f6f1e7;
  --paper-deep: #ece4d3;
  --card: #fffdf8;
  --ink: #17261f;
  --muted: #4d5b53;
  --line: #d6ccb8;
  --spruce: #1e4d3b;
  --spruce-deep: #143528;
  --orange: #c9410c;
  --orange-deep: #a8340a;
  --easy: #2e7d4f;
  --medium: #235f9e;
  --hard: #b3311f;
  --font-display: "Bricolage Grotesque", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --font-body: "Figtree", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1180px;
}

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img, svg {
  display: block;
  max-width: 100%;
}

img {
  height: auto;
}

a {
  color: inherit;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.14;
  letter-spacing: -0.015em;
  margin: 0;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.5rem);
}

h2 {
  font-size: clamp(1.5rem, 2.8vw, 2.1rem);
  margin: 0 0 14px;
}

h3 {
  font-size: 1.2rem;
  line-height: 1.22;
}

p {
  margin: 0 0 12px;
}

.h-small {
  font-size: 1.15rem;
  letter-spacing: 0;
  margin: 0 0 12px;
}

:focus-visible {
  outline: 3px solid var(--medium);
  outline-offset: 2px;
}

.svg-defs {
  position: absolute;
}

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 24px;
}

.wrap-narrow {
  max-width: 820px;
}

/* Trail blaze */
.trail-mark {
  display: inline-block;
  width: 22px;
  height: 15px;
  flex-shrink: 0;
  border: 1px solid rgba(23, 38, 31, 0.28);
  background: linear-gradient(#ffffff 0 33.4%, var(--mark, var(--orange)) 33.4% 66.6%, #ffffff 66.6%);
}

.trail-brand { --mark: var(--orange); }
.trail-easy { --mark: var(--easy); }
.trail-medium { --mark: var(--medium); }
.trail-hard { --mark: var(--hard); }

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--spruce);
}

.lead {
  font-size: 1.14rem;
  color: var(--muted);
  max-width: 60ch;
  margin: 16px 0 0;
}

.note {
  font-size: 0.9rem;
  color: var(--muted);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 20px;
  border: 1.5px solid transparent;
  border-radius: 3px;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn-sm {
  padding: 8px 14px;
  font-size: 0.92rem;
}

.btn-block {
  width: 100%;
}

.btn-primary {
  background: var(--orange);
  color: #ffffff;
}

.btn-primary:hover {
  background: var(--orange-deep);
}

.btn-ghost {
  border-color: var(--spruce);
  color: var(--spruce);
  background: transparent;
}

.btn-ghost:hover {
  background: var(--spruce);
  color: #ffffff;
}

.btn-wa svg {
  color: #1f8f4e;
}

.btn-wa:hover svg {
  color: #ffffff;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-top: 22px;
}

.btn-row-quiet {
  margin-top: 16px;
  gap: 8px 22px;
}

.link-icon {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
}

.link-icon:hover {
  border-bottom-color: var(--ink);
}

.link-icon svg {
  color: var(--spruce);
}

.text-link {
  color: var(--spruce);
  font-weight: 600;
  text-underline-offset: 3px;
}

/* Header: one row, the page links scroll sideways on phones (no menu button, no script) */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 241, 231, 0.96);
  border-bottom: 1px solid var(--line);
}

.header-row {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 60px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.16rem;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  grid-template-rows: repeat(3, 1fr);
  width: 26px;
  height: 20px;
  border: 1.5px solid var(--ink);
}

.brand-mark span:nth-child(2) {
  background: var(--orange);
}

.brand-mark span:nth-child(odd) {
  background: #ffffff;
}

.brand-tag {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  padding-left: 10px;
  border-left: 1px solid var(--line);
}

.site-nav {
  display: flex;
  gap: 4px;
  margin-left: auto;
}

.site-nav a {
  padding: 8px 11px;
  font-weight: 600;
  font-size: 0.96rem;
  text-decoration: none;
  border-radius: 3px;
  white-space: nowrap;
}

.site-nav a:hover {
  background: var(--paper-deep);
}

.site-nav a[aria-current="page"] {
  box-shadow: inset 0 -3px 0 var(--orange);
  border-radius: 0;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-switch {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 3px;
  overflow: hidden;
}

.lang-btn {
  padding: 6px 9px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: var(--muted);
}

.lang-btn:hover {
  background: var(--paper-deep);
}

.lang-btn.active {
  background: var(--spruce);
  color: #ffffff;
}

/* Hero */
.hero {
  padding: 56px 0 0;
  background:
    url("../img/contours.svg") right -80px top -40px / 720px auto no-repeat,
    var(--paper);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 48px;
  align-items: center;
}

.hero-figure,
.plain-figure {
  margin: 0;
}

.hero-figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 4px;
}

figcaption {
  margin-top: 8px;
  font-size: 0.86rem;
  color: var(--muted);
}

figcaption a {
  color: inherit;
}

.plain-figure img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 4px;
}

/* Fact ledger: label above value, hairlines between */
.ledger {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 44px 0 0;
  border-top: 1.5px solid var(--ink);
  border-bottom: 1px solid var(--line);
}

.ledger div {
  padding: 14px 18px 16px;
  border-left: 1px solid var(--line);
}

.ledger div:first-child {
  border-left: 0;
  padding-left: 0;
}

.ledger dt {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.ledger dd {
  margin: 2px 0 0;
  font-family: var(--font-display);
  font-size: 1.28rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.ledger-route {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  margin-top: 28px;
}

/* Sections */
.section {
  padding: 72px 0;
}

.section-tight {
  padding: 48px 0 64px;
}

.section-card {
  background: var(--card);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-sub {
  color: var(--muted);
  max-width: 62ch;
}

.section-cta {
  margin: 28px 0 0;
}

.page-head {
  padding: 48px 0 8px;
  background:
    url("../img/contours.svg") right -120px top -90px / 640px auto no-repeat,
    var(--paper);
}

/* Steps */
.steps {
  list-style: none;
  counter-reset: step;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  border-top: 1.5px solid var(--ink);
}

.steps-4 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-bottom: 34px;
}

.steps li {
  counter-increment: step;
  padding: 18px 22px 20px 0;
  border-bottom: 1px solid var(--line);
}

.steps li + li {
  padding-left: 22px;
  border-left: 1px solid var(--line);
}

.steps-4 li:nth-child(odd) {
  padding-left: 0;
  border-left: 0;
}

.steps li::before {
  content: counter(step) ".";
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--orange);
  margin-bottom: 6px;
}

.steps h3 {
  margin-bottom: 6px;
}

.steps p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

/* Offer */
.bike-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin-top: 28px;
}

.bike-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
}

.bike-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.bike-body {
  padding: 20px 22px 22px;
}

.bike-body p {
  color: var(--muted);
  margin: 8px 0 0;
}

.bike-body .price-tag,
.price-tag {
  display: inline-block;
  margin-top: 14px;
  padding: 5px 10px;
  border: 1.5px solid var(--ink);
  border-radius: 2px;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
}

.extra-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin-top: 24px;
  border-top: 1.5px solid var(--ink);
  border-bottom: 1px solid var(--line);
}

.extra-card {
  padding: 18px 20px 20px;
  border-left: 1px solid var(--line);
}

.extra-card:first-child {
  border-left: 0;
  padding-left: 0;
}

.extra-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 3px;
  margin-bottom: 12px;
}

.extra-card p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.97rem;
}

.included {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 22px;
  margin-top: 26px;
}

.included-flat {
  display: block;
  margin: 34px 0;
  padding: 20px 22px;
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 4px solid var(--spruce);
  border-radius: 2px;
}

.included h3 {
  font-size: 1.05rem;
}

.check-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.check-list li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.check-list svg {
  color: var(--spruce);
  flex-shrink: 0;
}

/* Route cards */
.route-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 26px;
}

.route-grid-all {
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  margin-top: 0;
}

.route-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 16px 18px 18px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 4px;
  text-decoration: none;
  transition: border-color 0.15s ease, transform 0.15s ease;
}

.route-card:hover {
  border-color: var(--spruce);
  transform: translateY(-2px);
}

.route-card-top {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--muted);
}

.route-no {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1;
  color: var(--ink);
  margin-right: auto;
  font-variant-numeric: tabular-nums;
}

.route-mini {
  width: 100%;
  height: auto;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 2px;
}

.route-card-title {
  font-size: 1.1rem;
  line-height: 1.22;
  margin: 4px 0 0;
}

.route-card-teaser {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.45;
}

.route-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

/* SVG route drawings (colours here, the build writes geometry only) */
.map-bg {
  fill: var(--paper);
}

.map-grid-line {
  fill: none;
  stroke: var(--line);
  stroke-width: 1;
}

.map-halo {
  fill: none;
  stroke: #ffffff;
  stroke-width: 9;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.map-line {
  fill: none;
  stroke: var(--spruce);
  stroke-width: 4;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.route-mini .map-line {
  stroke-width: 3;
}

.map-start {
  fill: var(--orange);
  stroke: #ffffff;
  stroke-width: 3;
}

.map-end {
  fill: var(--spruce);
  stroke: #ffffff;
  stroke-width: 3;
}

.map-label {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  fill: var(--ink);
  paint-order: stroke;
  stroke: var(--paper);
  stroke-width: 5px;
}

.map-small {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  fill: var(--muted);
}

.map-scale {
  fill: none;
  stroke: var(--ink);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.profile-area {
  fill: rgba(30, 77, 59, 0.14);
}

.profile-line {
  fill: none;
  stroke: var(--spruce);
  stroke-width: 2.5;
  stroke-linejoin: round;
}

.map-frame {
  border: 1px solid var(--line);
  border-radius: 4px;
  overflow: hidden;
  background: var(--paper);
}

.map-frame svg {
  width: 100%;
  height: auto;
}

.map-frame-profile {
  background: var(--card);
  margin-bottom: 34px;
}

/* Route page */
.crumbs {
  margin: 0 0 18px;
  font-size: 0.92rem;
  font-weight: 600;
}

.crumbs a {
  color: var(--spruce);
  text-underline-offset: 3px;
}

.route-line {
  margin: 12px 0 0;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--spruce);
}

.route-head .note {
  margin-top: 12px;
}

.route-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 0.85fr);
  gap: 44px;
  align-items: start;
}

.route-main .btn-row {
  margin: 14px 0 34px;
}

.route-main .note {
  margin: 10px 0 0;
}

.route-side {
  display: grid;
  gap: 20px;
  position: sticky;
  top: 84px;
}

.route-pager {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 48px;
}

.route-pager a {
  display: block;
  padding: 14px 18px;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: var(--card);
  text-decoration: none;
}

.route-pager a:hover {
  border-color: var(--spruce);
}

.route-pager a:last-child {
  text-align: right;
}

.route-pager span {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.route-pager strong {
  font-family: var(--font-display);
}

.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  align-items: center;
  margin: 22px 0 0;
  font-size: 0.94rem;
  font-weight: 600;
}

.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 48px;
  align-items: start;
}

.addr {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.gps {
  font-size: 0.92rem;
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}

.contact-grid .btn-row {
  margin-top: 14px;
}

.fact-list {
  list-style: none;
  margin: 26px 0 0;
  padding: 0;
  border-top: 1.5px solid var(--ink);
}

.fact-list li {
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}

.operator {
  margin-top: 18px;
  font-size: 0.88rem;
  color: var(--muted);
}

.help-box {
  margin-top: 20px;
  padding: 20px 22px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-left: 4px solid var(--orange);
  border-radius: 2px;
}

.route-side .help-box,
.wrap-narrow > .help-box:first-child {
  margin-top: 0;
}

.help-box-quiet {
  border-left-color: var(--spruce);
}

.help-box-wide {
  margin-top: 40px;
  max-width: 720px;
}

.help-box p {
  margin: 0 0 8px;
  color: var(--muted);
}

.help-box p:last-child {
  margin-bottom: 0;
}

.help-phones {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.08rem;
}

.help-box .help-phones {
  color: var(--ink);
}

.help-phones a {
  text-decoration: none;
  border-bottom: 1.5px solid var(--orange);
}

/* FAQ */
.faq-list {
  border-top: 1.5px solid var(--ink);
}

.faq-item {
  border-bottom: 1px solid var(--line);
}

.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-mark {
  flex-shrink: 0;
  color: var(--orange);
  font-size: 1.3rem;
  line-height: 1;
}

.faq-item[open] .faq-mark {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 0 18px;
  color: var(--muted);
  max-width: 68ch;
}

/* Prices */
.table-wrap {
  overflow-x: auto;
  margin: 14px 0 38px;
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  border-top: 1.5px solid var(--ink);
  font-variant-numeric: tabular-nums;
}

.price-table th,
.price-table td {
  padding: 12px 14px 12px 0;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: baseline;
}

.price-table thead th {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.price-table tbody th {
  font-weight: 600;
}

.price-num {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  white-space: nowrap;
}

.price-guest {
  color: var(--spruce);
}

.price-muted {
  color: var(--muted);
  font-size: 0.94rem;
}

.price-table-plain {
  margin: 14px 0 38px;
}

.price-table-plain td {
  font-family: var(--font-display);
  font-weight: 700;
  text-align: right;
  padding-right: 0;
}

.page-prices h2,
.page-drone .wrap-narrow h2 {
  margin-top: 8px;
}

.page-prices .wrap-narrow > p,
.page-drone .wrap-narrow > p {
  color: var(--muted);
  margin-bottom: 30px;
}

.plain-list {
  margin: 0 0 14px;
  padding-left: 22px;
  color: var(--muted);
}

.plain-list li {
  margin-bottom: 6px;
}

.plain-list li::marker {
  color: var(--orange);
}

.cta-band {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 40px;
  padding-top: 26px;
  border-top: 1.5px solid var(--ink);
}

/* Booking form */
.form-card {
  padding: 28px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 4px;
}

fieldset {
  margin: 0 0 22px;
  padding: 0;
  border: 0;
  min-width: 0;
}

legend {
  width: 100%;
  padding: 0 0 8px;
  margin-bottom: 14px;
  border-bottom: 1.5px solid var(--ink);
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 700;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 16px;
}

.form-grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 14px;
}

.form-field label,
.count-field span {
  font-size: 0.92rem;
  font-weight: 600;
}

input, select, textarea, button {
  font: inherit;
}

.form-field input,
.form-field select,
.form-field textarea,
.count-field input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #7c867f;
  border-radius: 3px;
  background: #ffffff;
  color: var(--ink);
}

.form-field textarea {
  resize: vertical;
  field-sizing: content;
  min-block-size: 5lh;
}

.form-field input:user-invalid,
.form-field select:user-invalid {
  border-color: var(--hard);
  box-shadow: inset 0 0 0 1px var(--hard);
}

.field-hint {
  font-size: 0.84rem;
  color: var(--muted);
}

.count-grid {
  display: grid;
  gap: 0;
  margin-bottom: 14px;
}

.count-field {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 9px 0;
  border-bottom: 1px solid var(--line);
}

.count-field input {
  width: 84px;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 700;
}

.check-field {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 14px;
  cursor: pointer;
}

.check-field input {
  width: 20px;
  height: 20px;
  margin: 3px 0 0;
  flex-shrink: 0;
  accent-color: var(--spruce);
}

.check-field a {
  color: var(--spruce);
  text-underline-offset: 3px;
}

.form-status {
  min-height: 1.5em;
  margin: 12px 0 4px;
  font-weight: 600;
  color: var(--spruce);
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Privacy text */
.doc h2 {
  font-size: 1.25rem;
  margin: 30px 0 8px;
}

.doc p {
  color: var(--muted);
}

.doc-back {
  margin-top: 32px;
}

/* 404 */
.error-block + .error-block {
  margin-top: 34px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.error-block h1,
.error-block h2 {
  font-size: 1.7rem;
  margin-bottom: 8px;
}

.error-block p {
  color: var(--muted);
}

/* Footer */
.site-footer {
  background: var(--spruce-deep);
  color: #d5e2da;
  padding: 52px 0 26px;
  font-size: 0.95rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 34px;
}

.site-footer p {
  margin: 0 0 10px;
}

.site-footer a {
  color: #ffffff;
  text-underline-offset: 3px;
}

.footer-brand,
.footer-title {
  font-family: var(--font-display);
  font-weight: 700;
  color: #ffffff;
}

.footer-brand {
  font-size: 1.2rem;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 20px;
  margin-top: 30px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.86rem;
}

/* Tablet */
@media (max-width: 1020px) {
  .hero-grid,
  .contact-grid,
  .route-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .route-side {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .route-side .plain-figure {
    grid-column: 1 / -1;
  }

  .route-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .extra-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .extra-card:nth-child(odd) {
    border-left: 0;
    padding-left: 0;
  }

  .extra-card:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .header-row {
    flex-wrap: wrap;
    gap: 0 12px;
  }

  .header-actions {
    margin-left: auto;
  }

  .header-row .brand,
  .header-row .header-actions {
    min-height: 56px;
  }

  .site-nav {
    order: 3;
    margin: 0 -24px;
    padding: 0 16px 8px;
    width: calc(100% + 48px);
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
  }

  html {
    scroll-padding-top: 116px;
  }
}

/* Phone */
@media (max-width: 680px) {
  body {
    font-size: 1rem;
  }

  .wrap {
    padding: 0 16px;
  }

  .site-nav {
    margin: 0 -16px;
    padding: 0 8px 8px;
    width: calc(100% + 32px);
  }

  .hero {
    padding-top: 30px;
    background-size: 460px auto;
  }

  .section {
    padding: 48px 0;
  }

  .ledger,
  .ledger-route {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ledger div {
    padding: 12px 12px 12px 0;
    border-left: 0;
    border-bottom: 1px solid var(--line);
  }

  .ledger div:nth-child(even) {
    padding-left: 14px;
    border-left: 1px solid var(--line);
  }

  .ledger {
    border-bottom: 0;
  }

  .ledger dd {
    font-size: 1.12rem;
  }

  .steps,
  .steps-4,
  .bike-grid,
  .route-grid,
  .extra-grid,
  .form-grid,
  .form-grid-3,
  .route-side,
  .route-pager,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .steps li + li,
  .steps-4 li {
    padding-left: 0;
    border-left: 0;
  }

  .extra-card,
  .extra-card:nth-child(odd) {
    padding-left: 0;
    border-left: 0;
  }

  .extra-card + .extra-card {
    border-top: 1px solid var(--line);
  }

  .extra-photo {
    display: grid;
    grid-template-columns: 112px 1fr;
    gap: 0 14px;
    align-items: start;
  }

  .extra-photo img {
    grid-row: span 2;
    margin: 0;
  }

  .extra-photo p {
    margin-top: 2px;
  }

  .form-card {
    padding: 20px 16px;
  }

  .route-pager a:last-child {
    text-align: left;
  }

  .brand-tag,
  .lang-btn.active {
    display: none;
  }

  /* Brand, two language links and the booking button share one 328 px row on a 360 px phone */
  .brand {
    gap: 8px;
    font-size: 1.02rem;
  }

  .header-actions {
    gap: 8px;
  }

  .header-actions .btn-sm {
    padding: 8px 11px;
  }

  .lang-btn {
    padding: 6px 7px;
  }

  .map-label {
    font-size: 24px;
  }

  .map-small {
    font-size: 20px;
  }

  .btn {
    padding: 12px 16px;
  }
}

@media (max-width: 400px) {
  .brand-mark {
    display: none;
  }
}

@media (max-width: 340px) {
  .header-actions {
    gap: 6px;
  }

  .header-actions .btn-sm {
    padding: 8px 8px;
  }

  .lang-btn {
    padding: 6px 5px;
  }

  .brand {
    font-size: 0.96rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .btn,
  .route-card {
    transition: none;
  }

  .route-card:hover {
    transform: none;
  }
}
