/* =========================================================
   Mr Lee – Private Driver · styles.css
   Mobile-first · dark navy & gold
   ========================================================= */

:root {
  --navy-950: #050505;
  --navy-900: #0b0b0c;
  --navy-800: #161618;
  --navy-700: #26262a;
  --gold: #b8bec7;
  --gold-light: #eef0f3;
  --gold-dark: #5f646c;
  --cream: #f4f4f2;
  --cream-2: #e4e4e1;
  --ink: #0b0b0c;
  --text: #f2f2f0;
  --muted: #a6a8ad;
  --muted-ink: #55575c;
  --wa: #25d366;
  --line: rgba(184, 190, 199, 0.22);
  --radius: 18px;
  --maxw: 1160px;
  --header-h: 68px;
  --font-body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans",
    "PingFang SC", "Hiragino Sans", "Microsoft YaHei", "Noto Sans CJK SC", "Noto Sans JP",
    "Noto Naskh Arabic", "Geeza Pro", Tahoma, sans-serif;
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
}

/* Per-language display fonts (Playfair has no Arabic/CJK glyphs) */
html[lang="ar"] { --font-display: "Noto Naskh Arabic", "Geeza Pro", "Times New Roman", serif; }
html[lang="zh-Hans"] { --font-display: "Noto Serif SC", "Songti SC", "STSong", "SimSun", serif; }
html[lang="ja"] { --font-display: "Hiragino Mincho ProN", "Yu Mincho", "Noto Serif JP", serif; }

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 8px);
}
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--navy-900);
  -webkit-font-smoothing: antialiased;
  padding-bottom: calc(84px + env(safe-area-inset-bottom)); /* room for sticky bar */
}
html[lang="ar"] body { line-height: 1.85; }

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; line-height: 1.15; text-wrap: balance; }
p { margin: 0; }

.ic {
  width: 1.25em; height: 1.25em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.6;
  stroke-linecap: round; stroke-linejoin: round;
}

.container { width: min(100% - 40px, var(--maxw)); margin-inline: auto; }

.skip {
  position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100;
  background: var(--gold); color: var(--ink); padding: 10px 16px; border-radius: 10px; font-weight: 700;
}
.skip:focus { top: 12px; }

:focus-visible { outline: 3px solid var(--gold-light); outline-offset: 3px; border-radius: 6px; }

/* ---------- Typography helpers ---------- */
.eyebrow {
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  margin-bottom: 14px;
  display: flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; }
html[lang="ar"] .eyebrow, html[lang="zh-Hans"] .eyebrow, html[lang="ja"] .eyebrow { letter-spacing: 0.04em; font-size: 0.9rem; }

h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.9rem, 6vw, 3rem);
  letter-spacing: -0.01em;
}
h3 { font-size: 1.15rem; font-weight: 700; }
.lead { font-size: 1.1rem; color: var(--muted); margin-top: 14px; max-width: 60ch; }

/* ---------- Buttons ---------- */
.btn {
  white-space: nowrap;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 12px 24px;
  border-radius: 999px; border: 1.5px solid transparent;
  font: inherit; font-weight: 700; text-decoration: none; cursor: pointer;
  transition: transform .15s ease, background-color .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.btn:active { transform: translateY(1px) scale(.99); }
.btn-wa {
  background: linear-gradient(180deg, var(--gold-light), var(--gold));
  color: var(--ink);
  box-shadow: 0 10px 30px -10px rgba(184, 190, 199, .65);
}
.btn-wa:hover { box-shadow: 0 14px 36px -10px rgba(184, 190, 199, .85); }
.btn-xl { min-height: 62px; padding: 14px 30px; font-size: 1.12rem; }
.btn-ghost { border-color: rgba(243, 239, 230, .35); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-light); }

