:root {
  --bg-1: #0a6fa4;
  --bg-2: #31a7d4;
  --bg-3: #d9f4ff;
  --surface: rgba(255, 255, 255, 0.14);
  --surface-strong: rgba(255, 255, 255, 0.18);
  --surface-light: rgba(255, 255, 255, 0.86);
  --surface-soft: rgba(255, 255, 255, 0.10);
  --line: rgba(255, 255, 255, 0.18);
  --line-dark: rgba(0, 50, 128, 0.12);
  --text: #052a63;
  --text-soft: #48718f;
  --brand: #003280;
  --brand-2: #31a7d4;
  --white: #ffffff;
  --success: #25a36a;
  --danger: #d85757;
  --warning: #e5a93d;
  --shadow: 0 24px 80px rgba(0, 50, 128, 0.20);
  --shadow-soft: 0 16px 48px rgba(0, 50, 128, 0.14);
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --container: 1280px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 320px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--white);
  background:
    radial-gradient(circle at 10% 8%, rgba(217, 244, 255, 0.24), transparent 18%),
    radial-gradient(circle at 88% 12%, rgba(255, 255, 255, 0.16), transparent 12%),
    linear-gradient(180deg, #1593c5 0%, #31a7d4 36%, #1f8fc2 100%);
}
body.modal-open { overflow: hidden; }

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
img { max-width: 100%; display: block; }
.hidden { display: none !important; }

.page-orb {
  position: fixed;
  inset: auto;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(18px);
  opacity: 0.4;
}
.orb-1 {
  width: 320px;
  height: 320px;
  top: -80px;
  left: -80px;
  background: rgba(255, 255, 255, 0.14);
}
.orb-2 {
  width: 260px;
  height: 260px;
  right: -60px;
  top: 140px;
  background: rgba(0, 50, 128, 0.24);
}

.site-shell {
  width: min(calc(100% - 28px), var(--container));
  margin: 0 auto;
  padding: 18px 0 56px;
}

.topbar {
  position: sticky;
  top: 12px;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px 18px;
  margin-bottom: 24px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(0, 50, 128, 0.34);
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-soft);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}
.brand-mark {
  width: 52px;
  height: 52px;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 12px 24px rgba(0, 50, 128, 0.18);
}
.brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.brand-copy strong {
  display: block;
  font-size: 1.03rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}
.brand-copy small {
  display: block;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.78);
}

.topnav {
  display: flex;
  gap: 20px;
  color: rgba(255, 255, 255, 0.82);
}
.topnav a:hover { color: var(--white); }

.card {
  border-radius: var(--radius-xl);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
}
.card-hero,
.card-soft,
.card-location,
.card-catalog {
  background: linear-gradient(180deg, rgba(255,255,255,0.16), rgba(255,255,255,0.08));
  backdrop-filter: blur(18px);
}
.card-dark {
  background: linear-gradient(180deg, rgba(0, 50, 128, 0.50), rgba(0, 50, 128, 0.34));
  backdrop-filter: blur(18px);
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 24px;
}
.hero-copy {
  padding: 40px;
}
.hero-copy h1 {
  margin: 16px 0 16px;
  font-size: clamp(2.4rem, 4vw, 4.7rem);
  line-height: 0.98;
  letter-spacing: -0.05em;
  max-width: 11.5ch;
}
.hero-copy p {
  margin: 0;
  max-width: 58ch;
  font-size: 1.05rem;
  line-height: 1.72;
  color: rgba(255, 255, 255, 0.9);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}
.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 34px;
}
.hero-metrics article {
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255, 255, 255, 0.16);
}
.hero-metrics strong {
  display: block;
  font-size: 1.85rem;
  line-height: 1;
}
.hero-metrics span {
  display: block;
  margin-top: 8px;
  font-size: 0.94rem;
  color: rgba(255, 255, 255, 0.84);
}

.hero-side {
  padding: 24px;
  display: grid;
  gap: 18px;
}
.hero-illustration {
  display: grid;
  place-items: center;
  min-height: 280px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.hero-illustration svg {
  width: min(100%, 560px);
  fill: none;
  stroke: url(#bikeStroke);
  stroke-width: 10;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.hero-points {
  display: grid;
  gap: 12px;
}
.hero-points article {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: start;
  padding: 16px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.hero-points span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.16);
  font-weight: 800;
}
.hero-points strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1rem;
}
.hero-points p {
  margin: 0;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.84);
}

.eyebrow,
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.79rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.section-label-light {
  background: rgba(255,255,255,0.12);
}

.section-block {
  margin-top: 24px;
}
.section-head,
.filters {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: start;
  padding: 24px 26px;
  color: var(--white);
}
.section-head h2,
.filters h2,
.catalog-toolbar h2 {
  margin: 8px 0 0;
  font-size: clamp(1.7rem, 2vw, 2.35rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
}
.toolbar-meta {
  font-size: 0.96rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.84);
  max-width: 360px;
  text-align: right;
}

.tariff-grid,
.locations-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: 18px;
}

.menu-card,
.location-card {
  padding: 22px;
}
.menu-card h3,
.location-card h3 {
  margin: 0 0 14px;
  font-size: 1.14rem;
}
.location-card p {
  margin: 0 0 12px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
}
.location-card a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}

