/* ============================================================
   Jet Cab AMS — design system
   Read: editorial luxury chauffeur landing, tourists + business,
   many on phones at the airport. Quiet, premium, one gold accent.
   Dials: variance medium, motion low, density low-medium.
   Mobile-first: base = 375px, enhance upward.
   ============================================================ */

:root {
  color-scheme: dark;
  --bg: #0f1114;
  --bg-2: #14171c;
  --bg-3: #1b1f26;
  --panel: #161a20;
  --ink: #f0ece3;
  --ink-dim: #d8d3c8;
  --ink-faint: #a8a296;
  --gold: #c9a96a;
  --gold-soft: rgba(201, 169, 106, .16);
  --gold-line: rgba(201, 169, 106, .38);
  --line: rgba(240, 236, 227, .09);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Inter", -apple-system, "Segoe UI", sans-serif;
  --r: 14px;
  --r-sm: 9px;
  --pad: clamp(1.1rem, 5vw, 4rem);
  --maxw: 74rem;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 500; line-height: 1.12; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.hidden { display: none !important; }
.muted { color: var(--ink-dim); }
.hp { position: absolute; inset-inline-start: -9999px; opacity: 0; height: 0; width: 0; }

::selection { background: var(--gold-soft); }

/* ============ NAV ============ */
.nav {
  position: sticky; top: 0; z-index: 60;
  display: flex; align-items: center; gap: .9rem;
  padding: .8rem var(--pad);
  background: rgba(15, 17, 20, .82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.brand {
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--serif); font-size: 1.4rem; letter-spacing: .05em;
  white-space: nowrap;
}
.brand-mark { height: 34px; width: auto; }
.brand span { color: var(--gold); }
.nav-links { display: none; }
.nav-right { display: flex; align-items: center; gap: .6rem; margin-inline-start: auto; }
#lang {
  appearance: none;
  background: transparent; color: var(--ink-dim);
  border: 1px solid var(--line); border-radius: 999px;
  padding: .5rem .85rem; font: inherit; font-size: .78rem; letter-spacing: .08em;
  min-height: 40px;
}
#lang:hover { border-color: var(--gold-line); color: var(--ink); }
.nav-wa {
  display: inline-flex; align-items: center; min-height: 40px;
  font-size: .78rem; letter-spacing: .1em; text-transform: uppercase;
  color: var(--gold); border: 1px solid #25d366;
  padding: .5rem 1rem; border-radius: 999px; white-space: nowrap;
  transition: background .18s ease, color .18s ease;
}
.nav-wa:hover { background: var(--gold); color: var(--bg); }

@media (min-width: 900px) {
  .nav-links {
    display: flex; gap: 1.8rem; margin-inline-start: auto;
    font-size: .8rem; letter-spacing: .12em; text-transform: uppercase;
  }
  .nav-links a { color: var(--ink-dim); padding: .5rem 0; }
  .nav-links a:hover { color: var(--gold); }
  .nav-right { margin-inline-start: 0; }
}

/* ============ HERO ============ */
.hero {
  display: flex; flex-direction: column;
  max-width: var(--maxw); margin: 0 auto;
  padding: 0 var(--pad);
  min-height: 0;
}
.hero-media {
  margin: 1.2rem calc(-1 * var(--pad)) 0;
  height: 38vh; min-height: 240px; overflow: hidden;
}
.hero-media img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: center 62%;
}
.hero-text { padding: 2.2rem 0 3rem; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .7rem;
  font-size: .72rem; letter-spacing: .22em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 1.3rem;
}
.eyebrow::before { content: ""; width: 2.2rem; height: 1px; background: var(--gold-line); }
.hero h1 {
  font-size: clamp(2.7rem, 9vw, 5.4rem);
  letter-spacing: -.01em;
  max-width: 12ch;
}
.hero-sub {
  color: var(--ink-dim);
  font-size: clamp(1rem, 2.6vw, 1.2rem);
  margin: 1.2rem 0 2rem;
  max-width: 30rem;
}
.hero-ctas { display: flex; flex-direction: column; gap: .8rem; }
.trust {
  list-style: none; margin-top: 2.4rem;
  display: flex; flex-direction: column; gap: .55rem;
  font-size: .84rem; color: var(--ink-dim); letter-spacing: .03em;
}
.trust li { display: flex; align-items: baseline; gap: .6rem; }
.trust li::before { content: "·"; color: var(--gold); font-size: 1.2em; line-height: 0; }

