/* Brand tokens */
:root {
  --ink: #16181D;
  --coral: #F0563B;
  --coral-dark: #D8432B;
  --paper: #FFFFFF;
  --mist: #F4F5F6;
  --slate: #5B6770;
  --line: #E6E7EA;

  --font: 'Inter', system-ui, -apple-system, sans-serif;
  --radius: 10px;
  --shadow: 0 2px 12px rgba(22, 24, 29, 0.06);
  --shadow-hover: 0 8px 24px rgba(22, 24, 29, 0.1);

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2.5rem;
  --space-xl: 4rem;
  --space-2xl: 5rem;

  --container: min(100% - 2rem, 72rem);
  --container-narrow: min(100% - 2rem, 32rem);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.6;
  color: var(--slate);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

h1, h2, h3 {
  color: var(--ink);
  margin: 0;
}

p {
  margin: 0;
}

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* Layout */
.container {
  width: var(--container);
  margin-inline: auto;
}

.container--narrow {
  width: var(--container-narrow);
}

.section {
  padding-block: var(--space-xl);
}

.section--mist {
  background: var(--mist);
}

.section__title {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-sm);
}

.section__lead {
  margin-bottom: var(--space-lg);
  max-width: 36rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4em;
  padding: 0.75rem 1.5rem;
  font-family: var(--font);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.2;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  text-decoration: none;
}

.btn--primary {
  background: var(--coral);
  color: var(--paper);
}

.btn--primary:hover {
  background: var(--coral-dark);
}

.btn--small {
  padding: 0.5rem 1rem;
  font-size: 14px;
}

.btn--whatsapp {
  background: var(--coral);
  color: var(--paper);
}

.btn--whatsapp:hover {
  background: var(--coral-dark);
}

.btn--full {
  width: 100%;
}

.btn--outline {
  background: transparent;
  color: var(--coral);
  border: 2px solid var(--coral);
}

.btn--outline:hover {
  background: var(--coral);
  color: var(--paper);
}

/* Header */
.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-sm) max(1rem, calc((100% - 72rem) / 2 + 1rem));
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header__logo img {
  height: 30px;
  width: auto;
}

/* Hero */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: flex-start;
  background-color: var(--ink);
  background-image: url('assets/main_hero.png');
  background-repeat: no-repeat;
  background-size: cover;
  /* Subject (rider) sits lower-right — push down on mobile so text + rider don't overlap */
  background-position: 80% 58%;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to bottom,
      rgba(22, 24, 29, 0.55) 0%,
      rgba(22, 24, 29, 0.2) 40%,
      transparent 55%
    ),
    linear-gradient(
      to top,
      rgba(22, 24, 29, 0.65) 0%,
      rgba(22, 24, 29, 0.2) 30%,
      transparent 55%
    ),
    linear-gradient(
      to right,
      rgba(22, 24, 29, 0.92) 0%,
      rgba(22, 24, 29, 0.78) 30%,
      rgba(22, 24, 29, 0.45) 55%,
      rgba(22, 24, 29, 0.12) 75%,
      transparent 100%
    );
}

.hero__content {
  position: relative;
  z-index: 1;
  padding: var(--space-lg) 0 var(--space-md);
  max-width: 36rem;
}

.hero__title {
  font-size: clamp(2rem, 5vw + 1rem, 3.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--paper);
  margin-bottom: var(--space-md);
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.4),
    0 2px 16px rgba(0, 0, 0, 0.35);
}

.hero__sub {
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: var(--space-lg);
  text-shadow:
    0 1px 2px rgba(0, 0, 0, 0.45),
    0 1px 10px rgba(0, 0, 0, 0.3);
}

/* How it works */
.steps {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
  margin-top: var(--space-lg);
}

.steps__item {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
}

.steps__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: var(--paper);
  color: var(--coral);
  box-shadow: var(--shadow);
}

.steps__heading {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.steps__text {
  font-size: 16px;
}

/* Bike grid */
.bike-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-md);
}

.bike-card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.bike-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-2px);
}

.bike-card__image-wrap {
  aspect-ratio: 4 / 3;
  background: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
}

.bike-card__image {
  max-height: 100%;
  width: auto;
  object-fit: contain;
  padding: 12px;
}

.bike-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: var(--space-md);
  gap: 0.625rem;
}

.bike-card__title-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.bike-card__name {
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
}

.bike-card__engine {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--slate);
  background: var(--mist);
  border-radius: 999px;
}

.bike-card__tagline {
  font-size: 15px;
  line-height: 1.5;
}

.bike-card__features {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
}

