/* Design DNA: Centered minimalism hero — huge centered RENTBIKE type, almost no media first viewport; volt green + asphalt; urban e-bike mood */
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@300;400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');

:root {
  --rb-volt: #A8FF3E;
  --rb-volt-dark: #8FE02A;
  --rb-asphalt: #1B1E24;
  --rb-asphalt-soft: #252A33;
  --rb-gray: #D5D8DE;
  --rb-gray-light: #ECEEF1;
  --rb-white: #FFFFFF;
  --rb-text: #1B1E24;
  --rb-text-muted: #5A6170;
  --rb-border: rgba(27, 30, 36, 0.1);
  --rb-shadow: 0 8px 32px rgba(27, 30, 36, 0.12);
  --rb-radius: 4px;
  --rb-max: 1180px;
  --rb-header-h: 68px;
  --rb-font-display: 'Space Grotesk', system-ui, sans-serif;
  --rb-font-body: 'IBM Plex Sans', system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--rb-font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--rb-text);
  background: var(--rb-white);
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--rb-asphalt); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--rb-volt-dark); }

h1, h2, h3, h4 {
  font-family: var(--rb-font-display);
  font-weight: 700;
  line-height: 1.1;
  color: var(--rb-asphalt);
}

h1 { font-size: clamp(2.5rem, 7vw, 5.5rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); margin-bottom: 1rem; letter-spacing: -0.02em; }
h3 { font-size: 1.2rem; margin-bottom: 0.5rem; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

.rb-container {
  width: 100%;
  max-width: var(--rb-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Cookie — top strip */
.rb-cookie {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2000;
  background: var(--rb-asphalt);
  color: var(--rb-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  padding: 0.65rem 1.5rem;
  font-size: 0.85rem;
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.35s ease, opacity 0.35s ease;
  border-bottom: 2px solid var(--rb-volt);
}

.rb-cookie.rb-cookie--visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

body.rb-cookie-active { padding-top: 44px; }

.rb-cookie p { margin: 0; }

.rb-cookie a { color: var(--rb-volt); text-decoration: underline; }
.rb-cookie a:hover { color: var(--rb-white); }

.rb-cookie__btn {
  background: var(--rb-volt);
  color: var(--rb-asphalt);
  border: none;
  padding: 0.4rem 1.1rem;
  border-radius: var(--rb-radius);
  font-family: var(--rb-font-display);
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.03em;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s;
}

.rb-cookie__btn:hover { background: var(--rb-volt-dark); }

/* Header — dark tech bar */
.rb-header {
  position: sticky;
  top: 0;
  z-index: 900;
  background: var(--rb-asphalt);
  height: var(--rb-header-h);
  border-bottom: 1px solid rgba(168, 255, 62, 0.25);
}

.rb-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.rb-logo {
  font-family: var(--rb-font-display);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--rb-white);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.rb-logo span { color: var(--rb-volt); }

.rb-nav { display: flex; gap: 1.75rem; align-items: center; }

.rb-nav a {
  font-family: var(--rb-font-display);
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--rb-gray);
  transition: color 0.2s;
}

.rb-nav a:hover,
.rb-nav a.rb-nav--active { color: var(--rb-volt); }

.rb-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.rb-burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--rb-volt);
  transition: transform 0.3s, opacity 0.3s;
}

.rb-burger.rb-burger--open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.rb-burger.rb-burger--open span:nth-child(2) { opacity: 0; }
.rb-burger.rb-burger--open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Hero — centered minimalism */
.rb-hero {
  min-height: calc(100vh - var(--rb-header-h));
  min-height: calc(100dvh - var(--rb-header-h));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1.5rem 3rem;
  background: var(--rb-asphalt);
  color: var(--rb-white);
  position: relative;
  overflow: hidden;
}

.rb-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 80%, rgba(168, 255, 62, 0.08) 0%, transparent 60%);
  pointer-events: none;
}

.rb-hero__content {
  position: relative;
  z-index: 1;
  max-width: 820px;
}

.rb-hero__eyebrow {
  font-family: var(--rb-font-display);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--rb-volt);
  margin-bottom: 1.5rem;
}

.rb-hero h1 {
  color: var(--rb-white);
  font-size: clamp(3.5rem, 12vw, 8rem);
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 0.95;
  margin-bottom: 0.25rem;
}

.rb-hero h1 .rb-hero__il { color: var(--rb-volt); }

.rb-hero__sub {
  font-family: var(--rb-font-display);
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  font-weight: 500;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--rb-gray);
  margin-bottom: 2rem;
}