@media (min-width: 900px) {
  .hero {
    flex-direction: row-reverse; align-items: stretch;
    gap: clamp(2rem, 5vw, 4.5rem);
    min-height: 88vh;
    padding-top: 0;
  }
  .hero-media {
    flex: 1.05; margin: 0; height: auto; min-height: 88vh;
    border-inline-start: 1px solid var(--line);
  }
  .hero-text {
    flex: 1; display: flex; flex-direction: column; justify-content: center;
    padding: 4rem 0;
  }
  .hero-ctas { flex-direction: row; flex-wrap: wrap; }
  .trust { flex-direction: row; flex-wrap: wrap; gap: 1.4rem; }
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 52px; padding: .9rem 2rem;
  border-radius: 999px;
  font: inherit; font-size: .82rem; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase;
  cursor: pointer; border: 1px solid transparent;
  transition: background .18s ease, color .18s ease, border-color .18s ease;
  white-space: nowrap;
}
.btn-gold { background: var(--gold); color: #101215; }
.btn-gold:hover { background: var(--ink); }
.btn-ghost { border-color: var(--gold-line); color: var(--gold); background: transparent; }
.btn-ghost:hover { background: var(--gold); color: var(--bg); }
@media (max-width: 899px) { .hero-ctas .btn { width: 100%; } }

/* ============ SECTIONS ============ */
.section { padding: 3.6rem var(--pad); max-width: var(--maxw); margin: 0 auto; }
.section + .section { border-top: 1px solid var(--line); }
.section h2 {
  font-size: clamp(2rem, 5.4vw, 3rem);
  letter-spacing: -.01em;
  margin-bottom: .8rem;
}
.section h2::after {
  content: ""; display: block; width: 3rem; height: 1px;
  background: var(--gold); margin-top: 1rem;
}
.section h3 { font-size: 1.4rem; color: var(--gold); margin-bottom: 1rem; }
.lead { color: var(--ink-dim); max-width: 40rem; margin-bottom: 2.2rem; }

/* ============ BOOKING ============ */
.panel {
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--r);
  padding: clamp(1.2rem, 4vw, 2.4rem);
}
.type-tabs {
  display: flex; gap: .4rem; margin-bottom: 1.6rem;
  background: var(--bg-3); border: 1px solid var(--line);
  border-radius: 999px; padding: .3rem;
}
.tab {
  flex: 1; min-height: 46px;
  background: transparent; border: 0; color: var(--ink-dim);
  padding: .55rem .8rem; border-radius: 999px;
  font: inherit; font-size: .82rem; letter-spacing: .05em;
  cursor: pointer; transition: all .16s ease;
}
.tab.active { background: var(--gold); color: #101215; font-weight: 500; }

.grid2 { display: grid; grid-template-columns: 1fr; gap: 1rem; }
@media (min-width: 640px) { .grid2 { grid-template-columns: 1fr 1fr; } .span2 { grid-column: 1 / -1; } }

label span, .label-span {
  display: block; font-size: .72rem; letter-spacing: .12em;
  text-transform: uppercase; color: var(--ink-faint); margin-bottom: .4rem;
}
input, select, textarea {
  width: 100%; min-height: 48px;
  background: var(--bg-3); border: 1px solid var(--line);
  color: var(--ink); border-radius: var(--r-sm);
  padding: .75rem .9rem; font: inherit; font-weight: 400; font-size: .95rem;
}
input:focus, select:focus, textarea:focus {
  outline: none; border-color: var(--gold-line);
  box-shadow: 0 0 0 3px var(--gold-soft);
}
input::placeholder, textarea::placeholder { color: var(--ink-faint); }
select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%23c9a96a' fill='none' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .9rem center;
  padding-inline-end: 2.2rem;
}
[dir="rtl"] select { background-position: left .9rem center; }
input[type="date"], input[type="time"] { color-scheme: dark; }
select option { background: var(--bg-3); color: var(--ink); }