.bike-card__chip {
  display: inline-block;
  padding: 0.2rem 0.55rem;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--slate);
  background: var(--mist);
  border-radius: 999px;
}

.bike-card__prices {
  margin-top: auto;
  padding-top: 0.25rem;
}

.bike-card__price-day {
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.3;
}

.bike-card__price-day span {
  font-weight: 400;
  color: var(--slate);
}

.bike-card__price-month {
  font-size: 14px;
  font-weight: 400;
  color: var(--slate);
  margin-top: 0.15rem;
}

.bike-card__btn {
  margin-top: 0.375rem;
}

/* Why us */
.features {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-lg);
  margin-top: var(--space-lg);
}

.features__item {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.features__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 10px;
  background: var(--paper);
  color: var(--coral);
  box-shadow: var(--shadow);
}

.features__heading {
  font-size: 18px;
  font-weight: 600;
}

.features__text {
  font-size: 16px;
}

/* Booking form */
.booking-form {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  margin-top: var(--space-lg);
}

.form-row {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-field label {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

.form-field input,
.form-field select {
  font-family: var(--font);
  font-size: 16px;
  padding: 0.75rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-field input:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--coral);
  box-shadow: 0 0 0 3px rgba(240, 86, 59, 0.15);
}

.form-field input::placeholder {
  color: #9aa3ab;
}

/* Footer */
.footer {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.65);
  padding-block: var(--space-xl);
}

.footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-md);
  text-align: center;
}

.footer__logo img {
  height: 30px;
  width: auto;
}

.footer__social {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-md);
}

.footer__social-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 15px;
  font-weight: 600;
  color: var(--paper);
  transition: color 0.2s ease;
}

.footer__social-link:hover {
  color: var(--coral);
}

.footer__icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.footer__address {
  font-style: normal;
  font-size: 15px;
  line-height: 1.5;
  max-width: 22rem;
}

.footer__contact {
  font-size: 15px;
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 14px;
  padding-top: var(--space-xs);
}

.footer__link {
  color: rgba(255, 255, 255, 0.85);
  transition: color 0.2s ease;
}

.footer__link:hover {
  color: var(--coral);
}

.footer__sep {
  color: rgba(255, 255, 255, 0.35);
}

.footer__copy {
  color: rgba(255, 255, 255, 0.5);
}

/* Privacy page */
.privacy-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.privacy-main {
  flex: 1;
  padding-block: var(--space-xl);
}

.privacy-back {
  display: inline-block;
  margin-bottom: var(--space-lg);
  font-size: 15px;
  font-weight: 600;
  color: var(--coral);
}

.privacy-back:hover {
  color: var(--coral-dark);
}

.privacy-content h1 {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: var(--space-sm);
}

.privacy-updated {
  font-size: 15px;
  margin-bottom: var(--space-lg);
}

.privacy-content h2 {
  font-size: 18px;
  font-weight: 600;
  margin-top: var(--space-lg);
  margin-bottom: 0.5rem;
}

.privacy-content p,
.privacy-content li {
  font-size: 16px;
  line-height: 1.6;
}

.privacy-content ul {
  margin-top: 0.5rem;
  padding-left: 1.25rem;
  list-style: disc;
}

.privacy-content li + li {
  margin-top: 0.35rem;
}

.privacy-content a {
  color: var(--coral);
  font-weight: 500;
}

.privacy-content a:hover {
  color: var(--coral-dark);
}

/* Tablet */
@media (min-width: 540px) {
  .bike-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .form-row {
    flex-direction: row;
  }

  .form-row .form-field {
    flex: 1;
  }
}

/* Desktop */
@media (min-width: 768px) {
  .hero {
    min-height: 72vh;
    align-items: center;
    background-position: center;
  }

  .hero__content {
    padding-block: var(--space-xl);
  }

  .hero__overlay {
    background:
      linear-gradient(
        to top,
        rgba(22, 24, 29, 0.7) 0%,
        rgba(22, 24, 29, 0.3) 35%,
        transparent 65%
      ),
      linear-gradient(
        to right,
        rgba(22, 24, 29, 0.88) 0%,
        rgba(22, 24, 29, 0.62) 35%,
        rgba(22, 24, 29, 0.25) 60%,
        transparent 85%
      );
  }

  .section {
    padding-block: var(--space-2xl);
  }

  .steps {
    flex-direction: row;
    gap: var(--space-lg);
  }

  .steps__item {
    flex: 1;
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

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

@media (min-width: 960px) {
  .bike-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .features {
    grid-template-columns: repeat(4, 1fr);
  }
}
