/* Clarity Fleet – shared styles */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary:       #3b82f6;
  --primary-dark:  #2563eb;
  --primary-light: #dbeafe;
  --on-primary:    #ffffff;
  --bg:            #f8f9fa;
  --surface:       #ffffff;
  --border:        #e5e7eb;
  --border-focus:  #3b82f6;
  --heading:       #191c1d;
  --body:          #424754;
  --muted:         #6b7280;
  --success:       #166534;
  --success-bg:    #dcfce7;
  --r-card:        1.5rem;   /* 24px */
  --r-btn:         0.5rem;   /* 8px */
  --r-input:       0.5rem;
}

html { scroll-behavior: smooth; font-size: 110%; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--body);
  background-color: var(--bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img { display: block; max-width: 100%; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Typography helpers ── */
.text-display  { font-size: clamp(2rem, 5vw, 3rem); font-weight: 700; line-height: 1.15; letter-spacing: -0.02em; color: var(--heading); }
.text-headline { font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 600; line-height: 1.25; letter-spacing: -0.01em; color: var(--heading); }
.text-title    { font-size: 1.125rem; font-weight: 600; line-height: 1.55; color: var(--heading); }
.text-body-lg  { font-size: 1rem; font-weight: 400; line-height: 1.6; }
.text-body     { font-size: 0.875rem; font-weight: 400; line-height: 1.55; }
.text-label    { font-size: 0.75rem; font-weight: 500; letter-spacing: 0.02em; }

/* ── Layout ── */
.container {
  width: 100%;
  max-width: 1320px;
  margin-inline: auto;
  padding-inline: 1rem;
}
@media (min-width: 768px) { .container { padding-inline: 2rem; } }

/* ── Nav ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4rem;
}
.nav-brand {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.nav-brand .material-symbols-outlined { font-size: 1.5rem; }
.nav-links { display: none; gap: 1.5rem; align-items: center; }
@media (min-width: 768px) { .nav-links { display: flex; } }
.nav-links a { color: var(--body); font-size: 0.875rem; transition: color .2s; }
.nav-links a:hover { color: var(--primary); }

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  border-radius: var(--r-btn);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: background .2s, transform .1s;
  text-decoration: none;
  white-space: nowrap;
}
.btn:active { transform: scale(0.97); }

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

.btn-primary-lg {
  padding: 0.875rem 2rem;
  font-size: 1rem;
  font-weight: 600;
}

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--heading);
}
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }

/* ── Cards ── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--r-card);
  padding: 1.5rem;
}

/* ── Selectable option cards (booking flow) ── */
.option-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--r-card);
  cursor: pointer;
  transition: border-color .15s, box-shadow .15s;
  user-select: none;
}
.option-card:hover { border-color: var(--primary); }
.option-card.selected {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px var(--primary);
}

.option-card-label {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1rem;
  font-weight: 600;
  color: var(--heading);
}
.option-card-label .material-symbols-outlined {
  font-size: 1.375rem;
  color: var(--body);
}

/* ── Form inputs ── */
.form-group { display: flex; flex-direction: column; gap: 0.25rem; }
.form-label { font-size: 0.75rem; font-weight: 500; color: var(--heading); letter-spacing: 0.02em; }
.form-input, .form-textarea {
  width: 100%;
  padding: 0.625rem 0.875rem;
  border: 1.5px solid var(--border);
  border-radius: var(--r-input);
  background: var(--surface);
  color: var(--heading);
  font-size: 0.875rem;
  font-family: inherit;
  transition: border-color .15s, box-shadow .15s;
  outline: none;
}
.form-input:focus, .form-textarea:focus {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(59,130,246,.15);
}
.form-textarea { resize: vertical; min-height: 110px; }