.shared { margin-top: 1.4rem; }
.field-note { font-size: .82rem; color: var(--ink-dim); margin-top: .8rem; }
.cancel-line { font-size: .82rem; color: var(--gold); margin-top: 1rem; opacity: .85; }
.form-actions { display: flex; flex-direction: column; gap: .8rem; margin-top: 1.6rem; align-items: stretch; }
.form-actions > span { display: none; }
.form-status { margin-top: 1rem; font-size: .9rem; min-height: 1.4em; }
.form-status.ok { color: #93c993; }
.form-status.err { color: #d99595; }
.form-status a { text-decoration: underline; }
.car-select { display: block; margin-top: 1.2rem; }
@media (min-width: 640px) {
  .form-actions { flex-direction: row; align-items: center; }
  .form-actions > span { display: inline; color: var(--ink-faint); font-size: .85rem; }
}

/* tour picker */
.tour-picker { display: grid; grid-template-columns: 1fr; gap: .55rem; margin-top: .6rem; }
@media (min-width: 640px) { .tour-picker { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .tour-picker { grid-template-columns: 1fr 1fr 1fr; } }
.tour-chip {
  display: flex; align-items: center; gap: .65rem; min-height: 48px;
  cursor: pointer; border: 1px solid var(--line); border-radius: var(--r-sm);
  padding: .6rem .85rem; font-size: .88rem; color: var(--ink-dim);
  transition: all .15s ease; user-select: none;
}
.tour-chip input { width: auto; min-height: 0; accent-color: var(--gold); }
.tour-chip.on { border-color: var(--gold-line); color: var(--ink); background: var(--gold-soft); }

/* address autocomplete */
.addr-wrap { position: relative; }
.addr-list {
  position: absolute; z-index: 40; inset-inline: 0; top: calc(100% + 6px);
  background: var(--bg-3); border: 1px solid var(--gold-line); border-radius: var(--r-sm);
  max-height: 230px; overflow-y: auto; list-style: none;
  box-shadow: 0 16px 40px rgba(0,0,0,.5);
}
.addr-list li { padding: .75rem .9rem; font-size: .9rem; cursor: pointer; }
.addr-list li:hover, .addr-list li:focus { background: var(--gold-soft); color: var(--gold); }

.estimate { color: var(--gold); }

/* ============ RATES ============ */
.rates-cols { display: grid; grid-template-columns: 1fr; gap: 1.2rem; margin-top: 1.5rem; }
@media (min-width: 900px) { .rates-cols { grid-template-columns: 1.4fr 1fr; gap: 2rem; } }
.rates-table { width: 100%; border-collapse: collapse; }
.rates-table th { font-weight: 400; text-align: start; font-family: var(--sans); }
.rates-table td, .rates-table th { padding: .85rem .1rem; border-bottom: 1px solid var(--line); font-size: .95rem; }
.rates-table tr:last-child td, .rates-table tr:last-child th { border-bottom: 0; }
.rates-table td:last-child { text-align: end; }
.rates-table .price { color: var(--gold); font-weight: 400; white-space: nowrap; }
.rates-table .book-link {
  font-size: .72rem; color: var(--ink-dim); text-transform: uppercase;
  letter-spacing: .1em; border: 1px solid var(--line); border-radius: 999px;
  padding: .35rem .8rem; display: inline-block;
}
.rates-table .book-link:hover { color: var(--gold); border-color: var(--gold-line); }

/* ============ TOURS ============ */
.tour-group-title {
  margin: 2.4rem 0 1.2rem; font-size: 1.1rem;
  letter-spacing: .18em; text-transform: uppercase; color: var(--gold);
  font-family: var(--sans); font-weight: 500;
  display: flex; align-items: center; gap: 1rem;
}
.tour-group-title::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.tour-grid { display: grid; grid-template-columns: 1fr; gap: 1.4rem; }
@media (min-width: 640px) { .tour-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .tour-grid { grid-template-columns: repeat(3, 1fr); } }
.tour-card {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--r); overflow: hidden;
  display: flex; flex-direction: column;
  transition: border-color .2s ease, transform .2s ease;
}
.tour-card:hover { border-color: var(--gold-line); transform: translateY(-3px); }
.tour-card .img-wrap { overflow: hidden; aspect-ratio: 16/10; }
.tour-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease;
}
.tour-card:hover img { transform: scale(1.04); }
.tour-body { padding: 1.2rem 1.3rem 1.4rem; display: flex; flex-direction: column; gap: .5rem; flex: 1; }
.tour-body h3, .tour-body h4 { font-size: 1.35rem; font-weight: 500; }
.tour-meta { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-faint); }
.tour-desc { font-size: .92rem; color: var(--ink-dim); flex: 1; }
.tour-price { font-size: 1.1rem; color: var(--gold); border-top: 1px solid var(--line); padding-top: .7rem; margin-top: .4rem; }
.tour-price small { color: var(--ink-faint); font-size: .78rem; }
.tour-book { align-self: flex-start; margin-top: .5rem; min-height: 44px; padding: .6rem 1.3rem; font-size: .76rem; }

