/* Bisikletix — bx- prefix | Signal Orange & Asphalt */
:root {
  --bx-orange: #FF5722;
  --bx-orange-dark: #E64A19;
  --bx-orange-light: #FF8A65;
  --bx-asphalt: #2C2C2C;
  --bx-asphalt-mid: #3D3D3D;
  --bx-asphalt-light: #4A4A4A;
  --bx-white: #FFFFFF;
  --bx-gray: #F4F4F4;
  --bx-font: "Segoe UI", system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body.bx-body {
  font-family: var(--bx-font);
  background: var(--bx-gray);
  color: var(--bx-asphalt);
  line-height: 1.65;
  padding-bottom: 5rem;
}

img { max-width: 100%; display: block; }
a { color: var(--bx-orange); }

/* Top brand strip */
.bx-topbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 300;
  background: var(--bx-asphalt);
  color: var(--bx-white);
  padding: 0.75rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 3px solid var(--bx-orange);
}

.bx-topbar-logo {
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--bx-white);
  text-decoration: none;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.bx-topbar-logo i { color: var(--bx-orange); }

.bx-topbar-tag {
  font-size: 0.78rem;
  opacity: 0.75;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

/* FAB Radial Nav */
.bx-fab-nav {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 500;
  width: 60px;
  height: 60px;
}

.bx-fab-toggle {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--bx-orange);
  color: var(--bx-white);
  border: none;
  cursor: pointer;
  font-size: 1.35rem;
  box-shadow: 0 6px 24px rgba(255, 87, 34, 0.45);
  transition: transform 0.3s, background 0.2s;
  z-index: 10;
}

.bx-fab-toggle:hover { background: var(--bx-orange-dark); }
.bx-fab-toggle.bx-open { transform: rotate(45deg); background: var(--bx-asphalt); }

.bx-fab-menu {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 60px;
  height: 60px;
  pointer-events: none;
}

.bx-fab-menu.bx-open { pointer-events: auto; }

.bx-fab-item {
  position: absolute;
  bottom: 6px;
  right: 6px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bx-asphalt);
  color: var(--bx-white);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
  opacity: 0;
  transform: scale(0);
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  z-index: 5;
}

.bx-fab-menu.bx-open .bx-fab-item {
  opacity: 1;
  transform: scale(1);
}

.bx-fab-item:hover { background: var(--bx-orange); }

.bx-fab-item[data-i="0"] { transition-delay: 0.05s; }
.bx-fab-item[data-i="1"] { transition-delay: 0.1s; }
.bx-fab-item[data-i="2"] { transition-delay: 0.15s; }
.bx-fab-item[data-i="3"] { transition-delay: 0.2s; }
.bx-fab-item[data-i="4"] { transition-delay: 0.25s; }

.bx-fab-menu.bx-open .bx-fab-item[data-i="0"] { bottom: 80px; right: 6px; }
.bx-fab-menu.bx-open .bx-fab-item[data-i="1"] { bottom: 62px; right: 62px; }
.bx-fab-menu.bx-open .bx-fab-item[data-i="2"] { bottom: 6px; right: 80px; }
.bx-fab-menu.bx-open .bx-fab-item[data-i="3"] { bottom: -52px; right: 62px; }
.bx-fab-menu.bx-open .bx-fab-item[data-i="4"] { bottom: -52px; right: 6px; }

.bx-fab-label {
  position: absolute;
  right: 56px;
  background: var(--bx-asphalt);
  color: var(--bx-white);
  padding: 0.3rem 0.75rem;
  border-radius: 4px;
  font-size: 0.75rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}

.bx-fab-item:hover .bx-fab-label { opacity: 1; }

.bx-fab-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(44,44,44,0.4);
  z-index: 450;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.bx-fab-backdrop.bx-visible { opacity: 1; pointer-events: auto; }

/* Hero — diagonal urban split */
.bx-hero {
  margin-top: 52px;
  position: relative;
  min-height: 90vh;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  overflow: hidden;
  background: var(--bx-asphalt);
}

.bx-hero-visual {
  position: relative;
  clip-path: polygon(0 0, 100% 0, 85% 100%, 0 100%);
}

.bx-hero-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 90vh;
}

.bx-hero-panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem 2.5rem 3rem 1rem;
  color: var(--bx-white);
}

.bx-hero-panel h1 {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  line-height: 1.1;
  margin-bottom: 1.25rem;
  font-weight: 800;
}

.bx-hero-panel h1 span { color: var(--bx-orange); }