.wa-dot {
  display: inline-grid; place-items: center;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--wa); color: #fff;
}
.wa-dot .ic { width: 20px; height: 20px; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 40;
  height: var(--header-h);
  transition: background-color .3s ease, box-shadow .3s ease, backdrop-filter .3s ease;
}
.site-header.scrolled {
  background: rgba(11, 11, 12, .88);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  box-shadow: 0 1px 0 var(--line);
}
.header-inner { height: 100%; display: flex; align-items: center; gap: 16px; }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 11px;
  display: grid; place-items: center;
  border: 1.5px solid var(--gold); color: var(--gold);
  font-family: "Playfair Display", Georgia, serif; font-size: 1.3rem; font-weight: 700;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name { font-family: "Playfair Display", Georgia, serif; font-size: 1.2rem; font-weight: 700; color: var(--text); }
.brand-sub { font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
html[lang="ar"] .brand-sub, html[lang="zh-Hans"] .brand-sub, html[lang="ja"] .brand-sub { letter-spacing: 0; font-size: .75rem; }

.main-nav { display: none; margin-inline-start: auto; gap: 26px; align-items: center; }
.main-nav a { text-decoration: none; font-size: .95rem; color: var(--muted); transition: color .2s; }
.main-nav a:hover { color: var(--gold-light); }
.main-nav .nav-book { color: var(--ink); background: var(--gold); padding: 9px 18px; border-radius: 999px; font-weight: 700; }
.main-nav .nav-book:hover { color: var(--ink); background: var(--gold-light); }

.lang-switch {
  margin-inline-start: auto;
  display: flex; padding: 3px; gap: 2px;
  border: 1px solid var(--line); border-radius: 999px;
  background: rgba(5, 5, 5, .45);
}
.lang-switch button {
  font: inherit; font-size: .78rem; font-weight: 600;
  color: var(--muted); background: transparent; border: 0; cursor: pointer;
  padding: 7px 9px; min-height: 34px; border-radius: 999px; white-space: nowrap;
}
.lang-switch button[aria-pressed="true"] { background: var(--gold); color: var(--ink); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: flex-end;
  padding: calc(var(--header-h) + 40px) 0 56px;
  background-color: var(--navy-900);
  background-image:
    linear-gradient(180deg, rgba(5, 5, 5, .45) 0%, rgba(5, 5, 5, .55) 40%, rgba(11, 11, 12, .97) 100%),
    url("images/hero.jpg"),
    radial-gradient(900px 520px at 85% 0%, rgba(184, 190, 199, .22), transparent 60%),
    radial-gradient(800px 600px at 0% 100%, #2a2a2e 0%, transparent 65%),
    linear-gradient(160deg, #1a1a1d 0%, #0b0b0c 55%, #030303 100%);
  background-size: cover, cover, auto, auto, auto;
  background-position: center, center 30%, center, center, center;
  background-repeat: no-repeat;
  overflow: hidden;
}
.hero::after { /* thin gold horizon line */
  content: ""; position: absolute; inset: auto 0 0 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent); opacity: .5;
}
.hero-inner { position: relative; }
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 11vw, 5rem);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: -0.02em;
  max-width: 13ch;
}
html[lang="ar"] .hero h1, html[lang="zh-Hans"] .hero h1, html[lang="ja"] .hero h1 { line-height: 1.3; letter-spacing: 0; max-width: 16ch; }
.hero-promise { margin-top: 18px; font-size: clamp(1.1rem, 3.6vw, 1.35rem); color: #dedfe2; max-width: 34ch; }
.hero-ctas { margin-top: 30px; display: flex; flex-direction: column; gap: 12px; }
.hero-ctas .btn { width: 100%; }
.hero-trust { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 10px 22px; color: #dedfe2; font-size: .95rem; }
.hero-trust li { display: inline-flex; align-items: center; gap: 8px; }
.hero-trust .ic { color: var(--gold); }

/* ---------- Sections ---------- */
.section { padding: 76px 0; }
.section-navy { background: var(--navy-900); }
.section-cream { background: var(--cream); color: var(--ink); }
.section-cream .lead { color: var(--muted-ink); }
.section-cream .eyebrow { color: var(--gold-dark); }
.section-head { margin-bottom: 40px; }
.grid { display: grid; gap: 18px; }

/* ---------- Cards / services ---------- */
.card {
  background: linear-gradient(180deg, var(--navy-800), rgba(22, 22, 24, .7));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
}
.service { display: flex; flex-direction: column; gap: 10px; transition: transform .25s ease, border-color .25s ease; }
.service:hover { transform: translateY(-3px); border-color: rgba(184, 190, 199, .5); }
.service > p:not(.price):not(.fixed) { color: var(--muted); flex: 1; }
.icon-badge {
  width: 48px; height: 48px; border-radius: 14px; flex: none;
  display: grid; place-items: center;
  color: var(--gold); background: rgba(184, 190, 199, .1); border: 1px solid var(--line);
}
.icon-badge .ic { width: 24px; height: 24px; }
.service h3 { margin-top: 6px; }
.price { margin-top: 8px; padding-top: 16px; border-top: 1px dashed var(--line); color: var(--muted); font-size: .95rem; }
.price strong { direction: ltr; unicode-bidi: isolate; color: var(--gold-light); font-size: 1.55rem; font-family: var(--font-body); letter-spacing: -.01em; }
.fixed { display: inline-flex; align-items: center; gap: 6px; font-size: .85rem; color: var(--gold); font-weight: 600; }
.fixed .ic { width: 1em; height: 1em; stroke-width: 2.2; }

/* ---------- Photos (with elegant fallback until real photos are added) ---------- */
.photo {
  position: relative; margin: 0; overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 4 / 3;
  background:
    radial-gradient(500px 260px at 70% 20%, rgba(184, 190, 199, .25), transparent 60%),
    linear-gradient(150deg, var(--navy-700), var(--navy-950));
}
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo.missing img { display: none; }
.photo.missing::after {
  content: attr(data-label);
  position: absolute; inset: auto 14px 14px 14px;
  font-size: .78rem; color: rgba(243, 239, 230, .7);
  border: 1px dashed rgba(184, 190, 199, .5); border-radius: 10px; padding: 8px 10px;
  background: rgba(5, 5, 5, .4);
}
.photo.missing::before { /* car glyph */
  content: ""; position: absolute; inset: 0; margin: auto; width: 34%; aspect-ratio: 2/1;
  background: no-repeat center/contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 14' fill='none' stroke='%23b8bec7' stroke-width='.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 10.5V7l2.2-4.2A2 2 0 0 1 6 1.5h12a2 2 0 0 1 1.8 1.3L22 7v3.5h-2M4.5 10.5H2M8 10.5h8M2.5 7h19'/%3E%3Ccircle cx='6' cy='10.5' r='1.8'/%3E%3Ccircle cx='18' cy='10.5' r='1.8'/%3E%3C/svg%3E");
  opacity: .55;
}
.photo-portrait { aspect-ratio: 4 / 5; }
.photo-portrait.missing::before {
  width: 38%; aspect-ratio: 1;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b8bec7' stroke-width='.8'%3E%3Ccircle cx='12' cy='8' r='4'/%3E%3Cpath d='M4 21a8 8 0 0 1 16 0'/%3E%3C/svg%3E");
}

/* ---------- Car ---------- */
.car-layout { display: grid; gap: 40px; }
.car-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.car-gallery .photo-main { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
.car-gallery .photo-wide { grid-column: 1 / -1; aspect-ratio: 16 / 7; }
.car-info h2 { color: var(--ink); }
.spec-list { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.spec-list li {
  display: flex; align-items: center; gap: 14px;
  background: #fff; border: 1px solid var(--cream-2); border-radius: 14px;
  padding: 12px 16px; font-weight: 600;
}
.spec-ic { width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--navy-900); color: var(--gold); flex: none; }
.spec-ic .ic { width: 22px; height: 22px; }

/* ---------- Why ---------- */
.why-intro { display: grid; gap: 28px; margin-bottom: 44px; align-items: center; }
.why-intro .photo-portrait { max-width: 360px; width: 100%; }
.welcome { margin: 22px 0 0; padding-inline-start: 18px; border-inline-start: 2px solid var(--gold); }
.welcome p { font-family: var(--font-display); font-size: 1.25rem; font-style: italic; color: #e6e7ea; line-height: 1.5; }
html[lang="ar"] .welcome p, html[lang="zh-Hans"] .welcome p, html[lang="ja"] .welcome p { font-style: normal; }
.welcome footer { margin-top: 10px; color: var(--gold); font-size: .95rem; font-weight: 600; }
.feature { display: flex; gap: 16px; align-items: flex-start; padding: 20px; border-radius: var(--radius); background: rgba(22, 22, 24, .55); border: 1px solid rgba(184, 190, 199, .12); }
.feature h3 { margin-bottom: 4px; }
.feature p { color: var(--muted); font-size: .98rem; }
.feature-cta { flex-direction: column; justify-content: center; align-items: stretch; background: linear-gradient(160deg, rgba(184,190,199,.18), rgba(184,190,199,.05)); border-color: var(--line); }
.feature-cta .btn { padding-inline: 16px; font-size: .95rem; }
.feature-cta p { font-family: var(--font-display); font-size: 1.35rem; color: var(--text); }

/* ---------- Reviews ---------- */
.reviews-track {
  display: grid; grid-auto-flow: column; grid-auto-columns: 86%;
  gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory;
  padding-bottom: 12px; margin-inline: -20px; padding-inline: 20px;
  scrollbar-width: thin;
}
.review {
  scroll-snap-align: start; margin: 0; position: relative;
  background: #fff; border: 1px solid var(--cream-2); border-radius: var(--radius);
  padding: 26px 24px; display: flex; flex-direction: column; gap: 14px;
  box-shadow: 0 18px 40px -30px rgba(11, 11, 12, .45);
}
.stars { display: flex; gap: 2px; color: var(--ink); }
.stars .ic { width: 18px; height: 18px; }
.review blockquote { margin: 0; font-size: 1.02rem; color: #2a2b2e; flex: 1; }
.review figcaption { display: flex; flex-direction: column; font-size: .92rem; }
.review figcaption span { color: var(--muted-ink); }
.sample-badge {
  align-self: flex-start;
  font-size: .7rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  color: #8a5a00; background: #fff4d6; border: 1px dashed #d9a63a; border-radius: 999px; padding: 3px 10px;
}

/* ---------- Booking ---------- */
.book-layout { display: grid; gap: 36px; }
.book-points { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; }
.book-points li { display: flex; gap: 10px; align-items: center; }
.book-points .ic { color: var(--gold); }
.book-alt { margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--muted); }
.book-alt a { display: inline-flex; gap: 10px; align-items: center; margin-top: 6px; color: var(--gold-light); font-size: 1.2rem; font-weight: 700; text-decoration: none; direction: ltr; }

.booking-form { display: grid; grid-template-columns: 1fr; gap: 16px; padding: 26px 20px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label { font-size: .9rem; font-weight: 600; color: #dedfe2; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px;
  font: inherit; font-size: 16px; /* prevents iOS zoom */
  color: var(--text); background: var(--navy-950);
  border: 1px solid rgba(243, 239, 230, .16); border-radius: 12px;
  padding: 12px 14px; color-scheme: dark;
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 92px; }
.field input::placeholder, .field textarea::placeholder { color: #76787d; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(184, 190, 199, .25); }
.field.invalid input, .field.invalid select { border-color: #e7735f; box-shadow: 0 0 0 3px rgba(231, 115, 95, .2); }
.form-actions { display: flex; flex-direction: column; gap: 10px; margin-top: 6px; }
.form-actions .btn { width: 100%; }
.form-note { font-size: .88rem; color: var(--muted); text-align: center; }
.form-error { color: #ff9b88; font-weight: 600; }
.form-ok { color: var(--gold-light); font-weight: 600; text-align: center; }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 860px; }
.faq-list details { border-bottom: 1px solid #dcdcd8; }
.faq-list summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; gap: 16px;
  padding: 22px 0; font-weight: 700; font-size: 1.1rem; color: var(--ink);
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+"; margin-inline-start: auto; flex: none;
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1px solid var(--gold); color: var(--gold-dark); font-size: 1.3rem; font-weight: 400;
  transition: transform .25s ease;
}
.faq-list details[open] summary::after { transform: rotate(45deg); }
.faq-list details p { padding: 0 0 22px; color: var(--muted-ink); max-width: 65ch; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-950); padding: 60px 0 24px; border-top: 1px solid var(--line); }
.footer-grid { display: grid; gap: 36px; }
.site-footer h3 { color: var(--gold); font-size: .85rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 14px; }
.footer-tag { margin-top: 14px; color: var(--muted); max-width: 34ch; }
.contact-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.contact-list a, .contact-list > li > span { display: inline-flex; align-items: center; gap: 10px; color: #dedfe2; text-decoration: none; }
.contact-list a:hover { color: var(--gold-light); }
.contact-list .ic { color: var(--gold); }
.area { display: flex; gap: 10px; color: #dedfe2; margin-bottom: 10px; }
.area .ic { color: var(--gold); margin-top: 3px; }
.footer-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.06); color: #808287; font-size: .85rem; }

/* ---------- Sticky WhatsApp ---------- */
.sticky-wa {
  position: fixed; z-index: 50;
  inset-inline: 12px; bottom: calc(12px + env(safe-area-inset-bottom));
  display: flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 60px; border-radius: 999px;
  background: linear-gradient(180deg, var(--gold-light), var(--gold));
  color: var(--ink); font-weight: 800; font-size: 1.08rem; text-decoration: none;
  box-shadow: 0 16px 40px -12px rgba(0, 0, 0, .6), 0 0 0 1px rgba(255,255,255,.15) inset;
}

/* ---------- Reveal on scroll ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
  .js .reveal.in { opacity: 1; transform: none; }
}

/* =========================================================
   Larger screens
   ========================================================= */
@media (min-width: 560px) {
  .hero-ctas { flex-direction: row; flex-wrap: wrap; }
  .hero-ctas .btn { width: auto; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .spec-list { grid-template-columns: 1fr 1fr; }
  .reviews-track { grid-auto-columns: 60%; }
  .booking-form { grid-template-columns: 1fr 1fr; padding: 32px; }
  .booking-form .full, .booking-form .form-error { grid-column: 1 / -1; }
  .form-actions { flex-direction: row; }
  .form-actions .btn-xl { flex: 1.4; }
  .form-actions .btn-ghost { flex: 1; }
}

@media (min-width: 900px) {
  body { padding-bottom: 0; }
  .section { padding: 110px 0; }
  .main-nav { display: flex; }
  .lang-switch { margin-inline-start: 8px; }
  .hero { align-items: center; padding-bottom: 80px; }
  .services-grid { grid-template-columns: repeat(3, 1fr); gap: 22px; }
  .car-layout { grid-template-columns: 1.15fr 1fr; align-items: center; gap: 64px; }
  .why-intro { grid-template-columns: 340px 1fr; gap: 56px; margin-bottom: 64px; }
  .why-grid { grid-template-columns: repeat(4, 1fr); }
  .reviews-track { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); grid-auto-columns: auto; overflow: visible; margin-inline: 0; padding-inline: 0; }
  .book-layout { grid-template-columns: 0.9fr 1.1fr; gap: 64px; align-items: start; }
  .book-copy { position: sticky; top: calc(var(--header-h) + 32px); }
  .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; }

  /* desktop: compact floating bubble instead of the full-width bar */
  .sticky-wa { inset-inline: auto 24px; bottom: 24px; padding: 0 22px 0 12px; min-height: 58px; }
  html[dir="rtl"] .sticky-wa { inset-inline: auto 24px; }
}

@media (max-width: 440px) {
  .brand-sub { display: none; }
  .brand-mark { width: 34px; height: 34px; }
  .brand-name { font-size: 1.1rem; }
}
@media (max-width: 380px) {
  .lang-switch button { padding: 7px 7px; font-size: .74rem; }
}

@media print {
  .site-header, .sticky-wa, .lang-switch { display: none !important; }
  body { background: #fff; color: #000; padding: 0; }
}
