/* =========================================================
   Book a Melbourne Taxi — Melbourne Taxi Booking
   Plain CSS, no build step, no host-specific features
   ========================================================= */

:root {
  --yellow: #ffc400;
  --yellow-dark: #e6af00;
  --ink: #101418;
  --ink-soft: #3d444d;
  --muted: #6b7280;
  --bg: #ffffff;
  --bg-alt: #f6f7f9;
  --line: #e5e7eb;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(16, 20, 24, .08);
  --shadow-lg: 0 20px 50px rgba(16, 20, 24, .14);
  --maxw: 1140px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.container-narrow { max-width: 820px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: .95rem;
  padding: 12px 22px;
  border-radius: 999px;
  border: 2px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn-lg { padding: 15px 28px; font-size: 1.05rem; }
.btn-block { width: 100%; }

.btn-primary { background: var(--yellow); color: var(--ink); box-shadow: 0 6px 18px rgba(255, 196, 0, .35); }
.btn-primary:hover { background: var(--yellow-dark); transform: translateY(-2px); }

.btn-outline { border-color: rgba(255, 255, 255, .5); color: #fff; }
.btn-outline:hover { background: rgba(255, 255, 255, .12); border-color: #fff; }

.btn-outline-light { border-color: rgba(16, 20, 24, .3); color: var(--ink); }
.btn-outline-light:hover { background: rgba(16, 20, 24, .06); }

.btn-dark { background: var(--ink); color: var(--yellow); }
.btn-dark:hover { background: #000; transform: translateY(-2px); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(16, 20, 24, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 68px;
}
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: #fff; letter-spacing: -.02em; }
.logo-mark { display: inline-flex; line-height: 0; filter: drop-shadow(0 3px 8px rgba(255, 196, 0, .35)); }
.logo-mark svg { width: 40px; height: 40px; }
.footer-logo .logo-mark svg { width: 36px; height: 36px; }
.logo-text { display: flex; flex-direction: column; line-height: 1.1; font-size: 1.08rem; font-weight: 600; }
.logo-text strong { color: var(--yellow); font-weight: 800; }
.logo-sub { font-size: .6rem; font-weight: 800; letter-spacing: .32em; text-transform: uppercase; color: rgba(255, 255, 255, .75); margin-top: 2px; }
.footer-logo .logo-sub { color: #9ca3af; }

.main-nav { display: flex; align-items: center; gap: 22px; }
.main-nav a { color: #d1d5db; text-decoration: none; font-size: .92rem; font-weight: 500; transition: color .15s; }
.main-nav a:hover { color: #fff; }
.main-nav .nav-phone { color: var(--yellow); font-weight: 700; }

.header-cta { padding: 9px 18px; font-size: .88rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span { width: 24px; height: 2.5px; background: #fff; border-radius: 2px; transition: .25s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(900px 480px at 85% -10%, rgba(255, 196, 0, .22), transparent 60%),
    radial-gradient(700px 420px at -10% 110%, rgba(255, 196, 0, .10), transparent 60%),
    linear-gradient(160deg, #0c0f13 0%, #171c23 55%, #101418 100%);
  color: #fff;
  padding: 70px 0 90px;
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 48px;
  align-items: center;
}
.rating-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 196, 0, .12);
  border: 1px solid rgba(255, 196, 0, .35);
  color: var(--yellow);
  font-size: .85rem;
  font-weight: 600;
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.rating-badge .stars { letter-spacing: 2px; }
.rating-badge.light { background: rgba(16, 20, 24, .10); border-color: rgba(16, 20, 24, .2); color: var(--ink); }

.hero h1 { font-size: clamp(2.1rem, 4.4vw, 3.3rem); line-height: 1.12; font-weight: 900; letter-spacing: -.03em; }
.hero-accent { color: var(--yellow); font-size: .62em; font-weight: 800; display: inline-block; margin-top: 8px; }
.hero-sub { color: #b7bec8; font-size: 1.08rem; margin: 18px 0 26px; max-width: 480px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-points { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 26px; color: #d1d5db; font-size: .9rem; font-weight: 500; }

/* ---------- Quote card ---------- */
.quote-card {
  background: #fff;
  color: var(--ink);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 26px 26px 22px;
}
.quote-card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.quote-card-head h2 { font-size: 1.3rem; letter-spacing: -.02em; }
.live-fares { display: inline-flex; align-items: center; gap: 7px; font-size: .78rem; font-weight: 700; color: #16a34a; text-transform: uppercase; letter-spacing: .06em; }
.pulse { width: 9px; height: 9px; border-radius: 50%; background: #16a34a; animation: pulse 1.6s infinite; }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(22, 163, 74, .45); }
  70% { box-shadow: 0 0 0 9px rgba(22, 163, 74, 0); }
  100% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0); }
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.field label { display: block; font-size: .78rem; font-weight: 700; color: var(--ink-soft); margin-bottom: 5px; }
.field input,
.field select {
  width: 100%;
  font: inherit;
  font-size: .92rem;
  padding: 11px 13px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: #fbfbfc;
  color: var(--ink);
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus,
.field select:focus { outline: none; border-color: var(--yellow); box-shadow: 0 0 0 3px rgba(255, 196, 0, .25); background: #fff; }
.field.invalid input, .field.invalid select { border-color: #dc2626; }

.form-note { font-size: .78rem; color: var(--muted); text-align: center; margin-top: 12px; }

/* ---------- Marquee ---------- */
.marquee { background: var(--yellow); overflow: hidden; padding: 12px 0; }
.marquee-track {
  display: flex;
  gap: 34px;
  width: max-content;
  animation: scroll 28s linear infinite;
  font-weight: 800;
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--ink);
}
@keyframes scroll { to { transform: translateX(-50%); } }
.marquee:hover .marquee-track { animation-play-state: paused; }

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section-alt { background: var(--bg-alt); }
.eyebrow { color: var(--yellow-dark); font-weight: 800; text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; margin-bottom: 10px; }
.section h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); letter-spacing: -.025em; line-height: 1.18; }
.section-sub { color: var(--muted); max-width: 640px; margin: 14px auto 44px; text-align: inherit; }
.section:not(.airport-grid-parent) > .container > h2 { }
section > .container > h2, .hero h1 { text-align: left; }

.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }

/* ---------- Cards / features ---------- */
.card, .feature {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform .2s ease, box-shadow .2s ease;
}
.card:hover, .feature:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.section-alt .card, .section-alt .feature { box-shadow: 0 2px 8px rgba(16, 20, 24, .04); }
.card-icon, .feature-icon { font-size: 1.9rem; margin-bottom: 14px; }
.card h3, .feature h3 { font-size: 1.12rem; margin-bottom: 10px; letter-spacing: -.01em; }
.card p, .feature p { color: var(--muted); font-size: .93rem; }
.card-points { list-style: none; margin: 14px 0 16px; }
.card-points li { font-size: .88rem; font-weight: 600; color: var(--ink-soft); padding: 3px 0 3px 22px; position: relative; }
.card-points li::before { content: "✓"; position: absolute; left: 0; color: #16a34a; font-weight: 800; }
.card-link { font-weight: 700; font-size: .9rem; color: var(--ink); text-decoration: none; border-bottom: 2px solid var(--yellow); }
.card-link:hover { color: var(--yellow-dark); }

/* ---------- Steps ---------- */
.step { position: relative; padding-top: 14px; }
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--ink);
  font-weight: 900;
  font-size: 1.15rem;
  margin-bottom: 16px;
  box-shadow: 0 6px 16px rgba(255, 196, 0, .4);
}

/* ---------- Airport ---------- */
.airport-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: start; }
.section-sub-left { color: var(--muted); margin: 14px 0 22px; }
.check-list { list-style: none; margin-bottom: 26px; }
.check-list li { padding: 7px 0 7px 30px; position: relative; font-size: .95rem; color: var(--ink-soft); }
.check-list li::before {
  content: "✓";
  position: absolute; left: 0; top: 7px;
  width: 21px; height: 21px;
  display: inline-flex; align-items: center; justify-content: center;
  background: rgba(22, 163, 74, .12);
  color: #16a34a;
  border-radius: 50%;
  font-size: .75rem;
  font-weight: 900;
}
.airport-proof { margin-top: 16px; font-size: .88rem; font-weight: 700; color: var(--yellow-dark); }

.fares-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 26px; }
.fares-card h3 { font-size: 1.15rem; margin-bottom: 16px; }
.fare-list { list-style: none; }
.fare-list li { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 13px 0; border-bottom: 1px dashed var(--line); }
.fare-list li:last-child { border-bottom: none; }
.fare-list strong { display: block; font-size: .93rem; }
.fare-list span { font-size: .8rem; color: var(--muted); }
.fare-list em { font-style: normal; font-weight: 900; font-size: 1.2rem; color: var(--ink); background: rgba(255, 196, 0, .18); padding: 5px 12px; border-radius: 9px; white-space: nowrap; }
.fares-note { font-size: .78rem; color: var(--muted); margin-top: 16px; }

/* ---------- Coverage tabs ---------- */
.tabs { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 28px; }
.tab {
  font: inherit; font-weight: 700; font-size: .88rem;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  background: #fff;
  color: var(--ink-soft);
  cursor: pointer;
  transition: .15s;
}
.tab:hover { border-color: var(--yellow); color: var(--ink); }
.tab.active { background: var(--ink); color: var(--yellow); border-color: var(--ink); }

.tab-panel { display: none; flex-wrap: wrap; gap: 10px; justify-content: center; }
.tab-panel.active { display: flex; animation: fadeUp .3s ease; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.suburb-chip {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: .88rem;
  font-weight: 600;
  transition: .15s;
}
.suburb-chip:hover { border-color: var(--yellow); background: rgba(255, 196, 0, .1); }
.suburb-chip a { color: var(--ink-soft); text-decoration: none; display: block; padding: 8px 16px; }

.coverage-note { text-align: center; color: var(--muted); font-size: .9rem; margin-top: 30px; }

/* ---------- Reviews ---------- */
.review { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 14px; box-shadow: 0 2px 8px rgba(16, 20, 24, .04); }
.review .stars { color: var(--yellow-dark); letter-spacing: 3px; font-size: 1rem; }
.review p { color: var(--ink-soft); font-size: .95rem; flex: 1; }
.review footer { display: flex; align-items: center; gap: 12px; }
.review footer div { display: flex; flex-direction: column; line-height: 1.3; }
.review footer strong { font-size: .92rem; }
.review footer span:not(.avatar) { font-size: .8rem; color: var(--muted); }
.avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--yellow);
  display: inline-flex; align-items: center; justify-content: center;
  font-weight: 800;
}

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  font-weight: 700;
  font-size: .98rem;
  padding: 17px 48px 17px 20px;
  position: relative;
  user-select: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 18px; top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--yellow-dark);
  transition: transform .2s;
}
.faq-item[open] summary::after { content: "–"; }
.faq-item[open] summary { background: rgba(255, 196, 0, .07); }
.faq-item p { padding: 0 20px 18px; color: var(--muted); font-size: .93rem; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(135deg, var(--yellow) 0%, #ffd84d 100%); padding: 64px 0; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-inner h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); letter-spacing: -.02em; margin: 10px 0 6px; }
.cta-inner p { color: rgba(16, 20, 24, .75); max-width: 520px; }
.cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #9ca3af; padding: 60px 0 0; font-size: .9rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; padding-bottom: 44px; }
.footer-logo { margin-bottom: 14px; }
.site-footer h4 { color: #fff; font-size: .95rem; margin-bottom: 14px; }
.site-footer ul { list-style: none; }
.site-footer li { padding: 4px 0; }
.site-footer a { color: #9ca3af; text-decoration: none; transition: color .15s; }
.site-footer a:hover { color: var(--yellow); }
.footer-bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-top: 1px solid rgba(255, 255, 255, .08); padding: 20px; font-size: .8rem; }

/* ---------- WhatsApp float ---------- */
.whatsapp-float {
  position: fixed;
  right: 22px; bottom: 22px;
  width: 58px; height: 58px;
  display: flex; align-items: center; justify-content: center;
  background: #25d366;
  color: #fff;
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(37, 211, 102, .45);
  z-index: 90;
  transition: transform .15s;
}
.whatsapp-float:hover { transform: scale(1.08); }

/* ---------- Toast (form errors) ---------- */
.toast {
  position: fixed;
  left: 50%; bottom: 28px;
  transform: translateX(-50%) translateY(20px);
  background: var(--ink);
  color: #fff;
  padding: 13px 22px;
  border-radius: 10px;
  font-size: .9rem;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  pointer-events: none;
  transition: .25s;
  z-index: 200;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast.error { background: #dc2626; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .5s ease, transform .5s ease; }
.reveal.revealed { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .marquee-track { animation: none; }
}

/* ---------- Header scrolled state ---------- */
.site-header.scrolled { box-shadow: 0 6px 20px rgba(0, 0, 0, .35); }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero { padding: 48px 0 64px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .airport-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .main-nav {
    position: fixed;
    inset: 68px 0 auto 0;
    background: rgba(16, 20, 24, .98);
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 14px 20px 22px;
    display: none;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 10px 0; font-size: 1rem; width: 100%; }
  .nav-toggle { display: flex; }
  .header-cta { display: none; }
}

@media (max-width: 620px) {
  .grid-3 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; gap: 12px; margin-bottom: 12px; }
  .section { padding: 60px 0; }
  .cta-inner { flex-direction: column; text-align: center; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
}
