/* =========================================================
   AIRPORTLINK.CA — MAIN STYLE
   Running in Genius Mode™
   ========================================================= */

/*  reset */
* { box-sizing: border-box; }

/* variables */
:root {
  --bg: #07111f;
  --bg-soft: #0d1b2f;
  --card: #111f35;
  --card-light: #172940;
  --text: #f4f7fb;
  --muted: #b8c4d6;
  --line: rgba(255,255,255,.12);
  --accent: #78b7ff;
  --accent-strong: #4da3ff;
  --warm: #eac47a;
  --radius: 22px;
  --shadow: 0 24px 60px rgba(0,0,0,.35);
}

/* page base */
body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  background:
    radial-gradient(circle at top left, rgba(77,163,255,.22), transparent 38%),
    linear-gradient(180deg,#07111f 0%,#091525 100%);
  color: var(--text);
  line-height: 1.6;
}

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

/* header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding: 18px clamp(18px,5vw,64px);
  background: rgba(7,17,31,.86);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}

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

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: linear-gradient(135deg,var(--accent),var(--warm));
  display: grid;
  place-items: center;
  color: #07111f;
  font-weight: 900;
  letter-spacing: -.04em;
}

.brand strong,
.brand small { display: block; }

.brand small {
  color: var(--muted);
  font-size: .8rem;
}

.site-nav {
  display: flex;
  gap: 18px;
  color: var(--muted);
  font-size: .95rem;
}

.site-nav a:hover { color: var(--text); }

/* layout containers */
.hero,
.section,
.page-hero,
.booking-layout,
.legal-page {
  width: min(1140px, calc(100% - 36px));
  margin: 0 auto;
}

/* type */
.eyebrow {
  color: var(--warm);
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: .78rem;
  font-weight: 800;
  margin-bottom: 12px;
}

h1,h2,h3,p { margin-top: 0; }

h1 {
  font-size: clamp(2.4rem,7vw,5.2rem);
  line-height: .98;
  letter-spacing: -.07em;
  margin-bottom: 22px;
}

h2 {
  font-size: clamp(1.8rem,4vw,3rem);
  letter-spacing: -.04em;
  line-height: 1.05;
  margin-bottom: 16px;
}

h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.hero-copy,
.page-hero p,
.section p {
  color: var(--muted);
  font-size: 1.08rem;
}

/* luminous cards */
.hero-card,
.vehicle-card,
.feature-card,
.booking-form,
.quote-panel,
.legal-card,
.safety,
.vehicle-confirmation,
.payment-note,
.notice-card {
  background:
    linear-gradient(
      180deg,
      rgba(24, 38, 62, 0.98),
      rgba(10, 20, 36, 0.98)
    );
  border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--radius);
  box-shadow:
    0 18px 45px rgba(0,0,0,.34),
    inset 0 1px 0 rgba(255,255,255,.10);
}

/* hero */
.hero {
  min-height: 74vh;
  display: grid;
  grid-template-columns: minmax(0,1.3fr) minmax(280px,.7fr);
  gap: 34px;
  align-items: center;
  padding: 72px 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 28px 0;
}

.trust-list {
  color: var(--muted);
  padding-left: 20px;
}

/* buttons */
.button {
  border: 0;
  border-radius: 999px;
  padding: 13px 20px;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.button.primary {
  background: var(--accent-strong);
  color: white;
}

.button.secondary {
  background: rgba(255,255,255,.08);
  border: 1px solid var(--line);
  color: var(--text);
}

.button.full {
  width: 100%;
  font-size: 1rem;
}

/* driver cards */
.hero-card { padding: 22px; }

.driver-mini,
.driver-card-small {
  display: flex;
  align-items: center;
  gap: 14px;
}

.avatar-placeholder {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  background: linear-gradient(135deg, rgba(120,183,255,.28), rgba(234,196,122,.22));
  border: 1px solid var(--line);
  color: var(--text);
  font-weight: 900;
}

.avatar-placeholder.small {
  width: 56px;
  height: 56px;
  font-size: .9rem;
}

.driver-mini span,
.driver-card-small span {
  color: var(--muted);
  display: block;
}

.card-note {
  margin-top: 24px;
  padding: 18px;
  background: rgba(255,255,255,.06);
  border-radius: 18px;
}

.card-note p {
  color: var(--muted);
  margin-bottom: 0;
}

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

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: center;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 14px;
  margin-top: 22px;
}

