/* ==========================================================================
   ScootGo — Design System
   Deep pine-teal + highway coral, warm sand background.
   Display: Fraunces (editorial, road-trip warmth) / UI: Inter
   ========================================================================== */

:root {
  --ink: #0F2A28;
  --ink-soft: #17322F;
  --teal: #0E6E64;
  --teal-dark: #0A5049;
  --teal-pale: #E4F2EE;
  --coral: #FF6B39;
  --coral-dark: #E2512A;
  --coral-pale: #FFE9DF;
  --sand: #FBF7EF;
  --sand-deep: #F3ECDC;
  --paper: #FFFFFF;
  --line: #E3DCC9;
  --text: #1D2B27;
  --text-soft: #55655F;
  --text-faint: #8A968F;
  --gold: #E8A93B;
  --danger: #D8483C;
  --success: #1F8A5F;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(15, 42, 40, .06), 0 1px 1px rgba(15, 42, 40, .04);
  --shadow-md: 0 8px 24px rgba(15, 42, 40, .10);
  --shadow-lg: 0 20px 48px rgba(15, 42, 40, .16);

  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--sand);
  -webkit-font-smoothing: antialiased;
  line-height: 1.55;
}

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

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

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  color: var(--ink);
  margin: 0 0 .4em;
  line-height: 1.12;
  font-weight: 600;
  letter-spacing: -0.01em;
}

p {
  margin: 0 0 1em;
  color: var(--text-soft);
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding: 28px 28px;
}

@media (max-width: 640px) {
  .container {
    padding: 0 18px;
  }
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: .95rem;
  padding: 13px 24px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  white-space: nowrap;
}

.btn:active {
  transform: translateY(1px);
}

.btn-coral {
  background: var(--coral);
  color: #fff;
  box-shadow: 0 6px 18px rgba(255, 107, 57, .35);
}

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

.btn-teal {
  background: var(--teal);
  color: #fff;
}

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

.btn-outline {
  background: transparent;
  border-color: var(--line);
  color: var(--ink);
}

.btn-outline:hover {
  border-color: var(--ink);
}

.btn-outline-light {
  background: transparent;
  border-color: rgba(255, 255, 255, .5);
  color: #fff;
}

.btn-outline-light:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, .08);
}

.btn-ghost {
  background: transparent;
  color: var(--teal-dark);
  padding: 13px 10px;
}

.btn-sm {
  padding: 8px 16px;
  font-size: .82rem;
}

.btn-block {
  width: 100%;
}

.btn:disabled {
  opacity: .5;
  cursor: not-allowed;
}

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 247, 239, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ink);
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-main {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-main a {
  font-size: .93rem;
  font-weight: 500;
  color: var(--text);
}

.nav-main a:hover {
  color: var(--teal-dark);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

@media (max-width: 980px) {
  .nav-main {
    display: none;
  }

  .header-login {
    display: none;
  }

  .nav-toggle {
    display: block;
  }
}

/* ---------- hero ---------- */
.hero {
  position: relative;
  background: var(--ink);
  color: #fff;
  overflow: hidden;
  padding: 40px 0 50px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(700px 420px at 82% 10%, rgba(255, 107, 57, .28), transparent 60%),
    radial-gradient(900px 500px at 10% 90%, rgba(14, 110, 100, .55), transparent 60%);
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 50px;
  align-items: center;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: .8rem;
  font-weight: 600;
  color: var(--coral);
  background: rgba(255, 107, 57, .13);
  border: 1px solid rgba(255, 107, 57, .35);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 22px;
}

.hero h1 {
  font-size: clamp(2.4rem, 4.6vw, 3.9rem);
  color: #fff;
  margin-bottom: .3em;
}

.hero h1 em {
  font-style: italic;
  color: var(--coral);
}

.hero p.lead {
  color: rgba(255, 255, 255, .72);
  font-size: 1.12rem;
  max-width: 480px;
}

.hero-stats {
  display: flex;
  gap: 34px;
  margin-top: 36px;
}

.hero-stats div strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: #fff;
}

.hero-stats div span {
  font-size: .8rem;
  color: rgba(255, 255, 255, .55);
}

.hero-visual {
  position: relative;
}

.hero-visual img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}