.filters-grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}
label {
  display: grid;
  gap: 8px;
}
label > span {
  font-size: 0.91rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
}
input,
select,
textarea {
  width: 100%;
  padding: 14px 15px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: rgba(255, 255, 255, 0.92);
  color: var(--text);
  outline: none;
}
input::placeholder,
textarea::placeholder { color: #67809d; }
input:focus,
select:focus,
textarea:focus {
  border-color: rgba(0, 50, 128, 0.34);
  box-shadow: 0 0 0 4px rgba(0, 50, 128, 0.10);
}
textarea { resize: vertical; }
.filter-submit { align-self: end; }

.catalog-section {
  margin-top: 24px;
}
.catalog-toolbar {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: end;
  margin-bottom: 18px;
  color: var(--white);
}
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.bike-card {
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}
.bike-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: rgba(255, 255, 255, 0.28);
}
.bike-card-hit {
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-align: left;
}
.bike-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,0.18), rgba(255,255,255,0.08));
}
.bike-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.bike-fallback,
.modal-bike-fallback {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.88);
}
.bike-fallback svg,
.modal-bike-fallback svg {
  width: 72%;
  fill: none;
  stroke: currentColor;
  stroke-width: 4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.bike-point,
.modal-point {
  position: absolute;
  left: 14px;
  top: 14px;
  max-width: calc(100% - 28px);
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(0, 50, 128, 0.78);
  color: var(--white);
  font-size: 0.8rem;
  font-weight: 700;
}
.bike-body {
  padding: 18px;
}
.bike-headline-row {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: start;
}
.bike-title {
  margin: 0;
  font-size: 1.22rem;
  line-height: 1.15;
  color: var(--white);
}
.bike-category,
.bike-description,
.from-price-label,
.bike-next-price,
.menu-group-head span,
.menu-copy p,
.modal-bike-category,
.modal-bike-description,
.modal-status-hint {
  color: rgba(255, 255, 255, 0.82);
}
.bike-category {
  margin: 8px 0 0;
  font-size: 0.93rem;
}
.bike-description {
  margin: 16px 0;
  min-height: 3.1em;
  line-height: 1.58;
  font-size: 0.95rem;
}
.bike-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: end;
}
.bike-price {
  display: block;
  margin-top: 4px;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--white);
}
.bike-next-price {
  display: block;
  margin-top: 6px;
  font-size: 0.88rem;
}
.select-link {
  font-weight: 700;
  font-size: 0.95rem;
  white-space: nowrap;
  color: #d7f4ff;
}

.bike-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 7px 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  background: rgba(37, 163, 106, 0.18);
  color: #dffff0;
  border: 1px solid rgba(204, 255, 227, 0.24);
}
.bike-status.is-busy {
  background: rgba(229, 169, 61, 0.16);
  color: #fff4d9;
  border-color: rgba(255, 244, 204, 0.24);
}
.bike-status.is-repair {
  background: rgba(216, 87, 87, 0.17);
  color: #ffe3e3;
  border-color: rgba(255, 221, 221, 0.24);
}
.bike-status.is-unavailable {
  background: rgba(255,255,255,0.12);
  color: #eef8ff;
  border-color: rgba(255,255,255,0.18);
}