.bx-hero-panel p {
  opacity: 0.88;
  font-size: 1.05rem;
  margin-bottom: 2rem;
  max-width: 420px;
}

.bx-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.75rem;
}

.bx-badge {
  background: rgba(255, 87, 34, 0.2);
  border: 1px solid rgba(255, 87, 34, 0.4);
  padding: 0.35rem 0.9rem;
  border-radius: 2px;
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.bx-hero-stripe {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: repeating-linear-gradient(90deg, var(--bx-orange) 0, var(--bx-orange) 40px, var(--bx-white) 40px, var(--bx-white) 80px);
}

/* Buttons */
.bx-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.75rem;
  border-radius: 2px;
  font-weight: 700;
  text-decoration: none;
  font-size: 0.9rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.bx-btn-orange { background: var(--bx-orange); color: var(--bx-white); }
.bx-btn-orange:hover { background: var(--bx-orange-dark); }
.bx-btn-outline { background: transparent; color: var(--bx-white); border-color: rgba(255,255,255,0.5); margin-left: 0.75rem; }
.bx-btn-outline:hover { border-color: var(--bx-orange); color: var(--bx-orange); }
.bx-btn-dark { background: var(--bx-asphalt); color: var(--bx-white); }
.bx-btn-dark:hover { background: var(--bx-asphalt-mid); }

/* Sections */
.bx-section { padding: 4.5rem 0; }
.bx-section-dark { background: var(--bx-asphalt); color: var(--bx-white); }
.bx-section-white { background: var(--bx-white); }

.bx-container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.bx-head { margin-bottom: 2.5rem; }
.bx-head-center { text-align: center; }
.bx-head-center p { max-width: 560px; margin: 0.75rem auto 0; opacity: 0.8; }

.bx-tag {
  display: inline-block;
  background: var(--bx-orange);
  color: var(--bx-white);
  padding: 0.25rem 0.75rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}

.bx-section-dark .bx-tag { background: var(--bx-orange); }

.bx-head h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--bx-asphalt);
}

.bx-section-dark .bx-head h2 { color: var(--bx-white); }

/* Product grid */
.bx-product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1.5rem;
}

.bx-product-card {
  background: var(--bx-white);
  border: 1px solid #e0e0e0;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}

.bx-product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(44,44,44,0.12);
}

.bx-product-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

.bx-product-body { padding: 1.25rem; }

.bx-product-body h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
  color: var(--bx-asphalt);
}

.bx-product-body p {
  font-size: 0.88rem;
  color: #666;
  margin-bottom: 0.75rem;
}

.bx-price {
  font-weight: 800;
  color: var(--bx-orange);
  font-size: 1rem;
}

/* Bike size calculator */
.bx-calc-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}

.bx-calc-form {
  background: var(--bx-white);
  padding: 2rem;
  border-left: 4px solid var(--bx-orange);
}

.bx-calc-form h3 {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  color: var(--bx-asphalt);
}

.bx-field { margin-bottom: 1.25rem; }

.bx-field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--bx-asphalt);
}

.bx-field input,
.bx-field select,
.bx-field textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 2px solid #ddd;
  border-radius: 2px;
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s;
}

.bx-field input:focus,
.bx-field select:focus,
.bx-field textarea:focus {
  outline: none;
  border-color: var(--bx-orange);
}

.bx-calc-result {
  background: var(--bx-asphalt);
  color: var(--bx-white);
  padding: 2rem;
  text-align: center;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.bx-calc-result i {
  font-size: 3rem;
  color: var(--bx-orange);
  margin-bottom: 1rem;
}

.bx-calc-size {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--bx-orange);
  line-height: 1;
  margin: 0.5rem 0;
}

.bx-calc-detail {
  font-size: 0.9rem;
  opacity: 0.85;
  max-width: 280px;
}

.bx-calc-placeholder { opacity: 0.6; font-size: 0.95rem; }

/* Route cards */
.bx-route-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.bx-filter-btn {
  padding: 0.55rem 1.25rem;
  border: 2px solid var(--bx-asphalt);
  background: transparent;
  color: var(--bx-asphalt);
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  border-radius: 2px;
  transition: all 0.2s;
  font-family: inherit;
}

.bx-filter-btn:hover,
.bx-filter-btn.bx-active {
  background: var(--bx-orange);
  border-color: var(--bx-orange);
  color: var(--bx-white);
}

.bx-section-dark .bx-filter-btn {
  border-color: rgba(255,255,255,0.4);
  color: var(--bx-white);
}