.hero-badge {
  position: absolute;
  bottom: -22px;
  left: -22px;
  background: #fff;
  color: var(--ink);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-badge .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 4px rgba(31, 138, 95, .18);
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual {
    display: none;
  }

  .hero {
    padding-bottom: 210px;
  }
}

/* ---------- search box ---------- */
.search-box {
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 22px;
  /* margin-top: -110px; */
  position: relative;
  z-index: 5;
}

.search-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr 1fr auto;
  gap: 0;
}

.search-field {
  padding: 10px 20px;
  border-right: 1px solid var(--line);
}

.search-field:last-of-type {
  border-right: none;
}

.search-field label {
  display: block;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--text-faint);
  margin-bottom: 6px;
}

.search-field input,
.search-field select {
  border: none;
  outline: none;
  font-family: var(--font-body);
  font-size: .95rem;
  font-weight: 600;
  color: var(--ink);
  width: 100%;
  background: transparent;
}

.search-submit {
  display: flex;
  align-items: center;
  padding-left: 16px;
}

@media (max-width: 980px) {
  .search-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4px;
  }

  .search-field {
    border-right: none;
    border-bottom: 1px solid var(--line);
  }

  .search-submit {
    grid-column: 1 / -1;
    padding: 12px 4px 4px;
  }
}

/* ---------- sections ---------- */
.section {
  padding: 96px 0;
}

.section-tight {
  padding: 64px 0;
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 40px;
  gap: 20px;
}

.section-head h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  max-width: 560px;
}

.section-head p {
  max-width: 420px;
}

.bg-teal {
  background: var(--teal-pale);
}

.bg-ink {
  background: var(--ink);
  color: #fff;
}

.bg-ink h2,
.bg-ink h3 {
  color: #fff;
}

.bg-ink p {
  color: rgba(255, 255, 255, .68);
}

/* road-line divider motif */
.roadline {
  height: 3px;
  background: repeating-linear-gradient(90deg, var(--coral) 0 26px, transparent 26px 44px);
  border-radius: 3px;
  width: 72px;
  margin-bottom: 18px;
}

/* ---------- destination cards ---------- */
.dest-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.dest-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 3/4;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: box-shadow .2s ease;
}

.dest-card:hover {
  box-shadow: var(--shadow-md);
}

.dest-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dest-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(15, 42, 40, .88) 0%, rgba(15, 42, 40, .1) 55%, transparent 75%);
}

.dest-card .dest-info {
  position: absolute;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 2;
  color: #fff;
}

.dest-card .dest-info h4 {
  color: #fff;
  margin-bottom: 2px;
  font-size: 1.15rem;
}

.dest-card .dest-info span {
  font-size: .78rem;
  color: rgba(255, 255, 255, .75);
}

@media (max-width: 980px) {
  .dest-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 640px) {
  .dest-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

/* ---------- how it works ---------- */
.steps-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.step-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 28px 24px;
}

.step-num {
  font-family: var(--font-display);
  font-size: 2.1rem;
  color: var(--coral);
  margin-bottom: 10px;
}

.step-card h4 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.step-card p {
  font-size: .9rem;
  margin: 0;
}

@media (max-width: 900px) {
  .steps-row {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 560px) {
  .steps-row {
    grid-template-columns: 1fr;
  }
}

/* ---------- scooter cards ---------- */
.scooter-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.scooter-card {
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
  transition: box-shadow .2s ease, transform .2s ease;
  display: flex;
  flex-direction: column;
}

.scooter-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.scooter-card .thumb {
  position: relative;
  aspect-ratio: 16/11;
  background: var(--teal-pale);
}

.scooter-card .thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.scooter-card .thumb .tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: #fff;
  font-size: .7rem;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 999px;
  color: var(--teal-dark);
}