.menu-stack {
  display: grid;
  gap: 18px;
  margin-top: 18px;
}
.menu-group {
  padding: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,0.16), rgba(255,255,255,0.08));
}
.menu-group-head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: end;
  margin-bottom: 12px;
}
.menu-group-head h3 {
  margin: 0;
  font-size: 1.2rem;
}
.price-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}
.price-list.compact li {
  padding: 0;
  border: 0;
}
.menu-row,
.price-list.compact li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  padding: 15px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.menu-row:first-child,
.price-list.compact li:first-child { border-top: 0; }
.menu-copy {
  flex: 1;
  min-width: 0;
}
.menu-copy strong {
  color: var(--white);
}
.menu-copy p {
  margin: 6px 0 0;
  line-height: 1.5;
  font-size: 0.92rem;
}
.menu-price {
  flex: 0 0 auto;
  font-weight: 800;
  color: var(--white);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 700;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease, color 160ms ease;
}
.button:hover { transform: translateY(-1px); }
.button-primary {
  background: var(--brand);
  color: var(--white);
  box-shadow: 0 14px 28px rgba(0, 50, 128, 0.24);
}
.button-primary:hover { background: #0d4298; }
.button-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.18);
}
.button-secondary:hover { background: rgba(255, 255, 255, 0.18); }
.button-compact { min-height: 44px; padding: 0 18px; }
.button-wide { width: 100%; }
.button[disabled] {
  opacity: 0.54;
  cursor: not-allowed;
  transform: none;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 60;
}
.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 26, 68, 0.56);
  backdrop-filter: blur(12px);
}
.modal-dialog {
  position: relative;
  width: min(calc(100% - 28px), 1120px);
  max-height: calc(100dvh - 40px);
  margin: 20px auto;
  overflow: auto;
  border-radius: 30px;
}
.modal-layout {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 18px;
}
.modal-close {
  position: sticky;
  top: 14px;
  left: calc(100% - 58px);
  z-index: 2;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  color: var(--white);
  font-size: 1.8rem;
}
.bike-showcase,
.modal-booking {
  padding: 22px;
}
.modal-bike-media {
  position: relative;
  min-height: 250px;
  overflow: hidden;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0.04));
  border: 1px solid rgba(255, 255, 255, 0.12);
}
#modalBikePhoto {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.modal-bike-copy { padding-top: 18px; }
.modal-bike-copy h2 {
  margin: 14px 0 10px;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
}
.modal-bike-category { margin: 0; font-size: 1rem; }
.modal-bike-description {
  margin: 14px 0 0;
  line-height: 1.7;
  font-size: 1rem;
}
.modal-status-row {
  display: grid;
  gap: 10px;
  margin-top: 18px;
}
.modal-status-hint {
  font-size: 0.95rem;
  line-height: 1.6;
}
.booking-head h2 {
  margin: 10px 0 0;
  color: var(--text);
  font-size: 2rem;
  line-height: 1;
}
.booking-form {
  margin-top: 18px;
  display: grid;
  gap: 14px;
}
.field-grid.two-cols,
.options-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.tariff-picker {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.tariff-note {
  margin-top: -2px;
  font-size: 0.92rem;
  line-height: 1.5;
  color: #214a77;
}
.field-hint {
  display: block;
  margin-top: 8px;
  font-size: 0.84rem;
  line-height: 1.45;
  color: #2c5e90;
}
.tariff-option {
  min-height: 50px;
  border-radius: 16px;
  border: 1px solid rgba(0, 50, 128, 0.10);
  background: rgba(49, 167, 212, 0.08);
  color: var(--text);
  font-weight: 700;
}
.tariff-option.is-active {
  background: var(--brand);
  color: var(--white);
  border-color: var(--brand);
}
.check-card {
  display: flex;
  gap: 12px;
  align-items: start;
  padding: 14px 16px;
  border-radius: 18px;
  border: 1px solid rgba(0, 50, 128, 0.10);
  background: rgba(49, 167, 212, 0.08);
}
.check-card input,
.consent-row input {
  width: 18px;
  height: 18px;
  min-width: 18px;
  min-height: 18px;
  margin-top: 2px;
}
.check-card strong,
.check-card small,
.consent-row span,
.price-label,
.price-meta,
.form-message {
  color: var(--text);
}
.check-card small {
  display: block;
  margin-top: 4px;
  color: var(--text-soft);
}
.consent-row {
  display: flex;
  gap: 10px;
  align-items: start;
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(49, 167, 212, 0.08);
  border: 1px solid rgba(0, 50, 128, 0.10);
}
.price-card {
  display: grid;
  gap: 8px;
  padding: 18px 18px;
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(49,167,212,0.12), rgba(0,50,128,0.06));
  border: 1px solid rgba(0, 50, 128, 0.12);
}
.price-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
#priceTotal {
  display: block;
  margin-top: 8px;
  font-size: 2rem;
  line-height: 1;
  color: var(--brand);
}
.price-meta {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-soft);
}
.form-message {
  min-height: 24px;
  font-size: 0.95rem;
  line-height: 1.5;
}
.form-message.is-error { color: #a92a2a; }
.form-message.is-success { color: #117c4f; }

.empty-state {
  padding: 28px;
  border-radius: 24px;
  border: 1px dashed rgba(255, 255, 255, 0.30);
  background: rgba(255, 255, 255, 0.10);
  text-align: center;
}
.empty-state h3 {
  margin: 0 0 10px;
  font-size: 1.2rem;
}
.empty-state p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.6;
}

@media (max-width: 1100px) {
  .hero,
  .modal-layout,
  .catalog-grid,
  .tariff-grid,
  .locations-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .filters,
  .section-head,
  .catalog-toolbar {
    flex-direction: column;
    align-items: stretch;
  }
  .toolbar-meta { text-align: left; max-width: none; }
  .filters-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  .site-shell { width: min(calc(100% - 20px), var(--container)); }
  .topbar {
    border-radius: 28px;
    flex-wrap: wrap;
    justify-content: center;
  }
  .topnav {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
  }
  .hero,
  .catalog-grid,
  .tariff-grid,
  .locations-grid,
  .filters-grid,
  .field-grid.two-cols,
  .options-grid,
  .modal-layout {
    grid-template-columns: 1fr;
  }
  .hero-copy,
  .hero-side,
  .section-head,
  .filters,
  .menu-card,
  .location-card,
  .bike-showcase,
  .modal-booking,
  .menu-group {
    padding: 20px;
  }
  .hero-metrics {
    grid-template-columns: 1fr;
  }
  .modal-dialog {
    width: min(calc(100% - 16px), 1120px);
    margin: 8px auto;
    max-height: calc(100dvh - 16px);
  }
}

@media (max-width: 560px) {
  .hero-copy h1 { max-width: none; }
  .button,
  .button-compact { width: 100%; }
  .tariff-picker { grid-template-columns: 1fr; }
  .bike-footer {
    flex-direction: column;
    align-items: start;
  }
}


.modal-gallery-shell {
  position: relative;
  width: 100%;
  height: 100%;
}
.modal-gallery-viewport {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: 22px;
}
.modal-gallery-track {
  display: flex;
  height: 100%;
  width: 100%;
  transition: transform 320ms cubic-bezier(.22,.61,.36,1);
  will-change: transform;
}
.modal-gallery-slide {
  min-width: 100%;
  height: 100%;
  display: flex;
  align-items: stretch;
  justify-content: center;
}
.modal-gallery-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.18);
  background: rgba(5, 15, 40, 0.48);
  color: #fff;
  z-index: 3;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  backdrop-filter: blur(10px);
}
.gallery-nav.prev { left: 14px; }
.gallery-nav.next { right: 14px; }
.gallery-nav.hidden { display: none; }
.gallery-dots {
  position: absolute;
  left: 50%;
  bottom: 16px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 3;
}
.gallery-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  border: 0;
  padding: 0;
  background: rgba(255,255,255,0.35);
  transition: transform 180ms ease, background 180ms ease;
}
.gallery-dot.is-active {
  background: #fff;
  transform: scale(1.18);
}
.gallery-counter {
  position: absolute;
  right: 16px;
  bottom: 14px;
  z-index: 3;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(5, 15, 40, 0.52);
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
  backdrop-filter: blur(10px);
}
.modal-bike-media {
  min-height: 320px;
}
.modal-bike-fallback.hidden { display: none; }
.modal-bike-fallback {
  inset: 0;
  position: absolute;
  border-radius: 22px;
}
@media (max-width: 900px) {
  .modal-bike-media { min-height: 260px; }
  .gallery-nav { width: 38px; height: 38px; }
  .gallery-counter { right: 12px; bottom: 12px; }
}