.rb-hero__text {
  font-size: 1.05rem;
  color: var(--rb-gray);
  max-width: 480px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

.rb-btn-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.rb-btn {
  display: inline-block;
  font-family: var(--rb-font-display);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.85rem 1.75rem;
  border-radius: var(--rb-radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.rb-btn--primary {
  background: var(--rb-volt);
  color: var(--rb-asphalt);
  border-color: var(--rb-volt);
}

.rb-btn--primary:hover {
  background: var(--rb-volt-dark);
  border-color: var(--rb-volt-dark);
  color: var(--rb-asphalt);
}

.rb-btn--outline {
  background: transparent;
  color: var(--rb-white);
  border-color: rgba(213, 216, 222, 0.4);
}

.rb-btn--outline:hover {
  border-color: var(--rb-volt);
  color: var(--rb-volt);
}

.rb-btn--dark {
  background: var(--rb-asphalt);
  color: var(--rb-volt);
  border-color: var(--rb-asphalt);
}

.rb-btn--dark:hover {
  background: var(--rb-asphalt-soft);
  color: var(--rb-volt);
}

/* Sections */
.rb-section { padding: 5rem 0; }
.rb-section--gray { background: var(--rb-gray-light); }
.rb-section--dark { background: var(--rb-asphalt); color: var(--rb-gray); }
.rb-section--dark h2, .rb-section--dark h3 { color: var(--rb-white); }

.rb-section__header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 3rem;
}

.rb-section__label {
  display: block;
  font-family: var(--rb-font-display);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--rb-volt-dark);
  margin-bottom: 0.75rem;
}

.rb-section--dark .rb-section__label { color: var(--rb-volt); }

.rb-section__header p { color: var(--rb-text-muted); }

.rb-section--dark .rb-section__header p { color: var(--rb-gray); }

/* Features */
.rb-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.rb-feature {
  padding: 2rem 1.5rem;
  border: 1px solid var(--rb-border);
  border-radius: var(--rb-radius);
  background: var(--rb-white);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.rb-feature:hover {
  border-color: var(--rb-volt);
  box-shadow: var(--rb-shadow);
}

.rb-feature__icon {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.rb-feature h3 { font-size: 1.05rem; }

.rb-feature p {
  font-size: 0.92rem;
  color: var(--rb-text-muted);
  margin: 0;
}

/* Stats */
.rb-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.rb-stat__num {
  font-family: var(--rb-font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--rb-volt);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.rb-stat__label {
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--rb-gray);
}

/* Cards */
.rb-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.rb-card {
  background: var(--rb-white);
  border: 1px solid var(--rb-border);
  border-radius: var(--rb-radius);
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
}

.rb-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--rb-shadow);
}

.rb-card__img {
  aspect-ratio: 4/3;
  overflow: hidden;
  background: var(--rb-gray-light);
}

.rb-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rb-card__body { padding: 1.5rem; }

.rb-card__tag {
  font-family: var(--rb-font-display);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rb-volt-dark);
  margin-bottom: 0.5rem;
}

.rb-card__price {
  font-family: var(--rb-font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--rb-asphalt);
  margin-top: 0.75rem;
}

.rb-card p { font-size: 0.92rem; color: var(--rb-text-muted); }

/* CTA */
.rb-cta {
  position: relative;
  border-radius: var(--rb-radius);
  overflow: hidden;
  aspect-ratio: 16/7;
  min-height: 280px;
}

.rb-cta img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.rb-cta__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(27, 30, 36, 0.88) 0%, rgba(27, 30, 36, 0.55) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem;
}

.rb-cta__overlay h2 { color: var(--rb-white); margin-bottom: 0.75rem; }
.rb-cta__overlay p { color: var(--rb-gray); max-width: 460px; margin-bottom: 1.5rem; }

/* Page hero */
.rb-page-hero {
  background: var(--rb-asphalt);
  color: var(--rb-white);
  padding: 4rem 0 3.5rem;
  text-align: center;
}

.rb-page-hero h1 {
  color: var(--rb-white);
  font-size: clamp(2rem, 5vw, 3rem);
  margin-bottom: 0.75rem;
}

.rb-page-hero p {
  color: var(--rb-gray);
  max-width: 560px;
  margin: 0 auto;
}

/* About split */
.rb-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.rb-split__img {
  border-radius: var(--rb-radius);
  overflow: hidden;
}

.rb-split__img img { width: 100%; }

.rb-split__text h2 { margin-bottom: 1rem; }
.rb-split__text p { color: var(--rb-text-muted); }

/* Bike specs */
.rb-specs {
  list-style: none;
  margin-top: 1rem;
}

.rb-specs li {
  font-size: 0.88rem;
  color: var(--rb-text-muted);
  padding: 0.35rem 0;
  border-bottom: 1px solid var(--rb-border);
  display: flex;
  justify-content: space-between;
}

.rb-specs li span { color: var(--rb-asphalt); font-weight: 500; }

/* Rides gallery */
.rb-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.rb-gallery__item {
  position: relative;
  border-radius: var(--rb-radius);
  overflow: hidden;
  aspect-ratio: 4/3;
}

.rb-gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}

.rb-gallery__item:hover img { transform: scale(1.04); }

.rb-gallery__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.25rem 1rem 1rem;
  background: linear-gradient(transparent, rgba(27, 30, 36, 0.9));
  color: var(--rb-white);
}

.rb-gallery__caption h3 {
  color: var(--rb-white);
  font-size: 1rem;
  margin-bottom: 0.2rem;
}