.scooter-card .thumb .rating {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(15, 42, 40, .85);
  color: #fff;
  font-size: .74rem;
  font-weight: 700;
  padding: 5px 9px;
  border-radius: 999px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.scooter-card .body {
  padding: 18px 18px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.scooter-card .body h4 {
  font-size: 1.08rem;
  margin-bottom: 2px;
}

.scooter-card .meta {
  font-size: .8rem;
  color: var(--text-faint);
  margin-bottom: 12px;
}

.scooter-card .specs {
  display: flex;
  gap: 14px;
  font-size: .76rem;
  color: var(--text-soft);
  margin-bottom: 16px;
}

.scooter-card .specs span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.scooter-card .price-row {
  margin-top: auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
}

.scooter-card .price strong {
  font-family: var(--font-display);
  font-size: 1.35rem;
  color: var(--ink);
}

.scooter-card .price span {
  font-size: .74rem;
  color: var(--text-faint);
  display: block;
}

.card-actions {
  display: flex;
  gap: 8px;
  margin-top: 14px;
}

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

@media (max-width: 640px) {
  .scooter-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------- badges / status pills ---------- */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: .74rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 999px;
}

.pill-success {
  background: #E4F5EC;
  color: var(--success);
}

.pill-warn {
  background: #FCF1D9;
  color: #9A6E14;
}

.pill-danger {
  background: #FBE7E4;
  color: var(--danger);
}

.pill-info {
  background: var(--teal-pale);
  color: var(--teal-dark);
}

.pill-neutral {
  background: #EFEBDD;
  color: var(--text-soft);
}

/* ---------- footer ---------- */
.site-footer {
  background: var(--ink);
  color: rgba(255, 255, 255, .6);
  padding: 64px 0 26px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 46px;
}

.footer-grid h5 {
  color: #fff;
  font-family: var(--font-body);
  font-size: .85rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-grid a {
  display: block;
  font-size: .87rem;
  color: rgba(255, 255, 255, .6);
  margin-bottom: 10px;
}

.footer-grid a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  font-size: .8rem;
  flex-wrap: wrap;
  gap: 10px;
}

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

/* ---------- forms ---------- */
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}

.form-row.single {
  grid-template-columns: 1fr;
}

.field label {
  display: block;
  font-size: .82rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 7px;
}

.field .hint {
  font-size: .74rem;
  color: var(--text-faint);
  margin-top: 5px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: .92rem;
  color: var(--text);
  background: #fff;
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(14, 110, 100, .15);
}

.field textarea {
  resize: vertical;
  min-height: 90px;
}

@media (max-width: 700px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}

.upload-box {
  border: 1.5px dashed var(--line);
  border-radius: var(--radius-sm);
  padding: 22px;
  text-align: center;
  background: var(--sand);
  cursor: pointer;
  transition: border-color .15s;
}

.upload-box:hover {
  border-color: var(--teal);
}

.upload-box strong {
  display: block;
  color: var(--ink);
  font-size: .88rem;
  margin-bottom: 3px;
}

.upload-box span {
  font-size: .76rem;
  color: var(--text-faint);
}

/* ---------- card / panel ---------- */
.panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 26px;
}

.panel-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.panel-title h3 {
  font-size: 1.1rem;
  margin: 0;
}

/* ---------- tables ---------- */
.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .87rem;
}

.data-table th {
  text-align: left;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .05em;
  color: var(--text-faint);
  font-weight: 700;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
}

.data-table td {
  padding: 14px;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
}

.data-table tr:last-child td {
  border-bottom: none;
}

.data-table td.strong {
  font-weight: 700;
  color: var(--ink);
}

.table-scroll {
  overflow-x: auto;
}

/* ---------- dashboard layout ---------- */
.dash-shell {
  display: grid;
  grid-template-columns: 250px 1fr;
  min-height: 100vh;
  background: var(--sand);
}

.dash-side {
  background: var(--ink);
  color: rgba(255, 255, 255, .75);
  padding: 26px 18px;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}