:root {
  --heading-font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --body-font: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --glass: rgba(255,255,255,0.18);
  --glass-strong: rgba(255,255,255,0.24);
  --backdrop: rgba(2, 18, 47, 0.74);
}
body { font-family: var(--body-font); }
h1, h2, h3, .brand-copy strong, .button, .bike-title, .booking-head h2, .modal-bike-copy h2 { font-family: var(--heading-font); }
.topbar {
  padding: 12px 16px;
  gap: 14px;
  background: linear-gradient(180deg, rgba(0,50,128,0.34), rgba(0,50,128,0.24));
}
.topnav a {
  font-size: 0.96rem;
  font-weight: 600;
  letter-spacing: 0.01em;
}
.hero-copy,
.hero-side,
.filters,
.section-head,
.menu-card,
.location-card,
.bike-showcase,
.modal-booking,
.menu-group,
.price-hub-card,
.menu-modal { border-radius: 26px; }
.hero-copy { padding: 34px; }
.hero-copy h1 { font-size: clamp(2.3rem, 3.5vw, 4.2rem); max-width: 12ch; }
.hero-copy p { max-width: 52ch; font-size: 1rem; }
.hero-points article { padding: 14px; }
.hero-points p { font-size: 0.94rem; }
.button {
  min-height: 46px;
  padding: 0 18px;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 14px 26px rgba(0, 50, 128, 0.14);
}
.button-secondary { background: rgba(255,255,255,0.16); }
.filter-submit { align-self: end; }
.catalog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
}
.bike-card { overflow: hidden; }
.bike-card-hit { width: 100%; border: 0; background: transparent; padding: 0; text-align: left; }
.bike-body { padding: 16px 18px 18px; }
.bike-title { font-size: 1.16rem; line-height: 1.15; margin: 0; }
.bike-category, .bike-description, .bike-point, .bike-next-price { color: rgba(255,255,255,0.84); }
.bike-description { min-height: 44px; }
.bike-footer { align-items: end; }
.bike-status { white-space: nowrap; }
.section-head h2, .catalog-toolbar h2 { font-size: clamp(1.45rem, 2vw, 2.05rem); letter-spacing: -0.03em; }
.price-hub-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.price-hub-grid--single {
  grid-template-columns: minmax(0, 920px);
  justify-content: start;
}
.price-hub-card {
  padding: 22px;
  display: grid;
  gap: 16px;
  align-content: space-between;
}
.price-hub-copy h3 {
  margin: 10px 0 8px;
  font-size: 1.45rem;
  line-height: 1.05;
}
.price-hub-copy p { margin: 0; line-height: 1.6; color: rgba(255,255,255,0.88); }
.section-head--compact { padding: 0 0 18px; background: transparent; border: 0; box-shadow: none; }
.modal-backdrop { background: var(--backdrop); backdrop-filter: blur(24px) saturate(160%); }
.modal-dialog {
  border: 1px solid rgba(255,255,255,0.12);
  background: linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0.04));
  backdrop-filter: blur(30px);
  box-shadow: 0 28px 90px rgba(2, 18, 47, 0.34);
}
.modal-dialog--menu { width: min(calc(100% - 28px), 980px); }
.menu-modal { padding: 24px; }
.modal-close {
  background: rgba(255,255,255,0.20);
  backdrop-filter: blur(18px);
}
.booking-time-grid {
  grid-template-columns: 1.1fr 0.7fr 1fr;
}
input[readonly] {
  background: rgba(49,167,212,0.10);
  color: var(--text-soft);
}
.tariff-option,
.check-card,
.consent-row,
.price-card,
label > input,
label > select,
label > textarea {
  transition: transform 120ms ease, border-color 120ms ease, background 120ms ease, box-shadow 120ms ease;
}
.tariff-option:hover,
.check-card:hover,
.price-hub-card:hover,
.bike-card:hover {
  transform: translateY(-2px);
}
label > input,
label > select,
label > textarea {
  width: 100%;
  margin-top: 8px;
  border-radius: 16px;
  border: 1px solid rgba(0,50,128,0.10);
  background: rgba(255,255,255,0.78);
  color: var(--text);
  padding: 14px 16px;
}
label > textarea { resize: vertical; }
label > input:focus,
label > select:focus,
label > textarea:focus {
  outline: none;
  border-color: rgba(0,50,128,0.28);
  box-shadow: 0 0 0 4px rgba(49, 167, 212, 0.12);
}
.menu-stack { gap: 14px; }
.menu-group {
  padding: 18px 20px;
  background: linear-gradient(180deg, rgba(255,255,255,0.14), rgba(255,255,255,0.08));
  backdrop-filter: blur(18px);
}
.menu-group-head h3 { font-size: 1.12rem; }
.menu-copy strong { font-size: 1rem; }
.menu-price { font-size: 1rem; }
.gallery-nav { transition: transform 180ms ease, background 180ms ease; }
.gallery-nav:hover { transform: translateY(-50%) scale(1.04); background: rgba(5,15,40,0.68); }
.modal-gallery-track.is-dragging { transition: none; cursor: grabbing; }
.modal-bike-media {
  min-height: 360px;
  background: linear-gradient(180deg, rgba(255,255,255,0.14), rgba(255,255,255,0.05));
}
.gallery-counter,
.modal-point {
  background: rgba(5, 15, 40, 0.45);
  backdrop-filter: blur(14px);
}
.modal-point {
  position: absolute;
  left: 16px;
  bottom: 14px;
  z-index: 3;
  padding: 8px 12px;
  border-radius: 999px;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 700;
}
.locations-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.location-card h3 { margin-top: 0; }
.location-card a { display: inline-flex; margin-top: 10px; font-weight: 700; }
@media (max-width: 980px) {
  .price-hub-grid { grid-template-columns: 1fr; }
  .booking-time-grid { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .topnav { gap: 12px; }
  .hero-copy h1 { max-width: none; }
  .modal-bike-media { min-height: 280px; }
}

/* --- SEO and content pages --- */
.site-shell--page {
  gap: 22px;
}
.page-main {
  display: grid;
  gap: 22px;
}
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  color: rgba(255,255,255,0.78);
  font-size: 0.95rem;
}
.breadcrumbs a {
  color: rgba(255,255,255,0.92);
  text-decoration: none;
}
.page-hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.page-hero h1 {
  margin: 0 0 10px;
}
.page-hero p {
  margin: 0;
  color: rgba(255,255,255,0.9);
  max-width: 760px;
}
.page-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.seo-copy-grid,
.landing-card-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.prose-card {
  color: var(--text);
}
.prose-card h2,
.prose-card h3 {
  margin-top: 0;
  color: #12386a;
}
.prose-card p,
.prose-card li {
  color: #183153;
  line-height: 1.72;
}
.prose-card--wide {
  padding: 26px 28px;
}
.text-link {
  color: #0a58ca;
  text-decoration: none;
  font-weight: 700;
}
.text-link:hover {
  text-decoration: underline;
}
.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  margin-top: 20px;
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  max-width: 520px;
}
.footer-nav a {
  color: #12386a;
  text-decoration: none;
  font-weight: 600;
}
.footer-nav a:hover {
  text-decoration: underline;
}
.location-card--large h2 {
  margin: 0 0 10px;
  font-size: 1.35rem;
}
.page-menu-stack {
  gap: 18px;
}
.legal-card ul {
  padding-left: 20px;
}
.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 14px;
}
.legal-table td {
  padding: 10px 0;
  border-bottom: 1px solid rgba(7, 41, 86, 0.12);
  vertical-align: top;
}
.muted {
  color: #5f7088;
}