.bx-section-dark .bx-filter-btn.bx-active {
  background: var(--bx-orange);
  border-color: var(--bx-orange);
}

.bx-route-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
}

.bx-route-card {
  background: var(--bx-asphalt-mid);
  border: 2px solid transparent;
  padding: 1.5rem;
  cursor: pointer;
  transition: all 0.25s;
  position: relative;
  overflow: hidden;
}

.bx-route-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--bx-orange);
  transform: scaleY(0);
  transition: transform 0.25s;
}

.bx-route-card:hover,
.bx-route-card.bx-selected {
  border-color: var(--bx-orange);
  background: var(--bx-asphalt-light);
}

.bx-route-card.bx-selected::before,
.bx-route-card:hover::before { transform: scaleY(1); }

.bx-route-card.bx-hidden { display: none; }

.bx-route-card h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--bx-white);
}

.bx-route-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.82rem;
  opacity: 0.8;
  margin-bottom: 0.75rem;
}

.bx-route-meta span { display: flex; align-items: center; gap: 0.35rem; }

.bx-route-card p {
  font-size: 0.88rem;
  opacity: 0.75;
  line-height: 1.5;
}

.bx-route-type {
  display: inline-block;
  background: var(--bx-orange);
  color: var(--bx-white);
  padding: 0.2rem 0.6rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.bx-route-detail-panel {
  margin-top: 2rem;
  padding: 1.75rem;
  background: rgba(255, 87, 34, 0.15);
  border: 1px solid rgba(255, 87, 34, 0.3);
  border-radius: 2px;
  display: none;
}

.bx-route-detail-panel.bx-show { display: block; }

.bx-route-detail-panel h4 {
  color: var(--bx-orange);
  margin-bottom: 0.75rem;
  font-size: 1.15rem;
}

.bx-route-detail-panel p { opacity: 0.9; font-size: 0.92rem; }

.bx-route-tips {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.bx-route-tips span {
  background: var(--bx-asphalt);
  padding: 0.35rem 0.75rem;
  font-size: 0.78rem;
  border-radius: 2px;
}

/* Stats strip */
.bx-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  text-align: center;
}

.bx-stat strong {
  display: block;
  font-size: 2.2rem;
  color: var(--bx-orange);
  font-weight: 800;
}

.bx-stat span { font-size: 0.88rem; opacity: 0.8; }

/* Two column */
.bx-two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.bx-two-col img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-left: 5px solid var(--bx-orange);
}

/* Services list */
.bx-service-list {
  display: grid;
  gap: 1rem;
}

.bx-service-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.5rem;
  background: var(--bx-white);
  border: 1px solid #e8e8e8;
  transition: border-color 0.2s;
}

.bx-service-item:hover { border-color: var(--bx-orange); }

.bx-service-icon {
  width: 52px;
  height: 52px;
  background: var(--bx-asphalt);
  color: var(--bx-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.bx-service-item h3 { font-size: 1.05rem; margin-bottom: 0.35rem; }
.bx-service-item p { font-size: 0.88rem; color: #666; }

/* Team */
.bx-team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.5rem;
}

.bx-team-card {
  text-align: center;
  padding: 2rem 1.5rem;
  background: var(--bx-white);
  border-top: 3px solid var(--bx-orange);
}

.bx-team-avatar {
  width: 72px;
  height: 72px;
  background: var(--bx-asphalt);
  color: var(--bx-orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  margin: 0 auto 1rem;
}

.bx-team-card h3 { font-size: 1rem; margin-bottom: 0.25rem; }
.bx-team-card span { font-size: 0.82rem; color: var(--bx-orange); font-weight: 600; }

/* Page banner */
.bx-page-banner {
  margin-top: 52px;
  background: var(--bx-asphalt);
  color: var(--bx-white);
  padding: 3.5rem 1.5rem;
  text-align: center;
  border-bottom: 4px solid var(--bx-orange);
}

.bx-page-banner h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; }
.bx-page-banner p { opacity: 0.8; margin-top: 0.5rem; }

.bx-crumb {
  font-size: 0.85rem;
  opacity: 0.7;
  margin-bottom: 0.75rem;
}

.bx-crumb a { color: var(--bx-orange-light); text-decoration: none; }

/* Form */
.bx-form { display: grid; gap: 1rem; }
.bx-form .bx-full { grid-column: 1 / -1; }

.bx-form-msg {
  padding: 0.85rem;
  background: rgba(255, 87, 34, 0.12);
  border-left: 3px solid var(--bx-orange);
  font-size: 0.9rem;
  display: none;
}

.bx-form-msg.bx-show { display: block; }

/* Privacy */
.bx-privacy h2 {
  font-size: 1.15rem;
  margin: 2rem 0 0.75rem;
  color: var(--bx-asphalt);
}

.bx-privacy h2:first-child { margin-top: 0; }

.bx-privacy p, .bx-privacy li {
  font-size: 0.92rem;
  color: #555;
  margin-bottom: 0.5rem;
}

.bx-privacy ul { padding-left: 1.5rem; margin-bottom: 1rem; }

/* Footer */
.bx-footer {
  background: var(--bx-asphalt);
  color: rgba(255,255,255,0.75);
  padding: 3rem 0 0;
}

.bx-footer-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 1.5rem 2rem;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 2rem;
}

.bx-footer a {
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  font-size: 0.88rem;
  line-height: 2;
}

.bx-footer a:hover { color: var(--bx-orange); }

.bx-footer-bottom {
  border-top: 1px solid var(--bx-asphalt-light);
  padding: 1.25rem 1.5rem;
  text-align: center;
  font-size: 0.82rem;
}

/* Cookie banner */
.bx-cookie {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--bx-asphalt);
  color: var(--bx-white);
  padding: 1.25rem 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  z-index: 600;
  transform: translateY(100%);
  transition: transform 0.4s;
  border-top: 3px solid var(--bx-orange);
}

