/* Brand assets */
.logo {
  width: 54px;
  height: 54px;
  object-fit: contain;
  object-position: center;
}

/* Bike rental cards */
.bike-service {
  color: #fff;
  background: var(--ink) !important;
}

.bike-icon,
.bike-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  font-size: 64px;
  background: linear-gradient(135deg, #232323, #515151) !important;
}

.bike-service .bike-icon { height: 125px; }

.bike-service h3,
.bike-service p { color: #fff; }

.bike-service strong,
.rate {
  color: var(--orange);
  font-weight: 700;
}

.scooty-service .bike-icon,
.scooty-card .bike-visual {
  color: #fff;
  background: linear-gradient(135deg, #a93a10, #e84b0f) !important;
}

.bike-card .rate,
.seat-count {
  margin: -6px 0 12px;
  color: var(--orange);
  font-size: 11px;
  font-weight: 700;
}

/* Category-specific terms */
.service-terms {
  margin: 18px 0 6px;
  padding: 18px;
  color: #f4f4f4;
  background: #202020;
  border: 1px solid #585858;
  border-left: 3px solid var(--orange);
}

.service-terms[hidden] { display: none; }

.terms-brand {
  margin: 0 0 5px;
  color: var(--orange);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.1px;
}

.service-terms h3 {
  margin: 0;
  color: #fff;
  font: 600 17px Georgia, serif;
}

.terms-route {
  margin: 8px 0 15px;
  color: #ddd;
  font-size: 12px;
  line-height: 1.5;
}

.service-terms h4 {
  margin: 0 0 10px;
  color: var(--orange);
  font-size: 10px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.service-terms ol {
  margin: 0;
  padding-left: 20px;
  font-size: 11px;
  line-height: 1.65;
}

.service-terms li + li { margin-top: 5px; }

.terms-thank-you {
  margin: 16px 0 13px;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.55;
}

.booking .terms-agreement {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  margin: 0;
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.5;
  cursor: pointer;
}

.booking .terms-agreement input {
  display: block;
  width: 16px;
  min-width: 16px;
  height: 16px;
  margin: 1px 0 0;
  padding: 0;
  accent-color: var(--orange);
}

/* Account, booking status, and review experience */
.nav-auth {
  padding: 0;
  color: var(--ink);
  font: 600 11px Montserrat, Arial, sans-serif;
  letter-spacing: .2px;
  text-transform: uppercase;
  cursor: pointer;
  background: transparent;
  border: 0;
}

.nav-auth:hover { color: var(--orange); }

.booking-status {
  min-height: 14px;
  margin: 0 0 11px;
  color: #bdeec9;
  font-size: 11px;
  line-height: 1.5;
}

.booking-status a {
  color: #fff;
  font-weight: 700;
}

.reviews {
  padding: 68px 5%;
  text-align: center;
  background: #f1efeb;
}

.reviews h2 {
  max-width: 680px;
  margin: 7px auto 18px;
  font-size: 38px;
}

.reviews-empty {
  margin: 0;
  color: #666;
  font-size: 13px;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  max-width: 1120px;
  margin: 0 auto;
  text-align: left;
}

.review-card {
  display: flex;
  flex-direction: column;
  padding: 25px;
  background: #fff;
  border-top: 3px solid var(--orange);
  box-shadow: 0 5px 14px #0000000c;
}

.review-stars {
  margin: 0 0 15px;
  color: var(--orange);
  letter-spacing: 2px;
}

.review-comment {
  flex: 1;
  margin: 0 0 20px;
  font: 17px/1.6 Georgia, serif;
}

.review-name {
  margin: 0;
  color: #555;
  font-size: 11px;
  font-weight: 700;
}

.review-name time {
  color: #888;
  font-weight: 500;
}

.site-dialog {
  position: relative;
  width: min(440px, calc(100% - 32px));
  padding: 30px;
  color: var(--ink);
  background: var(--cream);
  border: 0;
  box-shadow: 0 20px 80px #0008;
}

.site-dialog::backdrop { background: #111b; }

.site-dialog h2 {
  margin: 8px 0 12px;
  font-size: 31px;
}

.site-dialog > p:not(.eyebrow),
.site-dialog form > label {
  color: #555;
  font-size: 12px;
  line-height: 1.6;
}

.site-dialog form { margin-top: 20px; }

.site-dialog label {
  display: block;
  margin: 12px 0;
  font-size: 11px;
  font-weight: 700;
}

.site-dialog input,
.site-dialog select,
.site-dialog textarea {
  display: block;
  width: 100%;
  margin-top: 5px;
  padding: 12px;
  font: 13px Montserrat, Arial, sans-serif;
  border: 1px solid #d7d2cc;
  background: #fff;
}

.site-dialog textarea {
  min-height: 105px;
  resize: vertical;
}

.site-dialog .btn { width: 100%; }

.dialog-close {
  position: absolute;
  top: 11px;
  right: 13px;
  padding: 2px 7px;
  color: #555;
  background: transparent;
  border: 0;
  font-size: 27px;
  cursor: pointer;
}

.dialog-message {
  min-height: 18px;
  margin: 10px 0;
  color: #327646;
  font-size: 12px;
  line-height: 1.5;
}

.dialog-message.is-error { color: #b93606; }

.text-button {
  display: block;
  width: 100%;
  margin-top: 14px;
  padding: 0;
  color: var(--orange);
  background: transparent;
  border: 0;
  font: 700 11px Montserrat, Arial, sans-serif;
  text-decoration: underline;
  cursor: pointer;
}

.my-bookings {
  max-height: 390px;
  overflow-y: auto;
}

.booking-item {
  padding: 15px 0;
  border-bottom: 1px solid #ddd;
}

.booking-item h3,
.booking-item p {
  margin: 0;
}

.booking-item h3 {
  font: 600 17px Georgia, serif;
}

.booking-item > p:not(.booking-state):not(.review-pending) {
  margin-top: 5px;
  color: #666;
  font-size: 11px;
  line-height: 1.5;
}

.booking-state,
.review-pending {
  display: inline-block;
  margin-top: 8px !important;
  padding: 4px 7px;
  color: #555;
  background: #e6e3df;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .5px;
  text-transform: uppercase;
}

.booking-state.is-completed { color: #14632d; background: #d9eddf; }
.booking-state.is-cancelled { color: #9b2c10; background: #f9ddd2; }
.booking-item .outline { display: block; margin-top: 10px; }

/* Tablet adjustments */
@media (max-width: 900px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Phone adjustments */
@media (max-width: 600px) {
  html,
  body {
    max-width: 100%;
    overflow-x: hidden;
  }

  .nav { padding: 0 4%; }
  .brand { min-width: 0; gap: 7px; }
  .brand b { font-size: 17px; letter-spacing: 1.4px; }
  .brand small { font-size: 7px; }
  .menu { padding: 8px; line-height: 1; }

  nav {
    display: flex;
    box-sizing: border-box;
    max-width: 100vw;
    gap: 19px;
    padding: 22px 5%;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease;
  }

  nav.open {
    display: flex;
    pointer-events: auto;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  nav a { font-size: 12px; }
  nav .btn { width: min(100%, 260px); text-align: center; }

  .hero { padding: 32px 5% 0; }
  .hero h1 { font-size: clamp(36px, 11vw, 48px); }
  .hero p:not(.eyebrow) { font-size: 13px; }
  .hero-image { height: 220px; }
  .hero-image img { clip-path: none; }
  .image-label { bottom: 18px; left: 7%; font-size: 9px; }
  .image-label strong { font-size: 17px; }

  .feature {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    margin: 0;
    padding: 20px 6%;
    font-size: 11px;
    text-align: center;
  }

  .feature i {
    width: 100%;
    height: 1px;
    border: 0;
    border-top: 1px solid #777;
  }

  .split { gap: 28px; padding: 38px 5% 26px; }
  .content h2, .fleet h2 { font-size: 31px; }
  .cards { grid-template-columns: 1fr; gap: 15px; }
  .cards img, .bike-service .bike-icon { height: 150px; }
  .cards h3 { font-size: 17px; }
  .cards p { font-size: 12px; }

  .booking { width: 100%; max-width: none; padding: 23px 18px; }
  .booking input, .booking select, .booking textarea, .booking label, .row { min-width: 0; }
  .booking input, .booking select, .booking textarea { font-size: 13px; }
  .row { grid-template-columns: 1fr; gap: 0; }
  .nav-auth { font-size: 12px; }

  .service-terms { margin-top: 16px; padding: 15px; }
  .service-terms h3 { font-size: 16px; }
  .terms-route, .service-terms ol, .terms-thank-you, .booking .terms-agreement { font-size: 13px; }
  .service-terms ol { padding-left: 21px; line-height: 1.6; }

  .fleet { padding: 45px 5%; }
  .fleet-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; }
  .fleet-grid article { min-width: 0; }
  .car { height: 105px; }
  .fleet h3 { font-size: 14px; }
  .outline { min-width: 100%; padding: 10px 8px; font-size: 9px; }

  .reviews { padding: 48px 5%; }
  .reviews h2 { font-size: 30px; }
  .reviews-grid { grid-template-columns: 1fr; }
  .review-card { padding: 20px; }

  .site-dialog { padding: 26px 20px; }
  .site-dialog h2 { font-size: 27px; }

  .why { padding: 42px 7%; }
  .benefits { grid-template-columns: 1fr; gap: 8px; }
  .benefits div { padding: 15px 5px; font-size: 12px; }
  .cta { padding: 34px 7%; }
  .cta h2 { font-size: 33px; }
  .contact-info { overflow-wrap: anywhere; }
  .contact-info .btn { width: 100%; text-align: center; }
  footer { padding: 28px 5%; }
  footer p { line-height: 1.6; }
  .logo { width: 45px; height: 45px; }
}

@media (max-width: 359px) {
  .logo { width: 39px; height: 39px; }
  .brand b { font-size: 15px; }
  .hero h1 { font-size: 34px; }
  .fleet-grid { grid-template-columns: 1fr; }
  .car { height: 135px; }
}