/* modal readability and point badge fix */
.modal-point {
  top: auto;
  bottom: 14px;
  max-width: calc(100% - 32px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.modal-form .section-label,
.modal-form label span,
.modal-form .price-label,
.modal-form .price-meta,
.modal-form .consent-row span,
.modal-form .check-card small,
.modal-form input::placeholder,
.modal-form textarea::placeholder {
  color: rgba(14, 37, 71, 0.92) !important;
}
.modal-form h2,
.modal-form strong,
.modal-form .check-card strong,
.modal-form .price-card strong {
  color: #0f2b54 !important;
}
.modal-form label,
.modal-form .consent-row,
.modal-form .check-card {
  color: #173b6d;
}
.modal-form input,
.modal-form textarea,
.modal-form select {
  color: #102b50;
}

@media (max-width: 980px) {
  .seo-copy-grid,
  .landing-card-grid,
  .site-footer,
  .page-hero {
    grid-template-columns: 1fr;
    display: grid;
  }
  .page-hero-actions {
    justify-content: flex-start;
  }
}

/* --- design refresh 2026-04-16 --- */
:root {
  --surface: rgba(255, 255, 255, 0.16);
  --surface-strong: rgba(255, 255, 255, 0.22);
  --surface-soft: rgba(255, 255, 255, 0.12);
  --line: rgba(255, 255, 255, 0.22);
  --text: #0b2f5d;
  --text-soft: #355778;
  --shadow: 0 24px 80px rgba(0, 35, 91, 0.24);
  --shadow-soft: 0 18px 54px rgba(0, 35, 91, 0.16);
}

body {
  letter-spacing: 0;
  text-rendering: optimizeLegibility;
}

.card-soft,
.card-location,
.card-catalog {
  background: linear-gradient(180deg, rgba(255,255,255,0.18), rgba(255,255,255,0.10));
}

.card-dark {
  background: linear-gradient(180deg, rgba(0, 41, 106, 0.58), rgba(0, 41, 106, 0.42));
}

.topbar {
  background: linear-gradient(180deg, rgba(0,44,111,0.44), rgba(0,44,111,0.32));
}

.topnav,
.brand-copy small,
.hero-copy p,
.hero-metrics span,
.toolbar-meta,
.section-label,
.menu-copy p,
.bike-category,
.bike-description,
.bike-next-price,
.modal-bike-category,
.modal-bike-description,
.modal-status-hint,
.location-card p,
.price-hub-copy p {
  color: rgba(255,255,255,0.92);
}

.hero-copy {
  padding: 36px;
}

.hero-copy h1 {
  max-width: 10.6ch;
  font-size: clamp(2.45rem, 4vw, 4.45rem);
}

.hero-copy p {
  font-size: 1.08rem;
  line-height: 1.76;
}

.hero-actions {
  margin-top: 24px;
}

.hero-side {
  gap: 16px;
}

.hero-illustration--routes {
  min-height: auto;
  align-items: start;
  padding: 24px;
}

.route-preview-head h2 {
  margin: 10px 0 10px;
  font-size: clamp(1.55rem, 2vw, 2.05rem);
  line-height: 1.05;
}

.route-preview-head p {
  margin: 0;
  color: rgba(255,255,255,0.90);
  line-height: 1.6;
}

.route-preview-grid {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.route-preview-card {
  padding: 16px 18px;
  border-radius: 20px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.14);
}

.route-preview-card strong {
  display: block;
  font-size: 1rem;
}

.route-preview-card span {
  display: block;
  margin-top: 8px;
  font-size: 0.94rem;
  line-height: 1.55;
  color: rgba(255,255,255,0.88);
}

.route-preview-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.route-preview-tags em {
  font-style: normal;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(7, 20, 48, 0.30);
  color: #f2fbff;
  font-size: 0.8rem;
  font-weight: 700;
}

.hero-points--compact {
  grid-template-columns: 1fr;
}

.hero-points--compact article {
  grid-template-columns: 1fr;
  padding: 16px 18px;
}

.hero-points--compact strong {
  font-size: 1rem;
}

.hero-points--compact p {
  margin-top: 6px;
}

.section-head,
.filters {
  padding: 24px 24px;
}

.filters h2,
.section-head h2,
.catalog-toolbar h2,
.page-hero h1 {
  letter-spacing: -0.035em;
}

.catalog-toolbar h2 {
  font-size: clamp(1.55rem, 2vw, 2.1rem);
}

.bike-title,
.modal-bike-copy h2,
.booking-head h2,
.prose-card h2,
.prose-card h3,
.location-card--large h2 {
  color: #ffffff;
}

.bike-card,
.menu-group,
.location-card,
.price-hub-card {
  border-color: rgba(255,255,255,0.18);
}

.bike-media {
  background: linear-gradient(180deg, rgba(255,255,255,0.18), rgba(255,255,255,0.10));
}

.bike-point,
.modal-point,
.location-badge {
  display: inline-flex;
  align-items: center;
  width: auto;
  max-width: calc(100% - 28px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.modal-point {
  left: 16px;
  bottom: 16px;
  top: auto;
  right: auto;
  background: rgba(7, 20, 48, 0.58);
  border: 1px solid rgba(255,255,255,0.16);
}

.modal-bike-copy {
  padding-top: 16px;
}

.modal-bike-category,
.modal-bike-description,
.modal-status-hint {
  color: rgba(255,255,255,0.94);
}

.modal-booking {
  background: linear-gradient(180deg, rgba(255,255,255,0.90), rgba(241,248,255,0.86));
}

.modal-form .section-label,
.modal-form label > span,
.modal-form .price-label,
.modal-form .price-meta,
.modal-form .consent-row span,
.modal-form .check-card small,
.modal-form input::placeholder,
.modal-form textarea::placeholder {
  color: #244a72 !important;
}

.modal-form h2,
.modal-form strong,
.modal-form .check-card strong,
.modal-form .price-card strong,
.modal-form label,
.modal-form .consent-row,
.modal-form .check-card,
.modal-form input,
.modal-form textarea,
.modal-form select {
  color: #0f2f56 !important;
}

.modal-form input,
.modal-form textarea,
.modal-form select,
.tariff-option,
.check-card,
.consent-row,
.price-card {
  border-color: rgba(15, 47, 86, 0.14);
  background: rgba(255,255,255,0.92);
}

.tariff-option {
  background: rgba(13, 66, 152, 0.08);
}

.price-hub-copy p,
.location-note,
.route-item span,
.route-item p {
  color: rgba(255,255,255,0.90);
}

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

.location-card--rich {
  display: grid;
  gap: 16px;
  align-content: start;
}

.location-card-head {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 12px;
}

.location-card-head h3,
.location-card-head h2 {
  margin-bottom: 8px;
}

.location-badge {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(0, 44, 111, 0.28);
  border: 1px solid rgba(255,255,255,0.18);
  color: #fff;
  font-size: 0.8rem;
  font-weight: 800;
}

.location-note {
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.12);
  line-height: 1.55;
}

.route-list {
  display: grid;
  gap: 10px;
}

.route-item {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
}

.route-item strong {
  color: #fff;
  font-size: 0.98rem;
}

.route-item span {
  font-size: 0.88rem;
  line-height: 1.5;
}

.route-item--page {
  background: linear-gradient(180deg, rgba(255,255,255,0.16), rgba(255,255,255,0.10));
}

.route-item--page span,
.route-item--page p,
.route-item--page strong {
  color: #12386a;
}

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

.location-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
  align-items: center;
}

.location-actions a:first-child {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
}

.prose-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.90), rgba(245,250,255,0.86));
  border-color: rgba(12, 47, 93, 0.08);
}