.bx-cookie.bx-visible { transform: translateY(0); }

.bx-cookie p { font-size: 0.88rem; max-width: 640px; }
.bx-cookie a { color: var(--bx-orange-light); }

.bx-cookie-btns { display: flex; gap: 0.5rem; }

.bx-cookie-btn {
  padding: 0.6rem 1.25rem;
  border: none;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  border-radius: 2px;
  font-family: inherit;
}

.bx-cookie-yes { background: var(--bx-orange); color: var(--bx-white); }
.bx-cookie-no { background: transparent; color: var(--bx-white); border: 1px solid rgba(255,255,255,0.3); }

/* CTA band */
.bx-cta-band {
  text-align: center;
  padding: 3.5rem 1.5rem;
  background: var(--bx-orange);
  color: var(--bx-white);
}

.bx-cta-band h2 { font-size: 1.8rem; margin-bottom: 0.75rem; }
.bx-cta-band p { opacity: 0.92; margin-bottom: 1.5rem; }

.bx-cta-band .bx-btn { background: var(--bx-white); color: var(--bx-orange); }
.bx-cta-band .bx-btn:hover { background: var(--bx-gray); }

/* Timeline */
.bx-timeline {
  position: relative;
  padding-left: 2rem;
  border-left: 3px solid var(--bx-orange);
}

.bx-timeline-item {
  position: relative;
  margin-bottom: 2rem;
  padding-left: 1rem;
}

.bx-timeline-item::before {
  content: "";
  position: absolute;
  left: -2.55rem;
  top: 0.35rem;
  width: 12px;
  height: 12px;
  background: var(--bx-orange);
  border-radius: 50%;
}

.bx-timeline-item strong { color: var(--bx-orange); font-size: 0.85rem; }
.bx-timeline-item h3 { font-size: 1.05rem; margin: 0.25rem 0 0.35rem; }
.bx-timeline-item p { font-size: 0.88rem; color: #666; }

/* Responsive */
@media (max-width: 900px) {
  .bx-hero { grid-template-columns: 1fr; min-height: auto; }
  .bx-hero-visual { clip-path: none; min-height: 50vh; }
  .bx-hero-visual img { min-height: 50vh; }
  .bx-hero-panel { padding: 2.5rem 1.5rem; }
  .bx-calc-wrap, .bx-two-col { grid-template-columns: 1fr; }
  .bx-stats { grid-template-columns: repeat(2, 1fr); }
  .bx-footer-inner { grid-template-columns: 1fr; }
  .bx-btn-outline { margin-left: 0; margin-top: 0.75rem; }
  .bx-topbar-tag { display: none; }
}

@media (max-width: 600px) {
  .bx-fab-nav { bottom: 1rem; right: 1rem; }
  .bx-fab-menu.bx-open .bx-fab-item[data-i="3"],
  .bx-fab-menu.bx-open .bx-fab-item[data-i="4"] { display: none; }
  .bx-route-grid { grid-template-columns: 1fr; }
  .bx-stats { grid-template-columns: 1fr 1fr; }
  .bx-cookie { flex-direction: column; text-align: center; }
}