/* ── Trust badge (star strip) ── */
.trust-strip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 999px;
  padding: 0.375rem 0.875rem;
  font-size: 0.8125rem;
  color: #fff;
  font-weight: 500;
}
.trust-strip .stars { display: flex; gap: 2px; color: #fbbf24; }
.trust-strip .stars .material-symbols-outlined { font-size: 1rem; }

/* ── Pre-footer CTA band ── */
.prefooter {
  background: var(--primary);
  padding-block: 3.5rem;
  margin-top: auto;
}
.prefooter-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  text-align: center;
}
@media (min-width: 640px) {
  .prefooter-inner {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}
.prefooter-headline {
  font-size: clamp(1.25rem, 3vw, 1.625rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.015em;
  line-height: 1.25;
}
.prefooter-sub {
  font-size: 0.9375rem;
  color: rgba(255,255,255,.75);
  margin-top: .375rem;
}
.btn-white {
  background: #fff;
  color: var(--primary);
  flex-shrink: 0;
}
.btn-white:hover { background: #f0f5ff; }

/* ── Footer ── */
.footer { background: #111827; }
.footer-main { padding-block: 3rem; }
.footer-cols {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 640px)  { .footer-cols { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .footer-cols { grid-template-columns: 2fr 1fr 1fr 1fr; } }
.footer-brand {
  font-size: 1.125rem;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  gap: .5rem;
}
.footer-brand .material-symbols-outlined { font-size: 1.375rem; }
.footer-tagline {
  font-size: 0.875rem;
  color: #9ca3af;
  margin-top: .625rem;
  line-height: 1.55;
  max-width: 22rem;
}
.footer-origin {
  font-size: 0.75rem;
  color: #6b7280;
  margin-top: 1rem;
}
.footer-col-heading {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #9ca3af;
  margin-bottom: .875rem;
}
.footer-col-links { display: flex; flex-direction: column; gap: .625rem; }
.footer-col-links a {
  font-size: 0.875rem;
  color: #d1d5db;
  transition: color .2s;
}
.footer-col-links a:hover { color: #fff; }
.footer-trust {
  border-top: 1px solid #1f2937;
  padding-block: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: .625rem 1.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: #6b7280;
}
.footer-trust-sep { color: #374151; }
.footer-bottom {
  border-top: 1px solid #1f2937;
  padding-block: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  text-align: center;
  font-size: 0.75rem;
  color: #6b7280;
}
@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}
.footer-links { display: flex; flex-wrap: wrap; gap: 1rem; }
.footer-links a { color: #6b7280; transition: color .2s; }
.footer-links a:hover { color: #9ca3af; }

/* ── Section spacing ── */
.section { padding-block: 4rem; }
.section-sm { padding-block: 2.5rem; }

/* ── Progress bar (booking) ── */
.progress-bar {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}
.progress-steps {
  display: flex;
  justify-content: space-between;
}
.progress-steps span {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: 0.02em;
}
.progress-steps span.active { color: var(--primary); font-weight: 600; }
.progress-track {
  display: flex;
  gap: 0.375rem;
  height: 0.375rem;
}
.progress-track .seg {
  flex: 1;
  border-radius: 999px;
  background: #e5e7eb;
  transition: background .3s;
}
.progress-track .seg.active { background: var(--primary); }

/* ── Thank-you state ── */
.thankyou-state {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
  padding: 3rem 1.5rem;
}
.thankyou-state.visible { display: flex; }
.thankyou-icon {
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  background: var(--success-bg);
  display: flex;
  align-items: center;
  justify-content: center;
}
.thankyou-icon .material-symbols-outlined {
  font-size: 2.5rem;
  color: var(--success);
}

/* ── Image placeholders ── */
.img-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #cbd5e1;
  color: #475569;
  font-size: 0.8125rem;
  font-weight: 500;
  text-align: center;
  padding: 0.5rem;
  border-radius: var(--r-card);
  border: 1px solid #94a3b8;
  line-height: 1.4;
}

/* ── Utility ── */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.hidden   { display: none !important; }
.flex     { display: flex; }
.items-center { align-items: center; }
.gap-2 { gap: 0.5rem; }
.gap-4 { gap: 1rem; }
.mt-2  { margin-top: 0.5rem; }
.mt-4  { margin-top: 1rem; }
.mt-6  { margin-top: 1.5rem; }
.mb-2  { margin-bottom: 0.5rem; }
.mb-4  { margin-bottom: 1rem; }
.mb-6  { margin-bottom: 1.5rem; }
.mb-8  { margin-bottom: 2rem; }
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: 1fr 1fr; } }
.grid-4 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (min-width: 768px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }
.text-center { text-align: center; }
.text-muted  { color: var(--muted); }
.text-primary { color: var(--primary); }
.text-white  { color: #fff; }
.font-bold   { font-weight: 700; }
.font-semibold { font-weight: 600; }
.w-full { width: 100%; }
.max-w-xl { max-width: 42rem; margin-inline: auto; }
.max-w-2xl { max-width: 56rem; margin-inline: auto; }
.rounded-full { border-radius: 999px; }