.rb-gallery__caption p {
  font-size: 0.78rem;
  color: var(--rb-gray);
  margin: 0;
}

/* Route list */
.rb-routes {
  display: grid;
  gap: 1.25rem;
  max-width: 720px;
  margin: 0 auto;
}

.rb-route {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  padding: 1.5rem;
  border: 1px solid var(--rb-border);
  border-radius: var(--rb-radius);
  background: var(--rb-white);
}

.rb-route__num {
  font-family: var(--rb-font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--rb-volt-dark);
  line-height: 1;
  min-width: 2rem;
}

.rb-route h3 { margin-bottom: 0.35rem; }
.rb-route p { font-size: 0.9rem; color: var(--rb-text-muted); margin: 0; }

.rb-route__meta {
  font-family: var(--rb-font-display);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rb-volt-dark);
  margin-bottom: 0.35rem;
}

/* Contact */
.rb-contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: start;
}

.rb-form-group { margin-bottom: 1.25rem; }

.rb-form-group label {
  display: block;
  font-family: var(--rb-font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--rb-asphalt);
  margin-bottom: 0.4rem;
}

.rb-form-group input,
.rb-form-group select,
.rb-form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid var(--rb-border);
  border-radius: var(--rb-radius);
  font-family: var(--rb-font-body);
  font-size: 0.95rem;
  background: var(--rb-white);
  color: var(--rb-text);
  transition: border-color 0.2s;
}

.rb-form-group input:focus,
.rb-form-group select:focus,
.rb-form-group textarea:focus {
  outline: none;
  border-color: var(--rb-volt);
}

.rb-form-group textarea { min-height: 140px; resize: vertical; }

.rb-contact-info h3 { margin-bottom: 1.5rem; }

.rb-contact-info__item { margin-bottom: 1.25rem; }

.rb-contact-info__label {
  font-family: var(--rb-font-display);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rb-volt-dark);
  margin-bottom: 0.25rem;
}

.rb-contact-info a { color: var(--rb-asphalt); }
.rb-contact-info a:hover { color: var(--rb-volt-dark); }

/* Prose */
.rb-prose { max-width: 720px; }
.rb-prose h2 { margin-top: 2rem; margin-bottom: 0.75rem; font-size: 1.35rem; }
.rb-prose ul { margin: 0 0 1rem 1.25rem; }
.rb-prose li { margin-bottom: 0.4rem; color: var(--rb-text-muted); }
.rb-prose p { color: var(--rb-text-muted); }

/* Footer — 4 cols */
.rb-footer {
  background: var(--rb-asphalt);
  color: var(--rb-gray);
  padding: 3.5rem 0 0;
}

.rb-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(213, 216, 222, 0.12);
}

.rb-footer__brand {
  font-family: var(--rb-font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--rb-white);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.rb-footer__col p { font-size: 0.88rem; line-height: 1.6; }

.rb-footer__col h4 {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--rb-volt);
  margin-bottom: 1rem;
}

.rb-footer__col ul { list-style: none; }

.rb-footer__col li {
  font-size: 0.88rem;
  margin-bottom: 0.45rem;
}

.rb-footer__col a { color: var(--rb-gray); }
.rb-footer__col a:hover { color: var(--rb-volt); }

.rb-footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 0;
  font-size: 0.78rem;
  color: rgba(213, 216, 222, 0.55);
}

/* Responsive — 900px */
@media (max-width: 900px) {
  .rb-features,
  .rb-cards,
  .rb-gallery { grid-template-columns: repeat(2, 1fr); }

  .rb-stats { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }

  .rb-split,
  .rb-contact-grid { grid-template-columns: 1fr; gap: 2rem; }

  .rb-footer__grid { grid-template-columns: repeat(2, 1fr); }

  .rb-hero h1 { font-size: clamp(3rem, 10vw, 6rem); }
}

/* Responsive — 560px */
@media (max-width: 560px) {
  .rb-burger { display: flex; }

  .rb-nav {
    position: fixed;
    top: var(--rb-header-h);
    left: 0;
    right: 0;
    background: var(--rb-asphalt);
    flex-direction: column;
    padding: 1.5rem;
    gap: 1.25rem;
    border-bottom: 2px solid var(--rb-volt);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s, opacity 0.3s;
  }

  .rb-nav.rb-nav--open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .rb-features,
  .rb-cards,
  .rb-gallery,
  .rb-stats { grid-template-columns: 1fr; }

  .rb-footer__grid { grid-template-columns: 1fr; }

  .rb-footer__bottom {
    flex-direction: column;
    gap: 0.35rem;
    text-align: center;
  }

  .rb-cookie {
    flex-direction: column;
    gap: 0.6rem;
    padding: 0.75rem 1rem;
    text-align: center;
  }

  body.rb-cookie-active { padding-top: 80px; }

  .rb-section { padding: 3.5rem 0; }

  .rb-hero { padding: 3rem 1.25rem 2.5rem; }

  .rb-hero__sub { letter-spacing: 0.2em; }

  .rb-route { flex-direction: column; gap: 0.5rem; }
}