.dash-side .brand {
  color: #fff;
  padding: 0 8px 22px;
}

.dash-side .side-group {
  margin-top: 18px;
}

.dash-side .side-label {
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .07em;
  color: rgba(255, 255, 255, .35);
  padding: 0 10px;
  margin-bottom: 6px;
}

.dash-side a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: .88rem;
  font-weight: 500;
  margin-bottom: 2px;
}

.dash-side a:hover {
  background: rgba(255, 255, 255, .06);
  color: #fff;
}

.dash-side a.active {
  background: var(--teal);
  color: #fff;
}

.dash-main {
  padding: 30px 34px 70px;
}

.dash-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 26px;
}

.dash-topbar h1 {
  font-size: 1.5rem;
  margin: 0;
}

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 28px;
}

.kpi-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 20px 22px;
}

.kpi-card .kpi-label {
  font-size: .78rem;
  color: var(--text-faint);
  font-weight: 600;
  margin-bottom: 8px;
}

.kpi-card .kpi-value {
  font-family: var(--font-display);
  font-size: 1.7rem;
  color: var(--ink);
}

.kpi-card .kpi-delta {
  font-size: .76rem;
  margin-top: 6px;
  font-weight: 600;
}

.kpi-delta.up {
  color: var(--success);
}

.kpi-delta.down {
  color: var(--danger);
}

@media (max-width: 1000px) {
  .kpi-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 900px) {
  .dash-shell {
    grid-template-columns: 1fr;
  }

  .dash-side {
    display: none;
  }
}

.avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--coral);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .8rem;
}

/* ---------- stepper (booking flow) ---------- */
.stepper {
  display: flex;
  align-items: center;
  margin-bottom: 40px;
}

.stepper .step {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 1;
}

.stepper .step .circ {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .85rem;
  color: var(--text-faint);
  flex-shrink: 0;
}

.stepper .step.done .circ {
  background: var(--teal);
  border-color: var(--teal);
  color: #fff;
}

.stepper .step.active .circ {
  border-color: var(--coral);
  color: var(--coral);
}

.stepper .step .label {
  font-size: .82rem;
  font-weight: 600;
  color: var(--text-faint);
}

.stepper .step.active .label,
.stepper .step.done .label {
  color: var(--ink);
}

.stepper .connector {
  flex: 1;
  height: 2px;
  background: var(--line);
  margin: 0 6px;
}

.stepper .connector.done {
  background: var(--teal);
}

@media (max-width: 800px) {
  .stepper .label {
    display: none;
  }
}

/* ---------- price breakdown ---------- */
.price-line {
  display: flex;
  justify-content: space-between;
  font-size: .9rem;
  padding: 9px 0;
  color: var(--text-soft);
}

.price-line.total {
  border-top: 1.5px solid var(--ink);
  margin-top: 8px;
  padding-top: 14px;
  font-weight: 700;
  color: var(--ink);
  font-size: 1.05rem;
}

.price-line .neg {
  color: var(--success);
}

.price-note {
  font-size: .76rem;
  color: var(--text-faint);
}

/* ---------- misc utility ---------- */
.flex {
  display: flex;
}

.gap-8 {
  gap: 8px;
}

.gap-12 {
  gap: 12px;
}

.gap-20 {
  gap: 20px;
}

.mt-0 {
  margin-top: 0;
}

.text-center {
  text-align: center;
}

.muted {
  color: var(--text-faint);
}

.icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.two-col {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 30px;
  align-items: start;
}

@media (max-width: 900px) {
  .two-col {
    grid-template-columns: 1fr;
  }
}

.sticky-cta-mobile {
  display: none;
}

@media (max-width: 900px) {
  .sticky-cta-mobile {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 200;
    background: #fff;
    border-top: 1px solid var(--line);
    padding: 12px 16px;
    box-shadow: 0 -8px 24px rgba(0, 0, 0, .08);
    align-items: center;
    justify-content: space-between;
    gap: 14px;
  }
}