.feature-card {
  padding: 18px;
}

.feature-card p {
  margin: 0;
  font-size: .98rem;
}

/* vehicle frame */
.vehicle-card {
  overflow: hidden;
  position: relative;
}

.vehicle-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(
      180deg,
      rgba(255,255,255,.10),
      transparent 32%
    );
  z-index: 1;
}

.vehicle-card > * {
  position: relative;
  z-index: 2;
}

.vehicle-caption {
  padding: 18px;
}

.vehicle-caption span {
  display: block;
  color: var(--muted);
}

.image-placeholder {
  min-height: 220px;
  background:
    linear-gradient(135deg, rgba(120,183,255,.2), rgba(234,196,122,.16)),
    var(--card-light);
  border: 1px dashed rgba(255,255,255,.24);
  display: grid;
  place-items: center;
  color: rgba(244,247,251,.62);
  font-weight: 800;
}

.vehicle-photo-placeholder { min-height: 320px; }

.vehicle-form-photo {
  min-height: 210px;
  border-radius: 16px;
  margin-bottom: 14px;
}

/* service pills */
.service-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.service-pills span {
  padding: 10px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255,255,255,.06);
  color: var(--muted);
}

/* steps */
.steps {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 16px;
}

.steps article {
  background: rgba(255,255,255,.055);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 18px;
}

.steps span {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--accent);
  color: #07111f;
  display: grid;
  place-items: center;
  font-weight: 900;
  margin-bottom: 14px;
}

.steps p {
  margin-bottom: 0;
  font-size: .95rem;
}

/* safety */
.safety {
  padding: 28px;
  margin-bottom: 42px;
}

.safety p { margin-bottom: 0; }

/* booking page */
.page-hero { padding: 58px 0 26px; }

.page-hero h1 {
  font-size: clamp(2.2rem,6vw,4.2rem);
}

.booking-layout {
  display: grid;
  grid-template-columns: minmax(0,1fr) 360px;
  gap: 24px;
  align-items: start;
  padding-bottom: 60px;
}

.booking-form,
.quote-panel,
.legal-card {
  padding: 24px;
}

.notice-card {
  padding: 16px 18px;
  margin-bottom: 18px;
}

.notice-card p {
  margin: 4px 0 0;
  color: var(--muted);
}

/* forms */
fieldset {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
  margin: 0 0 18px;
}

legend {
  padding: 0 8px;
  font-weight: 900;
}

label {
  display: block;
  margin: 14px 0 6px;
  color: var(--text);
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 13px 14px;
  background: rgba(255,255,255,.08);
  color: var(--text);
  font: inherit;
}

input::placeholder,
textarea::placeholder {
  color: rgba(244,247,251,.48);
}

.address-error {
  border: 2px solid #ff6b6b !important;
}

.address-help {
  color: #ff9a9a;
  font-size: 0.85rem;
  margin-top: 6px;
}


select option { color: #111; }

.form-help,
.muted {
  color: var(--muted);
  font-size: .95rem;
}

.checkbox-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 12px 0;
}

.checkbox-row input {
  width: auto;
  margin-top: 6px;
}

.vehicle-confirmation,
.payment-note {
  padding: 18px;
  margin-bottom: 18px;
}

.info-button {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.08);
  color: var(--text);
  border-radius: 50%;
  width: 28px;
  height: 28px;
  cursor: pointer;
  font-weight: 900;
}