.prose-card h2,
.prose-card h3,
.prose-card p,
.prose-card li {
  color: #12365f;
}

.page-hero {
  padding: 28px 30px;
}

.page-hero p {
  color: rgba(255,255,255,0.94);
  line-height: 1.68;
}

.site-footer {
  background: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(245,250,255,0.88));
  border-color: rgba(12, 47, 93, 0.08);
}

.site-footer strong,
.site-footer p,
.footer-nav a {
  color: #12365f;
}

@media (max-width: 1100px) {
  .locations-grid--rich,
  .route-list--page {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .hero-copy,
  .hero-side,
  .location-card--rich,
  .prose-card--wide,
  .page-hero,
  .price-hub-card {
    padding: 20px;
  }

  .hero-copy h1 {
    max-width: none;
  }

  .locations-grid--rich,
  .route-list--page,
  .location-card-head {
    grid-template-columns: 1fr;
    display: grid;
  }

  .location-card-head {
    gap: 10px;
  }
}

/* --- rollback and polish after route experiment --- */
:root {
  --surface-light: rgba(255, 255, 255, 0.9);
  --line: rgba(255, 255, 255, 0.2);
  --line-dark: rgba(0, 50, 128, 0.14);
  --shadow-soft: 0 18px 54px rgba(0, 50, 128, 0.16);
}

.card-soft,
.card-hero,
.card-location,
.card-catalog,
.menu-group,
.price-hub-card {
  background: linear-gradient(180deg, rgba(255,255,255,0.18), rgba(255,255,255,0.10));
}

.hero-copy {
  background: linear-gradient(180deg, rgba(255,255,255,0.18), rgba(255,255,255,0.11));
}

.hero-copy h1,
.page-hero h1 {
  text-wrap: balance;
}

.route-preview-grid {
  display: grid;
  gap: 12px;
  width: 100%;
}

.route-preview-card {
  padding: 16px 18px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.10);
  border: 1px solid rgba(255,255,255,0.14);
}

.route-preview-card strong,
.route-preview-card span,
.location-card h2,
.location-card h3,
.route-item strong,
.route-item span,
.prose-card h2,
.prose-card h3,
.prose-card p,
.prose-card li {
  overflow-wrap: anywhere;
}

.route-preview-card span {
  display: block;
  margin-top: 6px;
  color: rgba(255,255,255,0.84);
  line-height: 1.55;
}

.route-preview-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 12px;
}

.route-preview-tags em {
  display: inline-flex;
  padding: 7px 11px;
  border-radius: 999px;
  font-style: normal;
  font-size: 0.82rem;
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.92);
}

.route-open-button {
  margin-top: 14px;
}

.location-cover {
  margin: -22px -22px 16px;
  border-radius: 22px 22px 18px 18px;
  overflow: hidden;
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.location-cover img,
.point-hero-card__media img,
.point-guide-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.location-cover img {
  aspect-ratio: 16 / 8;
}

.location-card-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
}

.location-card-head h2,
.location-card-head h3 {
  margin: 0 0 8px;
}

.location-card-head p,
.location-note {
  margin: 0;
  color: rgba(255,255,255,0.88);
  line-height: 1.6;
}

.location-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 999px;
  background: rgba(0,50,128,0.32);
  border: 1px solid rgba(255,255,255,0.12);
  color: #fff;
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
}

.route-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.route-item {
  padding: 14px 16px;
  border-radius: 18px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
}

.route-item strong {
  display: block;
  margin-bottom: 6px;
  color: #fff;
  font-size: 1rem;
}

.route-item span,
.route-item p {
  margin: 0;
  color: rgba(255,255,255,0.84);
  line-height: 1.55;
}

.route-item--compact {
  padding: 12px 14px;
}

.location-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 16px;
}

.location-actions .text-link {
  margin-top: 0;
}

.bike-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.bike-preview-card {
  overflow: hidden;
}

.bike-preview-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255,255,255,0.16), rgba(255,255,255,0.06));
}