/* ============ FLEET ============ */
.fleet-grid { display: grid; grid-template-columns: 1fr; gap: 1.2rem; margin-top: 1.5rem; }
@media (min-width: 900px) { .fleet-grid { grid-template-columns: repeat(3, 1fr); } }
.fleet-card {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--r); overflow: hidden;
}
.fleet-card .img-wrap { overflow: hidden; aspect-ratio: 16/10; }
.fleet-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.fleet-card:hover img { transform: scale(1.04); }
.fleet-body { padding: 1.5rem 1.8rem 1.8rem; }
.fleet-card h3, .fleet-card h4 { font-size: 1.5rem; color: var(--gold); margin-bottom: .8rem; }
.fleet-card p { font-size: .92rem; color: var(--ink-dim); }
.fleet-card p + p { margin-top: .3rem; }
.fleet-notes {
  list-style: none; margin-top: 1.6rem;
  display: flex; flex-direction: column; gap: .5rem;
  font-size: .86rem; color: var(--ink-dim);
}
.fleet-notes li::before { content: "·"; color: var(--gold); margin-inline-end: .5rem; }
@media (min-width: 640px) { .fleet-notes { flex-direction: row; gap: 2rem; flex-wrap: wrap; } }

/* ============ REVIEWS ============ */
.reviews-grid { display: grid; grid-template-columns: 1fr; gap: 1.2rem; margin-top: 1.5rem; }
@media (min-width: 900px) { .reviews-grid { grid-template-columns: repeat(3, 1fr); } }
blockquote {
  background: var(--panel); border: 1px solid var(--line);
  border-radius: var(--r); padding: 1.8rem; position: relative;
}
blockquote::before {
  content: "“"; position: absolute; top: .4rem; inset-inline-start: 1.2rem;
  font-family: var(--serif); font-size: 3.4rem; color: var(--gold); opacity: .5;
  line-height: 1;
}
blockquote p { font-family: var(--serif); font-size: 1.2rem; font-style: italic; margin-top: 1.6rem; }
blockquote footer { margin-top: 1rem; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); opacity: .8; }

/* ============ FAQ ============ */
.faq-list { max-width: 48rem; margin-top: 1.2rem; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary {
  cursor: pointer; font-family: var(--serif); font-size: 1.25rem; color: var(--ink);
  list-style: none; position: relative; padding: 1.1rem 0; padding-inline-end: 2.2rem;
  min-height: 56px; display: flex; align-items: center;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+"; position: absolute; inset-inline-end: .2rem; color: var(--gold);
  font-family: var(--sans); font-size: 1.3rem; font-weight: 300;
}
.faq-list details[open] summary::after { content: "–"; }
.faq-list details p { color: var(--ink-dim); font-size: .94rem; padding-bottom: 1.1rem; max-width: 42rem; }

/* ============ CONTACT ============ */
.contact-grid { display: flex; flex-direction: column; gap: .8rem; margin-top: 1.5rem; max-width: 22rem; }
@media (min-width: 640px) { .contact-grid { flex-direction: row; max-width: none; flex-wrap: wrap; } }

/* ============ FOOTER ============ */
.footer {
  border-top: 1px solid var(--line);
  padding: 3rem var(--pad) 2.5rem;
  max-width: var(--maxw); margin: 0 auto;
  display: grid; gap: 1.6rem;
  font-size: .86rem; color: var(--ink-dim);
}
.footer .fbrand { font-family: var(--serif); font-size: 1.3rem; color: var(--ink); }
.footer .fbrand span { color: var(--gold); }
.footer a { display: inline-flex; align-items: center; min-height: 48px; padding: .4rem .8rem; }
.footer a:hover { color: var(--gold); }
.footer .fine { font-size: .78rem; color: var(--ink-faint); }
@media (min-width: 700px) {
  .footer { grid-template-columns: 1fr auto; align-items: start; }
}

/* ============ LEGAL PAGES ============ */
.legal { max-width: 44rem; margin: 0 auto; padding: 3.5rem var(--pad); }
.legal h1 { font-size: 2.4rem; margin-bottom: 1.2rem; }
.legal h2 { font-size: 1.4rem; color: var(--gold); margin: 2rem 0 .6rem; }
.legal p, .legal li { color: var(--ink-dim); font-size: .95rem; }
.legal ul { padding-inline-start: 1.2rem; margin-top: .4rem; }
.legal li + li { margin-top: .3rem; }
.legal .back {
  display: inline-block; margin-bottom: 2.4rem; color: var(--gold);
  font-size: .8rem; letter-spacing: .12em; text-transform: uppercase;
}

/* ============ RTL ============ */
[dir="rtl"] body, [dir="rtl"] { text-align: right; }
[dir="rtl"] .rates-table td:last-child { text-align: start; }

/* ============ MOTION ============ */
.section.fade { opacity: 0; transform: translateY(12px); transition: opacity .55s ease, transform .55s ease; }
.section.fade.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .section.fade { opacity: 1; transform: none; transition: none; }
  .tour-card, .tour-card img, .btn, .tab, .nav-wa { transition: none; }
}