.info-panel {
  border-left: 3px solid var(--accent);
  padding: 12px 14px;
  margin-top: 12px;
  background: rgba(255,255,255,.055);
  border-radius: 12px;
}

.terms-row { color: var(--muted); }

/* quote panel */
.quote-panel {
  position: sticky;
  top: 96px;
}

.quote-box {
  padding: 18px;
  border-radius: 18px;
  background:
    linear-gradient(
      180deg,
      rgba(80,125,175,.26),
      rgba(34,55,88,.22)
    );
  border: 1px solid rgba(120,183,255,.28);
  margin: 18px 0;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.12),
    inset 0 -1px 0 rgba(0,0,0,.18);
}

.quote-box span {
  color: var(--muted);
  display: block;
}

.quote-box strong {
  font-size: 2rem;
}

.quote-details {
  color: var(--muted);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
  margin-bottom: 18px;
}

.quote-details p {
  margin-bottom: 8px;
}

.route-map {
  height: 240px;
  width: 100%;
  border-radius: 18px;
  overflow: hidden;
  margin-top: 18px;
  border: 1px solid var(--line);
  background: var(--card-light);
}

.route-map-wrapper {
  margin-top: 18px;
}

/* legal pages */
.legal-page { padding-bottom: 60px; }

.legal-card {
  max-width: 900px;
}

.legal-card h2 {
  font-size: 1.4rem;
  margin-top: 24px;
}

.legal-card h2:first-child { margin-top: 0; }

.legal-card p { color: var(--muted); }

/* footer */
.site-footer {
  position: relative;
  border-top: 1px solid var(--line);
  color: var(--muted);
  padding: 24px clamp(18px,5vw,64px);
  min-height: 92px;
}

.footer-left {
  text-align: left;
}

.footer-center {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
  text-align: center;
  white-space: nowrap;
}

.footer-right {
  position: absolute;
  right: clamp(18px,5vw,64px);
  top: 50%;
  transform: translateY(-50%);
  text-align: right;
}

.footer-center p {
  margin-bottom: 6px;
}

.footer-center span {
  font-size: .82rem;
  letter-spacing: .08em;
  text-transform: none;
}

.footer-center span,
.footer-right a,
.footer-center p {
  color: var(--muted);
}

.site-footer p { margin: 0; }

/* tablet */
@media (max-width: 860px) {
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero,
  .split,
  .booking-layout {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
    padding: 46px 0;
  }

  .steps,
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .quote-panel {
    position: static;
  }

  .vehicle-photo-placeholder {
    min-height: 240px;
  }
}

/* mobile footer */
@media (max-width: 700px) {
  .site-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    text-align: center;
    min-height: auto;
  }

  .footer-left,
  .footer-center,
  .footer-right {
    position: static;
    transform: none;
    text-align: center;
  }

  .footer-center { order: 2; }
  .footer-right { order: 3; }
}

/* phone */
@media (max-width: 520px) {
  .hero,
  .section,
  .page-hero,
  .booking-layout,
  .legal-page {
    width: min(100% - 26px, 1140px);
  }

  .site-header {
    padding: 15px 13px;
  }

  h1 {
    letter-spacing: -.055em;
  }

  .booking-form,
  .quote-panel,
  .legal-card {
    padding: 16px;
  }

  fieldset {
    padding: 14px;
  }

  .button {
    width: 100%;
  }
}

.address-help {
  display: none;
  margin: 8px 0 10px;
  padding: 10px 12px;
  border-radius: 14px;
  background: rgba(255, 107, 107, 0.14);
  border: 1px solid rgba(255, 107, 107, 0.45);
  color: #ffd0d0;
  font-size: 0.86rem;
  line-height: 1.35;
  box-shadow: 0 8px 22px rgba(0,0,0,.22);
}

.address-help.show {
  display: block;
}

.address-error {
  border: 2px solid #ff6b6b !important;
}