.bike-preview-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bike-preview-fallback {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: rgba(255,255,255,0.86);
  font-weight: 700;
}

.bike-preview-body {
  padding: 18px;
}

.bike-preview-body h3 {
  margin: 0 0 8px;
  font-size: 1.14rem;
  color: #fff;
}

.bike-preview-meta,
.bike-preview-body p {
  margin: 0 0 10px;
  color: rgba(255,255,255,0.84);
  line-height: 1.58;
}

.bike-preview-footer {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.point-hero-card {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 22px;
  padding: 22px;
}

.point-hero-card__media {
  border-radius: 22px;
  overflow: hidden;
  min-height: 260px;
}

.point-hero-card__copy h2 {
  margin: 12px 0 16px;
  font-size: clamp(1.8rem, 2.8vw, 2.6rem);
  line-height: 1.04;
}

.point-hero-card__copy p {
  margin: 0 0 12px;
  color: rgba(255,255,255,0.9);
  line-height: 1.66;
}

.modal-dialog--point-guide {
  width: min(calc(100% - 28px), 860px);
}

.point-guide {
  overflow: hidden;
}

.point-guide-cover-wrap {
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

.point-guide-cover {
  aspect-ratio: 16 / 7;
}

.point-guide-content {
  padding: 24px;
}

.point-guide-content h2 {
  margin: 12px 0 10px;
  font-size: clamp(1.8rem, 2.8vw, 2.4rem);
  line-height: 1.05;
  color: #fff;
}

.point-guide-subtitle {
  margin: 0;
  color: rgba(255,255,255,0.86);
  line-height: 1.62;
}

.point-guide-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 18px;
}

.point-guide-routes {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

.point-guide-route {
  padding: 16px;
  border-radius: 18px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
}

.point-guide-route strong {
  display: block;
  margin-bottom: 6px;
  color: #fff;
}

.point-guide-route span,
.point-guide-route p {
  display: block;
  margin: 0;
  color: rgba(255,255,255,0.84);
  line-height: 1.56;
}

.prose-card p:last-child {
  margin-bottom: 0;
}

.bike-media--no-photo {
  background: linear-gradient(180deg, rgba(255,255,255,0.16), rgba(255,255,255,0.08));
}

@media (max-width: 980px) {
  .bike-preview-grid,
  .point-hero-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .location-cover {
    margin: -20px -20px 14px;
  }

  .location-actions,
  .point-guide-meta,
  .bike-preview-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .route-preview-tags,
  .location-actions {
    gap: 10px;
  }

  .bike-preview-grid {
    grid-template-columns: 1fr;
  }
}

/* --- ui cleanup 2026-04-16 evening --- */
:root {
  --heading-font: "Segoe UI Variable Display", "Segoe UI", Inter, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --body-font: "Segoe UI Variable Text", "Segoe UI", Inter, system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
  font-family: var(--body-font);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, .brand-copy strong, .button, .bike-title, .booking-head h2, .modal-bike-copy h2 {
  font-family: var(--heading-font);
}

.topnav a,
.footer-nav a {
  font-size: 0.97rem;
  font-weight: 650;
  letter-spacing: 0;
}

.topnav {
  gap: 18px;
}

.section-head > div,
.catalog-toolbar > div,
.location-card,
.location-card > *,
.route-item,
.route-item > *,
.prose-card,
.prose-card > *,
.point-hero-card__copy,
.point-hero-card__copy > *,
.service-contact-card,
.service-contact-card > * {
  min-width: 0;
}

.location-card h2,
.location-card h3,
.location-card p,
.location-note,
.route-item strong,
.route-item span,
.route-item p,
.prose-card p,
.prose-card li,
.toolbar-meta,
.point-guide-subtitle,
.point-guide-route p,
.point-guide-route span {
  overflow-wrap: anywhere;
  word-break: normal;
}

.location-card-head {
  gap: 10px;
}

.location-card-head h2,
.location-card-head h3 {
  font-size: 1.28rem;
  line-height: 1.14;
}

.location-card-head p,
.location-note,
.route-item span,
.route-item p {
  font-size: 0.96rem;
  line-height: 1.6;
}

.location-note {
  padding: 14px 16px;
}

.route-item {
  min-height: 92px;
  align-content: start;
}

.route-item strong {
  line-height: 1.25;
}

.route-item span {
  margin-top: 2px;
}

.service-contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-contact-card {
  padding: 22px;
  display: grid;
  gap: 14px;
  align-content: start;
}

.service-contact-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.service-contact-card__head h3 {
  margin: 0;
  font-size: 1.26rem;
  line-height: 1.14;
  color: #fff;
}

.service-contact-card__address,
.service-contact-card__note {
  margin: 0;
  color: rgba(255,255,255,0.9);
  line-height: 1.6;
}

.service-contact-card__address {
  font-weight: 650;
}

.service-contact-card__note {
  padding: 13px 14px;
  border-radius: 18px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
}

.service-contact-card__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.modal-booking {
  background: linear-gradient(180deg, rgba(246, 251, 255, 0.96), rgba(231, 241, 251, 0.92));
}

.booking-head h2,
.modal-form h2,
.modal-form strong,
.modal-form label,
.modal-form .check-card strong,
.modal-form .price-card strong,
.price-label,
#priceTotal {
  color: #0b2f57 !important;
}

.modal-form .section-label,
.modal-form label > span,
.modal-form .price-meta,
.modal-form .consent-row span,
.modal-form .check-card small,
.modal-form input::placeholder,
.modal-form textarea::placeholder,
.tariff-note,
.field-hint,
.modal-form .form-message {
  color: #355778 !important;
}

.tariff-note {
  margin-top: 2px;
  padding: 12px 14px;
  border-radius: 16px;
  background: rgba(13, 66, 152, 0.07);
  border: 1px solid rgba(13, 66, 152, 0.10);
  font-weight: 550;
}

.field-hint {
  font-weight: 600;
}

.modal-form input,
.modal-form textarea,
.modal-form select {
  background: rgba(255,255,255,0.98) !important;
  border-color: rgba(11, 47, 87, 0.16) !important;
}

.tariff-option {
  background: rgba(13, 66, 152, 0.10);
  color: #173b6d;
}

.tariff-option.is-active {
  color: #ffffff;
}

.check-card,
.consent-row,
.price-card {
  background: rgba(255,255,255,0.96);
}

.modal-form a {
  color: #0a58ca;
}

.modal-dialog {
  overflow: hidden;
}

.page-hero h1,
.hero-copy h1,
.booking-head h2 {
  line-height: 1.04;
}

.toolbar-meta {
  line-height: 1.65;
}

@media (max-width: 1100px) {
  .service-contact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .service-contact-grid {
    grid-template-columns: 1fr;
  }

  .service-contact-card__actions,
  .location-actions {
    flex-direction: column;
    align-items: stretch;
  }
}

/* 2026-04-16 mobile booking + service contacts polish */
.service-contact-card__note--map {
  display: grid;
  gap: 8px;
  align-content: start;
}

.service-contact-card__note--map strong {
  color: #103a6a;
  font-size: 0.98rem;
  line-height: 1.35;
}

.service-contact-card__note--map .text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}

.button-secondary--muted {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.18);
  color: #0f3969;
}

.button-secondary--muted:hover {
  background: rgba(255,255,255,0.26);
  border-color: rgba(255,255,255,0.26);
}

@media (max-width: 820px) {
  .modal {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    padding: 8px 0 18px;
  }

  .modal-dialog {
    max-height: none;
    overflow: visible;
    margin: 8px auto 20px;
  }

  .modal-layout {
    gap: 14px;
    padding-bottom: 8px;
  }

  .modal-booking {
    padding-bottom: 24px;
  }

  .booking-head {
    position: sticky;
    top: 0;
    z-index: 3;
    padding-bottom: 6px;
    background: linear-gradient(180deg, rgba(246,251,255,0.98), rgba(246,251,255,0.86) 82%, rgba(246,251,255,0));
  }

  .booking-head h2 {
    line-height: 1.08;
  }

  .tariff-note,
  .field-hint,
  .modal-form label > span,
  .modal-form .consent-row span,
  .modal-form .check-card small,
  .modal-form .price-meta,
  .modal-form .price-label,
  .modal-form input::placeholder,
  .modal-form textarea::placeholder {
    color: #44627f !important;
  }

  .modal-form h2,
  .modal-form strong,
  .modal-form label,
  .modal-form .check-card strong,
  .modal-form .price-card strong,
  #priceTotal {
    color: #0d2f56 !important;
  }

  .service-contact-card {
    padding: 20px 18px;
  }

  .service-contact-card__actions .button {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 560px) {
  .modal {
    padding: 6px 0 18px;
  }

  .modal-dialog {
    width: calc(100% - 12px);
    border-radius: 24px;
    margin: 6px auto 18px;
  }

  .modal-close {
    top: 10px;
    left: calc(100% - 52px);
    width: 40px;
    height: 40px;
  }

  .bike-showcase,
  .modal-booking {
    padding: 16px;
  }

  .modal-bike-media {
    min-height: 220px;
  }

  .booking-form {
    gap: 12px;
  }

  .price-card {
    padding: 16px;
  }

  #priceTotal {
    font-size: 1.72rem;
  }

  .tariff-option {
    min-height: 46px;
  }
}

/* 2026-04-16 footer + 2GIS map polish */
.site-footer {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  align-items: start;
  gap: 24px 28px;
  padding: 24px 28px;
}

.footer-brand {
  min-width: 0;
  max-width: 620px;
  padding-left: 8px;
}

.footer-brand strong {
  display: block;
  margin-bottom: 10px;
}

.footer-brand p {
  margin: 0;
}

.footer-brand > p + p {
  margin-top: 14px;
}

.footer-contacts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.footer-contacts span {
  color: rgba(18, 54, 95, 0.55);
}

.footer-nav {
  justify-content: flex-end;
  align-content: start;
  max-width: none;
}

.footer-nav a,
.footer-brand p,
.footer-brand .text-link {
  overflow-wrap: anywhere;
}

.service-contact-card {
  gap: 16px;
}

.service-contact-card__address {
  font-size: 1rem;
  line-height: 1.5;
}

.service-contact-card__note--map {
  padding: 0;
  background: transparent;
  border: 0;
}

.service-map-frame {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  aspect-ratio: 16 / 10;
  border: 1px solid rgba(255,255,255,0.16);
  background:
    linear-gradient(180deg, rgba(255,255,255,0.20), rgba(255,255,255,0.08)),
    radial-gradient(circle at 18% 22%, rgba(255,255,255,0.22) 0 3px, transparent 4px),
    linear-gradient(135deg, rgba(0,50,128,0.12) 0 18%, transparent 18% 28%, rgba(0,50,128,0.08) 28% 34%, transparent 34% 100%),
    linear-gradient(180deg, #d7eef9 0%, #c5e6f6 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.22);
}

.service-map-frame::after {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 999px 999px 999px 0;
  background: #0b54ca;
  transform: rotate(-45deg);
  left: 50%;
  top: 50%;
  margin-left: -9px;
  margin-top: -18px;
  box-shadow: 0 10px 24px rgba(11,84,202,0.32);
  z-index: 2;
}

.service-map-frame::before {
  content: "2ГИС";
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 2;
  padding: 5px 8px;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  color: #0b2f57;
  background: rgba(255,255,255,0.82);
  box-shadow: 0 8px 16px rgba(0,50,128,0.12);
}

.service-map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

.service-contact-card__note--map .text-link {
  padding-left: 4px;
}

@media (max-width: 980px) {
  .site-footer {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    max-width: none;
    padding-left: 2px;
  }

  .footer-nav {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .site-footer {
    padding: 20px 18px;
    gap: 18px;
  }

  .footer-brand {
    padding-left: 0;
  }

  .footer-nav {
    gap: 10px 14px;
  }

  .footer-contacts {
    gap: 6px;
  }

  .service-map-frame {
    aspect-ratio: 16 / 11;
    border-radius: 18px;
  }
}
