/* Self-hosted fonts (latin subset): no third-party request, text shows at once (swap). */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 900; font-display: swap; src: url("../fonts/inter-latin.woff2") format("woff2"); }
@font-face { font-family: "Playfair Display"; font-style: normal; font-weight: 600 800; font-display: swap; src: url("../fonts/playfair-latin.woff2") format("woff2"); }

/* =====================================================================
   iDriver Global - public design system
   Tokens, layout, components and motion. No framework required.
   ===================================================================== */
:root {
  /* iDriver brand palette (same as idriver.qa): maroon, gold, cream */
  --ink: #231313;
  --ink-2: #2d2a2a;
  --ink-3: #4a3b39;
  --muted: #6b5d5b;
  --line: #efe2d2;
  --line-soft: #f6ede1;
  --bg: #fefaf5;
  --bg-soft: #fff6e5;
  --surface: #ffffff;
  --dark: #1a0302;
  --dark-2: #2a0807;
  --on-dark: #fff5e8;
  --on-dark-muted: #d8c4ad;
  --brand: #4f1310;
  --brand-600: #3a0e0c;
  --brand-700: #2a0807;
  --brand-900: #190403;
  --brand-soft: #fbefe2;
  --accent-text: #4f1310;
  --gold: #d4af37;
  --gold-600: #c5a028;
  --gold-light: #f5e6b0;
  --gold-text: #e5c765;
  --success: #0f9f6e;
  --warning: #b7791f;
  --danger: #c81e3a;
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(79, 19, 16, .06);
  --shadow: 0 12px 32px -14px rgba(79, 19, 16, .22);
  --shadow-lg: 0 30px 60px -24px rgba(79, 19, 16, .30);
  --font-display: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --container: 1200px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --spring: cubic-bezier(.34, 1.36, .64, 1);
  color-scheme: light;
}
html.dark {
  --ink: #fff5e8;
  --ink-2: #f1e4d4;
  --ink-3: #e3d0bb;
  --muted: #bba792;
  --line: rgba(212, 175, 55, .16);
  --line-soft: rgba(212, 175, 55, .10);
  --bg: #080404;
  --bg-soft: #0f0605;
  --surface: #140807;
  --dark: #0b0504;
  --dark-2: #170908;
  --brand-soft: rgba(212, 175, 55, .12);
  --accent-text: #e5c765;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .4);
  --shadow: 0 12px 32px -14px rgba(0, 0, 0, .7);
  --shadow-lg: 0 30px 60px -24px rgba(0, 0, 0, .8);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, video { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-display); color: var(--ink); line-height: 1.15; margin: 0; letter-spacing: -.02em; }
p { margin: 0; }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--brand) 45%, transparent); outline-offset: 2px; border-radius: 6px; }
[hidden] { display: none !important; }
.form > .btn { justify-self: start; }
.form > .btn--block { justify-self: stretch; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--dark); color: #fff; padding: 10px 16px; border-radius: 10px; transition: top .2s; }
.skip-link:focus { top: 12px; }

.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }
.section { padding: 96px 0; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--dark); color: var(--on-dark-muted); }
.section--dark h2, .section--dark h3 { color: #fff; }
.section-head { max-width: 680px; margin-bottom: 48px; }
.section-head--center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase;
  color: var(--accent-text);
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.section--dark .eyebrow { color: var(--gold-text); }
.h2 { font-size: clamp(30px, 4vw, 44px); margin-top: 12px; }
.lead { font-size: 18px; color: var(--muted); margin-top: 16px; }
.section--dark .lead { color: var(--on-dark-muted); }

/* ---------------------------------------------------------- buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 48px; padding: 0 22px; border-radius: 999px; border: 1px solid transparent;
  font-weight: 600; font-size: 15px; cursor: pointer; white-space: nowrap;
  transition: transform .2s var(--ease), background-color .2s, border-color .2s, box-shadow .2s, color .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: linear-gradient(135deg, var(--brand), var(--brand-900)); color: #fff; box-shadow: 0 10px 22px -10px rgba(79, 19, 16, .7); }
.btn--gold { background: linear-gradient(135deg, #fff3c7, var(--gold)); color: #2a1505; box-shadow: 0 10px 22px -12px rgba(212, 175, 55, .8); }
.btn--gold:hover { filter: brightness(1.04); }
.btn--primary:hover { background: linear-gradient(135deg, #63201b, var(--brand-600)); }
.btn--dark { background: var(--dark); color: #fff; }
.btn--dark:hover { background: var(--dark-2); }
.btn--ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn--ghost:hover { border-color: var(--ink-3); }
.btn--light { background: var(--surface); color: var(--ink); }
.btn--outline-light { border-color: rgba(255, 255, 255, .25); color: #fff; }
.btn--outline-light:hover { border-color: #fff; }
.btn--sm { height: 38px; padding: 0 16px; font-size: 14px; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: not-allowed; transform: none; }

/* ---------------------------------------------------------- header
   Floating pill navbar, same design as idriver.qa (simple premium navbar). */
.site-header { position: fixed; inset: 0 0 auto; z-index: 50; padding: 14px 18px; pointer-events: none; }
.site-header > * { pointer-events: auto; }
.nav-shell {
  position: relative; max-width: 1360px; margin-inline: auto; min-height: 76px;
  display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 9px 12px;
  border-radius: 28px; background: rgba(255, 252, 247, .92); border: 1px solid rgba(79, 19, 16, .10);
  box-shadow: 0 18px 45px rgba(79, 19, 16, .11); isolation: isolate;
  transition: min-height .3s var(--ease), box-shadow .3s var(--ease), background-color .3s var(--ease);
}
.nav-shell::before { content: ""; position: absolute; inset: 0; border-radius: inherit; z-index: -1; backdrop-filter: blur(18px); -webkit-backdrop-filter: blur(18px); pointer-events: none; }
.site-header.is-scrolled .nav-shell { min-height: 70px; background: rgba(255, 252, 247, .96); box-shadow: 0 14px 34px rgba(79, 19, 16, .13); }
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 0; }
.logo-box {
  width: 56px; height: 56px; min-width: 56px; border-radius: 20px; padding: 6px; display: inline-grid; place-items: center; overflow: hidden;
  background: linear-gradient(135deg, #fff, #fff5df); border: 1px solid rgba(212, 175, 55, .24); box-shadow: 0 10px 22px rgba(79, 19, 16, .10);
  transition: width .3s var(--ease), height .3s var(--ease);
}
.site-header.is-scrolled .logo-box { width: 50px; height: 50px; min-width: 50px; }
.logo-box img { max-width: 100%; max-height: 46px; width: auto; height: auto; object-fit: contain; display: block; }
.logo-box .logo-dark { display: none; }
.logo-letter { font-family: var(--font-display); font-weight: 800; font-size: 26px; color: var(--brand); line-height: 1; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; min-width: 0; }
.brand-name { font-family: var(--font-body); font-size: 20px; font-weight: 900; letter-spacing: -.03em; color: var(--brand); white-space: nowrap; }
.brand-name span { color: #866710; }
html.dark .brand-name span { color: var(--gold); }
.brand-tag { margin-top: 5px; font-size: 10.5px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: rgba(79, 19, 16, .74); white-space: nowrap; }
.nav-links { display: flex; align-items: center; gap: 3px; padding: 5px; border-radius: 999px; background: rgba(79, 19, 16, .045); border: 1px solid rgba(79, 19, 16, .06); }
.nav-links a {
  display: inline-flex; align-items: center; gap: 7px; padding: 10px 13px; border-radius: 999px;
  color: #4a3b39; font-size: 13px; font-weight: 800; line-height: 1;
  transition: background-color .22s var(--ease), color .22s, transform .22s var(--ease), box-shadow .22s;
}
.nav-links a i { font-size: 15px; color: rgba(79, 19, 16, .72); transition: color .22s; }
.nav-links a:hover, .nav-links a.is-active { background: #fff; color: var(--brand); transform: translateY(-1px); box-shadow: 0 8px 20px rgba(79, 19, 16, .10); }
.nav-links a:hover i, .nav-links a.is-active i { color: var(--gold); }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.nav-btn {
  min-height: 40px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 0 14px; border-radius: 999px;
  font-size: 13px; font-weight: 900; line-height: 1; border: 1px solid transparent; white-space: nowrap; cursor: pointer;
  transition: transform .22s var(--ease), box-shadow .22s, background-color .22s, color .22s;
}
.nav-btn:hover { transform: translateY(-2px); }
.nav-btn--inquiry { color: var(--brand); background: #fff; border-color: rgba(79, 19, 16, .12); box-shadow: 0 8px 20px rgba(79, 19, 16, .08); }
.nav-btn--driver { color: #fff; background: linear-gradient(135deg, var(--brand), #190403); box-shadow: 0 12px 24px rgba(79, 19, 16, .20); }
.nav-btn--gold { color: #2a1505; background: linear-gradient(135deg, #fff3c7, var(--gold)); box-shadow: 0 12px 24px rgba(212, 175, 55, .22); }
.nav-tools { display: flex; align-items: center; gap: 8px; }
.icon-circle {
  width: 42px; height: 42px; min-width: 42px; border-radius: 999px; display: inline-grid; place-items: center; cursor: pointer;
  background: #fff; color: var(--brand); border: 1px solid rgba(79, 19, 16, .10); box-shadow: 0 8px 20px rgba(79, 19, 16, .08);
  font-size: 17px; transition: transform .22s var(--ease), box-shadow .22s;
}
.icon-circle:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(79, 19, 16, .12); }
.icon-circle .bi-sun-fill, html.dark .icon-circle .bi-moon-fill { display: none; }
html.dark .icon-circle .bi-sun-fill { display: inline; }
.nav-toggle { display: none; }
.nav-toggle .bi-x-lg { display: none; }
.nav-toggle[aria-expanded="true"] .bi-x-lg { display: inline; }
.nav-toggle[aria-expanded="true"] .bi-list { display: none; }
.mobile-menu {
  position: absolute; top: calc(100% + 10px); left: 0; right: 0; border-radius: 24px; padding: 14px;
  background: rgba(255, 252, 247, .97); border: 1px solid rgba(79, 19, 16, .10); box-shadow: 0 20px 50px rgba(79, 19, 16, .18);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  opacity: 0; visibility: hidden; transform: translateY(-10px) scale(.98); transform-origin: top center;
  transition: opacity .25s var(--ease), transform .4s var(--spring), visibility .25s;
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transform: none; }
.mobile-title { display: flex; align-items: center; gap: 8px; padding: 6px 8px 12px; color: var(--brand); font-weight: 900; font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.mobile-title i { color: var(--gold); }
.mobile-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.mobile-links a, .mobile-actions .nav-btn { min-height: 46px; border-radius: 16px; }
.mobile-links a { display: flex; align-items: center; gap: 9px; padding: 0 13px; color: #3f3433; background: rgba(79, 19, 16, .045); font-weight: 800; transition: background-color .2s, color .2s; }
.mobile-links a i { color: rgba(79, 19, 16, .72); }
.mobile-links a:hover { background: rgba(212, 175, 55, .16); color: var(--brand); }
.mobile-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; }
.mobile-actions .nav-btn--gold { grid-column: 1 / -1; }
.mobile-menu.is-open .mobile-links a, .mobile-menu.is-open .mobile-actions > * { animation: menu-in .45s var(--spring) both; }
.mobile-menu.is-open .mobile-links a:nth-child(2) { animation-delay: .03s; }
.mobile-menu.is-open .mobile-links a:nth-child(3) { animation-delay: .06s; }
.mobile-menu.is-open .mobile-links a:nth-child(4) { animation-delay: .09s; }
.mobile-menu.is-open .mobile-links a:nth-child(5) { animation-delay: .12s; }
.mobile-menu.is-open .mobile-links a:nth-child(6) { animation-delay: .15s; }
.mobile-menu.is-open .mobile-actions > * { animation-delay: .18s; }
@keyframes menu-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
/* room for the floating bar */
.hero { padding-top: 168px !important; }
.page-hero { padding-top: 150px !important; }
main > .section:first-child { padding-top: 160px; }

/* dark mode navbar (as on idriver.qa) */
html.dark .nav-shell { background: rgba(18, 8, 7, .86); border-color: rgba(212, 175, 55, .20); box-shadow: 0 20px 48px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .08); }
html.dark .site-header.is-scrolled .nav-shell { background: rgba(12, 5, 4, .94); }
html.dark .brand-name, html.dark .nav-links a, html.dark .mobile-title, html.dark .mobile-links a { color: #fff5e8; }
html.dark .brand-tag { color: rgba(255, 235, 205, .66); }
html.dark .logo-box { background: linear-gradient(135deg, rgba(255, 255, 255, .96), rgba(255, 240, 190, .96)); border-color: rgba(212, 175, 55, .45); }
html.dark .logo-box.has-dark { background: rgba(255, 255, 255, .06); }
html.dark .logo-box.has-dark .logo-light { display: none; }
html.dark .logo-box.has-dark .logo-dark { display: block; }
html.dark .nav-links { background: rgba(255, 255, 255, .07); border-color: rgba(255, 255, 255, .09); }
html.dark .nav-links a i, html.dark .mobile-links a i { color: #e5c765; }
html.dark .nav-links a:hover, html.dark .nav-links a.is-active { background: rgba(255, 255, 255, .12); color: #fff; box-shadow: 0 10px 24px rgba(0, 0, 0, .25); }
html.dark .icon-circle, html.dark .nav-btn--inquiry, html.dark .mobile-menu { background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .12); color: #fff; }
html.dark .icon-circle { color: #f5d574; }
html.dark .mobile-menu { background: rgba(18, 8, 7, .97); }
html.dark .mobile-links a { background: rgba(255, 255, 255, .06); }

@media (max-width: 1240px) { .nav-actions { display: none; } .nav-toggle { display: inline-grid; } }
@media (max-width: 1040px) { .nav-links { display: none; } }
@media (min-width: 1241px) { .mobile-menu { display: none; } }
@media (max-width: 640px) {
  .site-header { padding: 10px; }
  .nav-shell { min-height: 62px; border-radius: 22px; padding: 8px 10px; }
  .logo-box, .site-header.is-scrolled .logo-box { width: 44px; height: 44px; min-width: 44px; border-radius: 15px; padding: 5px; }
  .logo-box img { max-height: 34px; }
  .brand-name { font-size: 17px; }
  .brand-tag { font-size: 9px; letter-spacing: .12em; }
  .icon-circle { width: 40px; height: 40px; min-width: 40px; }
  .mobile-links, .mobile-actions { grid-template-columns: 1fr; }
  .hero { padding-top: 120px !important; }
  .page-hero { padding-top: 116px !important; }
  main > .section:first-child { padding-top: 120px; }
}
@media (max-width: 390px) { .brand-tag { display: none; } }

/* ---------------------------------------------------------- hero */
.hero {
  position: relative; overflow: hidden; color: var(--on-dark-muted);
  background: radial-gradient(900px 520px at 85% -10%, rgba(212, 175, 55, .20), transparent 60%), radial-gradient(700px 500px at 0% 110%, rgba(122, 29, 24, .55), transparent 60%), linear-gradient(160deg, #4f1310 0%, #2a0807 45%, var(--dark) 100%);
  padding: 96px 0 88px;
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at 70% 30%, #000 20%, transparent 70%);
}
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .18; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero-pill {
  display: inline-flex; align-items: center; gap: 10px; padding: 6px 14px 6px 6px; border-radius: 999px;
  border: 1px solid rgba(255,255,255,.12); background: rgba(255,255,255,.05); font-size: 14px; color: var(--on-dark);
}
.hero-pill b { background: var(--gold); color: #2a1505; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.hero h1 { color: #fff; font-size: clamp(40px, 6vw, 68px); font-weight: 800; margin-top: 22px; letter-spacing: -.03em; }
.hero h1 em { font-style: normal; color: var(--gold); background: linear-gradient(135deg, #d4af37 0%, #f5e6b0 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.hero .lead { color: var(--on-dark-muted); font-size: 19px; max-width: 560px; margin-top: 22px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.hero-countries { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 36px; }
.chip {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; font-size: 14px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); color: var(--on-dark); transition: background-color .2s, border-color .2s;
}
.chip:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.22); }
.chip .flag { font-size: 16px; line-height: 1; }

.hero-visual { position: relative; }
.trip-card {
  position: relative; background: var(--surface); color: var(--ink-2); border-radius: var(--radius-lg); padding: 22px;
  box-shadow: var(--shadow-lg); max-width: 420px; margin-left: auto;
}
.trip-map {
  height: 210px; border-radius: 16px; position: relative; overflow: hidden;
  background: linear-gradient(135deg, #f6ecdf 0%, #fffaf2 100%);
}
.trip-map svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.trip-route { stroke-dasharray: 6 8; animation: route-dash 2.4s linear infinite; }
@keyframes route-dash { to { stroke-dashoffset: -28; } }
.trip-car { animation: car-float 3s ease-in-out infinite; transform-origin: center; }
@keyframes car-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-3px); } }
.trip-row { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 18px; }
.trip-label { font-size: 13px; color: var(--muted); }
.trip-title { font-weight: 700; color: var(--ink); font-family: var(--font-display); }
.trip-eta { background: var(--brand-soft); color: var(--accent-text); font-weight: 700; font-size: 13px; padding: 6px 10px; border-radius: 999px; }
.trip-steps { margin: 16px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.trip-steps li { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.trip-dot { width: 10px; height: 10px; border-radius: 50%; border: 2px solid var(--brand); }
.trip-dot--end { background: var(--dark); border-color: var(--ink); border-radius: 3px; }
.trip-float {
  position: absolute; left: -28px; top: 168px; background: var(--surface); border-radius: 14px; padding: 12px 14px;
  box-shadow: var(--shadow); display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink-2);
}
.trip-float i { color: var(--success); font-size: 20px; }

.stats-bar { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(255,255,255,.08); border-radius: var(--radius); overflow: hidden; margin-top: 64px; position: relative; }
.stat { background: var(--dark); padding: 22px 24px; }
.stat-value { font-family: var(--font-display); font-size: 32px; font-weight: 800; color: #fff; }
.stat-label { font-size: 14px; color: var(--on-dark-muted); }

/* ---------------------------------------------------------- cards & grids */
.grid { display: grid; gap: 20px; }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.card--hover:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.card h3 { font-size: 19px; }
.card p { color: var(--muted); margin-top: 10px; font-size: 15px; }
.icon-tile {
  width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; font-size: 22px;
  background: var(--brand-soft); color: var(--accent-text); margin-bottom: 20px;
}
.card-media { margin: -28px -28px 22px; border-radius: var(--radius) var(--radius) 0 0; overflow: hidden; aspect-ratio: 16 / 10; background: var(--bg-soft); }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.card--hover:hover .card-media img { transform: scale(1.04); }
.card-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 18px; font-weight: 600; color: var(--accent-text); font-size: 15px; }
.card-link i { transition: transform .2s; }
.card-link:hover i { transform: translateX(3px); }

/* countries */
.country-card { display: flex; flex-direction: column; gap: 14px; position: relative; }
.country-top { display: flex; align-items: center; justify-content: space-between; }
.country-flag { font-size: 34px; line-height: 1; }
.country-card h3 { font-size: 20px; }
.country-meta { display: flex; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--muted); }
.country-meta span { background: var(--bg-soft); border: 1px solid var(--line-soft); padding: 3px 9px; border-radius: 999px; }
.badge { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; }
.badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.badge--live { background: #e8f7f0; color: var(--success); }
.badge--coming_soon { background: #fdf6e7; color: var(--warning); }
.badge--paused { background: #f3ece4; color: var(--muted); }

/* steps */
.steps { counter-reset: step; display: grid; gap: 16px; }
.step { display: flex; gap: 16px; align-items: flex-start; padding: 18px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.step::before {
  counter-increment: step; content: counter(step);
  flex: 0 0 34px; height: 34px; border-radius: 10px; display: grid; place-items: center;
  background: var(--dark); color: #fff; font-weight: 700; font-family: var(--font-display);
}
.step h3, .step h4 { font-size: 16px; }
.step p { color: var(--muted); font-size: 15px; margin-top: 4px; }
.tabs { display: inline-flex; padding: 4px; background: var(--bg-soft); border: 1px solid var(--line); border-radius: 999px; margin-bottom: 24px; }
.tab { border: 0; background: transparent; padding: 8px 18px; border-radius: 999px; font-weight: 600; font-size: 14px; color: var(--muted); cursor: pointer; transition: background-color .2s, color .2s; }
.tab[aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm); }
.tab-panel[hidden] { display: none; }

/* split */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.media-frame { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--bg-soft); }
.check-list { list-style: none; margin: 24px 0 0; padding: 0; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list i { color: var(--success); font-size: 18px; margin-top: 2px; }

/* phone mockup */
.phone { width: 290px; margin-inline: auto; padding: 12px; border-radius: 44px; background: var(--dark); box-shadow: var(--shadow-lg); }
.phone-screen { position: relative; border-radius: 34px; background: var(--surface); padding: 46px 18px 20px; min-height: 540px; display: flex; flex-direction: column; gap: 16px; overflow: hidden; }
.phone-notch { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 90px; height: 24px; border-radius: 999px; background: var(--dark); }
.phone-greet small { display: block; color: var(--muted); font-size: 13px; }
.phone-greet strong { font-family: var(--font-display); font-size: 24px; color: var(--ink); }
.phone-search { display: flex; align-items: center; gap: 10px; padding: 14px; border-radius: 14px; background: var(--bg-soft); color: var(--muted); font-size: 14px; }
.phone-list { display: grid; gap: 10px; }
.phone-item { display: flex; align-items: center; gap: 12px; padding: 12px; border: 1px solid var(--line); border-radius: 14px; font-size: 14px; font-weight: 600; color: var(--ink); }
.phone-item span { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--brand-soft); color: var(--accent-text); }
.phone-item > i { margin-left: auto; color: var(--muted); }
.phone-cta { margin-top: auto; background: var(--brand); color: #fff; text-align: center; padding: 14px; border-radius: 14px; font-weight: 700; }
.driver-panel { display: grid; gap: 12px; }
.driver-panel-item { display: flex; gap: 16px; align-items: flex-start; padding: 20px; border-radius: var(--radius); background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); transition: background-color .25s, transform .25s var(--ease); }
.driver-panel-item:hover { background: rgba(255,255,255,.07); transform: translateX(4px); }
.driver-panel-item i { font-size: 22px; color: var(--gold-text); }
.driver-panel-item strong { display: block; color: #fff; }
.driver-panel-item span { font-size: 15px; color: var(--on-dark-muted); }

/* store buttons */
.store-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.store-btn { display: inline-flex; align-items: center; gap: 12px; height: 56px; padding: 0 20px; border-radius: 14px; background: var(--dark); color: #fff; transition: transform .2s var(--ease), background-color .2s; }
.store-btn:hover { transform: translateY(-2px); background: var(--brand); }
.store-btn i { font-size: 24px; }
.store-btn small { display: block; font-size: 11px; opacity: .7; line-height: 1.2; }
.store-btn strong { display: block; font-size: 16px; line-height: 1.2; }
.store-btn--disabled { opacity: .5; pointer-events: none; }
.qr-row { display: flex; gap: 14px; margin-top: 22px; }
.qr { display: flex; align-items: center; gap: 12px; padding: 10px; border: 1px solid var(--line); border-radius: 14px; background: var(--surface); font-size: 13px; color: var(--muted); }
.qr img { width: 72px; height: 72px; border-radius: 8px; }

/* testimonials */
.carousel { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 40px) / 3); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 8px; scrollbar-width: none; }
.carousel::-webkit-scrollbar { display: none; }
.carousel > * { scroll-snap-align: start; }
.carousel-nav { display: flex; gap: 8px; }
.icon-btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface); display: grid; place-items: center; cursor: pointer; transition: border-color .2s, background-color .2s; }
.icon-btn:hover { border-color: var(--ink-3); }
.quote { display: flex; flex-direction: column; gap: 18px; height: 100%; }
.quote-stars { color: var(--gold); letter-spacing: 2px; }
.quote-text { color: var(--ink-2); font-size: 16px; }
.quote-person { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.avatar { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; background: var(--bg-soft); display: grid; place-items: center; color: var(--muted); }
.quote-person small { color: var(--muted); display: block; }

/* faq */
.faq-tools { display: flex; gap: 12px; margin-bottom: 20px; }
.faq-list { display: grid; gap: 10px; }
.faq-item { border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; }
.faq-item summary { list-style: none; cursor: pointer; padding: 20px 22px; display: flex; justify-content: space-between; align-items: center; gap: 16px; font-weight: 600; color: var(--ink); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary i { transition: transform .25s var(--ease); color: var(--muted); }
.faq-item[open] summary i { transform: rotate(45deg); color: var(--accent-text); }
.faq-answer { padding: 0 22px 20px; color: var(--muted); }

/* forms */
.form { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font-size: 14px; font-weight: 600; color: var(--ink-2); margin-bottom: 6px; }
.input, .select, .textarea {
  width: 100%; height: 48px; padding: 0 14px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface);
  transition: border-color .2s, box-shadow .2s; font-size: 15px;
}
.textarea { height: auto; padding: 12px 14px; resize: vertical; min-height: 120px; }
.input:focus, .select:focus, .textarea:focus { outline: 0; border-color: var(--accent-text); box-shadow: 0 0 0 4px rgba(79, 19, 16, .12); }
.input-group { display: flex; }
.input-group .addon { display: inline-flex; align-items: center; padding: 0 12px; border: 1px solid var(--line); border-right: 0; border-radius: 12px 0 0 12px; background: var(--bg-soft); color: var(--muted); font-size: 14px; white-space: nowrap; }
.input-group .input { border-radius: 0 12px 12px 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-note { font-size: 13px; color: var(--muted); }
.alert { padding: 12px 14px; border-radius: 12px; font-size: 14px; }
.alert:empty { display: none; }
.alert--success { background: #e8f7f0; color: #0b6b4a; }
.alert--error { background: #fdecef; color: #9b1c31; }

.contact-card { background: var(--dark); color: var(--on-dark-muted); border-radius: var(--radius-lg); padding: 32px; display: flex; flex-direction: column; gap: 18px; }
.contact-card h3 { color: #fff; font-size: 22px; }
.contact-line { display: flex; gap: 14px; align-items: flex-start; }
.contact-line i { width: 40px; height: 40px; flex: 0 0 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.08); color: var(--gold-text); }
.contact-line small { display: block; color: var(--on-dark-muted); font-size: 13px; }
.contact-line a, .contact-line span { color: #fff; }
.map-frame { border-radius: var(--radius); overflow: hidden; height: 220px; border: 0; width: 100%; }
.placeholder-note { font-size: 13px; color: var(--on-dark-muted); border: 1px dashed rgba(255,255,255,.2); border-radius: 12px; padding: 12px; }

/* cta band */
.cta-band { background: radial-gradient(600px 300px at 100% 0%, rgba(212, 175, 55, .22), transparent 60%), linear-gradient(135deg, var(--brand), var(--brand-900)); color: var(--gold-light); border-radius: var(--radius-lg); padding: 56px; display: grid; grid-template-columns: 1.3fr 1fr; gap: 32px; align-items: center; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; right: -120px; top: -120px; width: 360px; height: 360px; border-radius: 50%; border: 60px solid rgba(255,255,255,.06); }
.cta-band h2 { color: #fff; font-size: clamp(28px, 3.4vw, 40px); }
.cta-band .actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; position: relative; z-index: 1; }

/* footer */
.site-footer { background: var(--dark); color: var(--on-dark-muted); padding: 72px 0 32px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.4fr; gap: 40px; }
.site-footer h4, .site-footer .footer-title { color: #fff; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; margin-bottom: 16px; font-family: var(--font-body); }
.footer-links { display: grid; gap: 10px; }
.footer-links a { color: var(--on-dark-muted); transition: color .2s; }
.footer-links a:hover { color: #fff; }
.footer-brand p { margin-top: 14px; max-width: 320px; }
.footer-brand .brand-name { color: #fff; }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255,255,255,.06); color: var(--on-dark); transition: background-color .2s; }
.socials a:hover { background: var(--brand); }
.newsletter { display: flex; gap: 8px; margin-top: 12px; }
.newsletter .input { background: rgba(255,255,255,.06); border-color: rgba(255,255,255,.12); color: #fff; }
.newsletter .input::placeholder { color: #9a8574; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); margin-top: 56px; padding-top: 24px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: 14px; }
.footer-countries { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.footer-countries a:hover { color: #fff; }

/* floating actions & chat */
.fab-stack { position: fixed; right: 20px; bottom: 20px; z-index: 60; display: flex; flex-direction: column; gap: 12px; align-items: flex-end; }
.fab { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; font-size: 24px; color: #fff; border: 0; cursor: pointer; box-shadow: var(--shadow); transition: transform .2s var(--ease); touch-action: manipulation; }
.fab:hover { transform: translateY(-2px) scale(1.03); }
.fab--chat { background: linear-gradient(135deg, var(--brand), var(--brand-900)); }
.fab--wa { background: #1fa855; }
.chat-panel {
  position: fixed; right: 20px; bottom: 92px; z-index: 70; width: min(380px, calc(100vw - 24px)); height: min(560px, calc(100vh - 120px));
  background: var(--surface); border-radius: 20px; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; overflow: hidden;
  transform-origin: bottom right; transition: opacity .22s var(--ease), transform .22s var(--ease);
}
.chat-panel[hidden] { display: flex !important; opacity: 0; transform: translateY(12px) scale(.97); pointer-events: none; visibility: hidden; }
.chat-head { background: var(--dark); color: #fff; padding: 16px 18px; display: flex; align-items: center; justify-content: space-between; }
.chat-head small { color: var(--on-dark-muted); display: flex; align-items: center; gap: 6px; }
.chat-head small::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #34d399; }
.chat-close { background: rgba(255,255,255,.08); border: 0; color: #fff; width: 34px; height: 34px; border-radius: 10px; cursor: pointer; }
.chat-body { flex: 1; overflow-y: auto; padding: 16px; background: var(--bg-soft); display: flex; flex-direction: column; gap: 10px; }
.chat-start { padding: 18px; display: grid; gap: 12px; }
.msg { max-width: 82%; padding: 10px 14px; border-radius: 16px; font-size: 15px; line-height: 1.45; word-wrap: break-word; animation: msg-in .25s var(--ease); }
.msg time { display: block; font-size: 11px; opacity: .6; margin-top: 4px; }
.msg--me { align-self: flex-end; background: var(--brand); color: #fff; border-bottom-right-radius: 4px; }
.msg--them { align-self: flex-start; background: var(--surface); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.msg--system { align-self: center; font-size: 13px; color: var(--muted); background: transparent; }
@keyframes msg-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
.chat-input { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); background: var(--surface); }

/* cookie */
.cookie { position: fixed; left: 20px; bottom: 20px; z-index: 80; max-width: 440px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-lg); padding: 20px; transition: opacity .3s, transform .3s var(--ease); }
.cookie[hidden] { display: block !important; opacity: 0; transform: translateY(16px); pointer-events: none; visibility: hidden; }
.cookie h3 { font-size: 16px; }
.cookie p { font-size: 14px; color: var(--muted); margin-top: 6px; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.cookie-prefs { display: grid; gap: 8px; margin-top: 12px; font-size: 14px; }
.cookie-prefs[hidden] { display: none; }
.cookie-prefs label { display: flex; justify-content: space-between; gap: 12px; padding: 8px 10px; border: 1px solid var(--line); border-radius: 10px; }

/* page (legal/cms) */
.page-hero { background: var(--bg-soft); border-bottom: 1px solid var(--line); padding: 64px 0 40px; }
.page-hero h1 { font-size: clamp(32px, 4vw, 48px); }
.breadcrumbs { display: flex; gap: 8px; font-size: 14px; color: var(--muted); margin-bottom: 14px; }
.breadcrumbs a:hover { color: var(--ink); }
.prose { max-width: 760px; padding: 48px 0 96px; color: var(--ink-3); }
.prose h1 { display: none; }
.prose h2 { font-size: 24px; margin: 36px 0 12px; }
.prose h3 { font-size: 19px; margin: 28px 0 10px; }
.prose p, .prose ul, .prose ol { margin: 0 0 16px; }
.prose a { color: var(--accent-text); text-decoration: underline; }

/* ---------------------------------------------------------- motion */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: var(--d, 0ms); }
[data-reveal].is-visible { opacity: 1; transform: none; }
.no-js [data-reveal] { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}

/* ---------------------------------------------------------- responsive */
@media (max-width: 1080px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .carousel { grid-auto-columns: calc((100% - 20px) / 2); }
}
@media (max-width: 920px) {
  .hero-grid, .split, .cta-band { grid-template-columns: 1fr; }
  .hero-visual { max-width: 460px; }
  .trip-card { margin: 0; }
  .grid--3 { grid-template-columns: repeat(2, 1fr); }
  .cta-band .actions { justify-content: flex-start; }
}
@media (max-width: 640px) {
  .section { padding: 72px 0; }
  .hero { padding: 64px 0 56px; }
  .grid--2, .grid--3, .grid--4, .form-row, .footer-top { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: 1fr; }
  .country-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .country-grid .card { padding: 18px; }
  .country-grid .country-meta span:nth-child(n+2) { display: none; }
  .country-grid h3 { font-size: 16px; }
  .country-grid .badge { font-size: 11px; padding: 3px 8px; }
  .carousel { grid-auto-columns: 88%; }
  .trip-float { left: 8px; top: 160px; }
  .cta-band { padding: 36px 24px; }
  .fab-stack { right: 14px; bottom: 14px; }
  .chat-panel { right: 12px; bottom: 84px; }
  .cookie { left: 12px; right: 12px; bottom: 12px; }
}

/* ---------------------------------------------------------------- flip cards
   Driver benefits and rewards. Front: the poster, whole. Back: title, text, action. */
.h3 { font-family: var(--font-display); font-size: clamp(22px, 2.4vw, 28px); line-height: 1.2; margin: 10px 0 0; letter-spacing: -.01em; }
.section-head--split { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.flip-help { margin: 0; font-size: 14px; color: var(--muted); display: inline-flex; align-items: center; gap: 8px; }
.section--dark .flip-help { color: var(--on-dark-muted); }
.flip-help i { color: var(--accent-text); animation: flipNudge 2.4s var(--ease) infinite; display: inline-block; }
.section--dark .flip-help i { color: var(--gold-text); }
.flip-help--center { display: flex; justify-content: center; margin: -24px 0 32px; }
@keyframes flipNudge { 0%, 60%, 100% { transform: translateY(0); } 70% { transform: translateY(-4px); } 80% { transform: translateY(0); } 90% { transform: translateY(-2px); } }

.flip-grid { align-items: stretch; }
.flip-wrap { perspective: 1400px; }
.flip { position: relative; aspect-ratio: 4 / 5; border-radius: 22px; cursor: pointer; outline: none; -webkit-tap-highlight-color: transparent; transition: transform .45s var(--ease); }
.flip:hover { transform: translateY(-6px); }
.flip:focus-visible { box-shadow: 0 0 0 3px #fff, 0 0 0 6px var(--brand); }
.flip-inner { position: absolute; inset: 0; transform-style: preserve-3d; transition: transform .8s cubic-bezier(.3, 1.3, .4, 1); border-radius: inherit; }
.flip.is-flipped .flip-inner { transform: rotateY(180deg); }
.flip-face { position: absolute; inset: 0; border-radius: inherit; overflow: hidden; -webkit-backface-visibility: hidden; backface-visibility: hidden; box-shadow: var(--shadow-lg); }
.flip--dark .flip-face { box-shadow: 0 30px 60px -28px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .08); }

/* front */
.flip-front { background: #1a0302; isolation: isolate; }
.flip-poster-bg { position: absolute; inset: -20px; background-size: cover; background-position: center; filter: blur(22px) saturate(1.2) brightness(.55); transform: scale(1.1); z-index: -1; }
.flip-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: transform .8s var(--ease); }
.flip:hover .flip-poster { transform: scale(1.03); }
.flip-front::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgba(255, 255, 255, .22) 45%, transparent 60%); transform: translateX(-120%); transition: transform 1s var(--ease); pointer-events: none; }
.flip:hover .flip-front::after { transform: translateX(120%); }
.flip-plain { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; padding: 28px 28px 76px; background: radial-gradient(120% 80% at 100% 0%, rgba(79, 19, 16, .55), transparent 60%), linear-gradient(160deg, #3a0e0c, var(--dark)); color: #fff; }
.flip-plain h3 { color: #fff; font-size: 22px; margin: 0; }
.flip-hint { position: absolute; right: 14px; bottom: 14px; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .92); color: var(--brand); font-size: 18px; box-shadow: 0 8px 20px -6px rgba(0, 0, 0, .5); transition: transform .5s var(--ease), background .3s; }
.flip:hover .flip-hint { transform: rotate(180deg); background: var(--surface); }

/* back */
.flip-back { transform: rotateY(180deg); display: flex; flex-direction: column; gap: 12px; padding: 26px; color: var(--on-dark); background: radial-gradient(130% 70% at 100% 0%, rgba(79, 19, 16, .65), transparent 55%), radial-gradient(90% 60% at 0% 100%, rgba(212, 175, 55, .18), transparent 60%), linear-gradient(165deg, #3a0e0c, #120302); }
.flip-back h3 { color: #fff; font-size: 21px; line-height: 1.25; margin: 4px 0 0; }
.flip-back-top { display: flex; align-items: center; gap: 10px; }
.flip-text { flex: 1; overflow: auto; font-size: 15px; line-height: 1.65; color: var(--on-dark-muted); padding-right: 4px; scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.25) transparent; }
.flip-icon { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; font-size: 24px; color: #fff; background: linear-gradient(135deg, var(--brand), #7a1d18); box-shadow: 0 12px 24px -10px rgba(79, 19, 16, .8); }
.flip-icon--sm { width: 40px; height: 40px; border-radius: 12px; font-size: 18px; }
.flip-tag { display: inline-flex; align-self: flex-start; align-items: center; height: 26px; padding: 0 12px; border-radius: 999px; font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: #f3d9a4; background: rgba(212, 175, 55, .16); border: 1px solid rgba(212, 175, 55, .35); }
.flip-actions { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 14px; border-top: 1px solid rgba(255, 255, 255, .1); }
.flip-cta { background: #fff; color: var(--brand); }
.flip-cta:hover { background: var(--gold-light); }
.flip-back-btn { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: #fff; border: 1px solid rgba(255, 255, 255, .22); transition: transform .5s var(--ease), background .3s; }
.flip:hover .flip-back-btn { background: rgba(255, 255, 255, .1); transform: rotate(-180deg); }
/* the back's content rises in after the turn */
.flip-back > * { opacity: 0; transform: translateY(10px); transition: opacity .4s ease, transform .5s var(--ease); }
.flip.is-flipped .flip-back > * { opacity: 1; transform: none; }
.flip.is-flipped .flip-back > :nth-child(1) { transition-delay: .28s; }
.flip.is-flipped .flip-back > :nth-child(2) { transition-delay: .36s; }
.flip.is-flipped .flip-back > :nth-child(3) { transition-delay: .44s; }
.flip.is-flipped .flip-back > :nth-child(4) { transition-delay: .52s; }

@media (max-width: 640px) {
  .flip { aspect-ratio: 4 / 4.6; }
  .flip-back { padding: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  .flip-inner { transition: none; }
  .flip.is-flipped .flip-inner { transform: none; }
  .flip-back { transform: none; opacity: 0; transition: opacity .2s; }
  .flip.is-flipped .flip-back { opacity: 1; }
  .flip-front { transition: opacity .2s; }
  .flip.is-flipped .flip-front { opacity: 0; }
  .flip-help i { animation: none; }
}

/* ---------------------------------------------------------- theme switch + dark mode details */
html.theme-anim body, html.theme-anim .card, html.theme-anim .section, html.theme-anim .nav-shell { transition: background-color .4s var(--ease), color .4s var(--ease), border-color .4s var(--ease); }
html.dark body { color: var(--ink-2); }
html.dark .section--soft { background: radial-gradient(circle at 14% 10%, rgba(212, 175, 55, .06), transparent 30%), var(--bg-soft); }
html.dark .trip-map { background: linear-gradient(135deg, #1d0c0a, #120706); }
html.dark .badge--live { background: rgba(15, 159, 110, .16); }
html.dark .badge--coming_soon { background: rgba(212, 175, 55, .14); }
html.dark .badge--paused { background: rgba(255, 255, 255, .06); }
html.dark .alert--success { background: rgba(15, 159, 110, .16); color: #6ee7b7; }
html.dark .alert--error { background: rgba(200, 30, 58, .16); color: #fca5b5; }
html.dark .btn--ghost:hover { border-color: var(--gold); }
html.dark .btn--primary { box-shadow: 0 10px 22px -10px rgba(0, 0, 0, .8), inset 0 0 0 1px rgba(212, 175, 55, .25); }
html.dark .input, html.dark .select, html.dark .textarea { background: #1a0c0a; color: var(--ink); }
html.dark .input:focus, html.dark .select:focus, html.dark .textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(212, 175, 55, .14); }
html.dark .phone-screen { --ink: #231313; --ink-2: #2d2a2a; --muted: #6b5d5b; --line: #efe2d2; --bg-soft: #fff6e5; --brand-soft: #fbefe2; --accent-text: #4f1310; --surface: #fff; background: #fff; color: #2d2a2a; }

/* footer: country flags only */
.footer-flags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.footer-flags a {
  width: 42px; height: 42px; border-radius: 14px; display: grid; place-items: center; font-size: 22px; line-height: 1;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(212, 175, 55, .16);
  transition: transform .3s var(--spring), background-color .2s, border-color .2s;
}
.footer-flags a:hover, .footer-flags a:focus-visible { transform: translateY(-3px) scale(1.06); background: rgba(212, 175, 55, .14); border-color: rgba(212, 175, 55, .5); }
.site-footer { background: radial-gradient(800px 300px at 100% 0%, rgba(212, 175, 55, .08), transparent 60%), linear-gradient(180deg, #2a0807, var(--dark)); }
.footer-brand .brand-name { font-size: 22px; }
.footer-brand .brand-name span { color: var(--gold); }
.site-footer h4, .site-footer .footer-title { color: var(--gold-light); }
.socials a:hover { background: var(--gold); color: #2a1505; }
@media (max-width: 640px) { .footer-bottom { flex-direction: column-reverse; align-items: flex-start; } }
html.dark .trip-roads { stroke: #2a1714; }
html.dark .trip-route { stroke: #e5c765; }
html.dark .store-btn { background: rgba(255, 255, 255, .07); border: 1px solid rgba(212, 175, 55, .22); }
html.dark .store-btn:hover { background: rgba(212, 175, 55, .16); }

/* ---------------------------------------------------------- app section: screenshots, QR, driver app */
.phone--gallery { position: relative; }
.phone-screen--shots { padding: 0; min-height: 0; aspect-ratio: 9 / 19.5; background: #120302; }
.phone-screen--shots .phone-notch { z-index: 3; top: 10px; background: #000; }
.shots-track { position: absolute; inset: 0; touch-action: pan-y; }
.shot { position: absolute; inset: 0; margin: 0; opacity: 0; transform: scale(1.04) translateX(18px); transition: opacity .6s var(--ease), transform .8s var(--ease); }
.shot.is-active { opacity: 1; transform: none; }
.shot.is-leaving { opacity: 0; transform: scale(.98) translateX(-18px); }
.shot img { width: 100%; height: 100%; object-fit: cover; }
.shots-ui { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 22px; }
.shots-dots { display: flex; gap: 8px; }
.shots-dots button { width: 8px; height: 8px; padding: 0; border-radius: 999px; border: 0; background: rgba(79, 19, 16, .2); cursor: pointer; transition: width .45s var(--spring), background-color .3s; }
.shots-dots button.is-active { width: 26px; background: linear-gradient(90deg, var(--brand), var(--gold)); }
html.dark .shots-dots button { background: rgba(255, 255, 255, .2); }
html.dark .shots-dots button.is-active { background: linear-gradient(90deg, var(--gold), var(--gold-light)); }
.shots-caption { text-align: center; margin-top: 10px; font-size: 14px; color: var(--muted); min-height: 1.5em; transition: opacity .3s; }
.qr { transition: transform .3s var(--spring), box-shadow .3s; }
.qr:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.qr-code { display: block; width: 72px; height: 72px; border-radius: 8px; background: #fff; padding: 4px; }
.qr-code svg { display: block; width: 100%; height: 100%; }
.qr--sm img, .qr--sm .qr-code { width: 56px; height: 56px; }
.qr--sm { padding: 8px; }
.driver-app { margin-top: 26px; padding-top: 20px; border-top: 1px dashed var(--line); }
.driver-app-title { display: flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-text); }
.driver-app-row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 12px; }
.mini-store { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--surface); font-size: 14px; font-weight: 700; color: var(--ink); transition: transform .25s var(--spring), border-color .2s; }
.mini-store:hover { transform: translateY(-2px); border-color: var(--gold); }

/* ---------------------------------------------------------- skeleton loading */
.skeleton, .skeleton-img.is-loading, img.is-loading { position: relative; background: linear-gradient(100deg, #f4ebe0 30%, #fbf5ec 50%, #f4ebe0 70%) 0 0 / 300% 100%; animation: skeleton 1.4s ease-in-out infinite; }
html.dark .skeleton, html.dark img.is-loading { background-image: linear-gradient(100deg, #1a0c0a 30%, #26120f 50%, #1a0c0a 70%); }
img.is-loading { color: transparent; }
.skeleton:not(:empty) { animation: none; background: #fff; }
@keyframes skeleton { from { background-position: 100% 0; } to { background-position: 0 0; } }
img.is-loaded { animation: img-in .5s var(--ease) both; }
@keyframes img-in { from { opacity: 0; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .skeleton, img.is-loading { animation: none; } .shot { transition: opacity .2s; transform: none !important; } }

/* national flags (local SVG) */
.flag-img { display: inline-block; width: 24px; height: 18px; border-radius: 3px; object-fit: cover; box-shadow: 0 0 0 1px rgba(0, 0, 0, .08); vertical-align: -3px; flex: none; }
.flag-img--lg { width: 44px; height: 33px; border-radius: 6px; box-shadow: 0 6px 14px -6px rgba(79, 19, 16, .35), 0 0 0 1px rgba(0, 0, 0, .06); }
.chip .flag { width: 20px; height: 15px; border-radius: 3px; object-fit: cover; flex: none; }
.hero-pill .flag-img { width: 20px; height: 15px; margin-right: 6px; vertical-align: -2px; }
.footer-flags a .flag-img { width: 26px; height: 19.5px; border-radius: 4px; }

/* hero: visible on first paint (fast LCP), rises in with CSS only, no wait for JavaScript */
.hero [data-reveal] { opacity: 1; transform: none; transition: none; animation: hero-rise .8s var(--ease) both; animation-delay: var(--d, 0ms); }
@keyframes hero-rise { from { transform: translateY(14px); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) { .hero [data-reveal] { animation: none; } }
.badge { white-space: nowrap; }
@media (max-width: 640px) { .country-grid .flag-img--lg { width: 34px; height: 25.5px; } .country-top { gap: 6px; } }

/* ---------------------------------------------------------- gallery, team, contact pages */
.section--tight { padding: 64px 0 96px; }
.muted { color: var(--muted); }
.flag-img--xl { width: 96px; height: 72px; border-radius: 12px; box-shadow: 0 18px 36px -16px rgba(79, 19, 16, .55), 0 0 0 1px rgba(0, 0, 0, .06); }
.page-hero--brand {
  position: relative; overflow: hidden; border-bottom: 0; color: var(--on-dark-muted); padding-bottom: 72px;
  background: radial-gradient(760px 420px at 88% -10%, rgba(212, 175, 55, .22), transparent 60%), radial-gradient(620px 420px at 0% 120%, rgba(122, 29, 24, .55), transparent 60%), linear-gradient(160deg, #4f1310 0%, #2a0807 55%, var(--dark) 100%);
}
.page-hero--brand::after { content: ""; position: absolute; right: -140px; bottom: -180px; width: 420px; height: 420px; border-radius: 50%; border: 70px solid rgba(255, 255, 255, .04); pointer-events: none; }
.page-hero--brand .container { position: relative; z-index: 1; }
.page-hero--brand h1 { color: #fff; margin-top: 12px; max-width: 820px; animation: heroIn .8s var(--ease) both; }
.page-hero--brand .eyebrow { color: var(--gold-text); }
.page-hero--brand .lead { color: var(--on-dark-muted); max-width: 680px; animation: heroIn .8s .1s var(--ease) both; }
.page-hero--brand .breadcrumbs, .page-hero--brand .breadcrumbs a { color: rgba(255, 235, 205, .72); }
.page-hero--brand .breadcrumbs a:hover { color: #fff; }
@keyframes heroIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.hero-stats { list-style: none; padding: 0; margin: 26px 0 0; display: flex; gap: 12px; flex-wrap: wrap; }
.hero-stats li { padding: 10px 16px; border-radius: 999px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .1); color: var(--on-dark-muted); font-size: 14px; }
.hero-stats strong { color: var(--gold-text); font-size: 17px; margin-right: 4px; }

.empty-state { text-align: center; max-width: 520px; margin: 24px auto; padding: 48px 28px; border: 1px dashed var(--line); border-radius: var(--radius-lg); background: var(--surface); }
.empty-state > i { font-size: 44px; color: var(--gold); }
.empty-state h2 { font-size: 26px; margin: 12px 0 8px; }
.empty-state p { color: var(--muted); margin-bottom: 22px; }

/* filter chips (gallery categories, team departments) */
.filter-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 32px; }
.filter-chips button { border: 1px solid var(--line); background: var(--surface); color: var(--ink-3); font: 700 14px/1 var(--font-body); padding: 11px 18px; border-radius: 999px; cursor: pointer; transition: all .25s var(--ease); }
.filter-chips button:hover { border-color: var(--gold); color: var(--brand); transform: translateY(-1px); }
.filter-chips button.is-active { background: linear-gradient(135deg, var(--brand), var(--brand-900)); border-color: transparent; color: #fff; box-shadow: 0 10px 22px -12px rgba(79, 19, 16, .7); }
[data-filter-target] > .is-filtered-out { display: none !important; }
[data-filter-target] > .is-filter-in { animation: filterIn .45s var(--spring) both; }
@keyframes filterIn { from { opacity: 0; transform: scale(.94) translateY(10px); } to { opacity: 1; transform: none; } }

/* album grid */
.album-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; grid-auto-flow: dense; }
.album-card { position: relative; display: block; aspect-ratio: 4 / 3.2; border-radius: var(--radius-lg); overflow: hidden; background: var(--dark-2); color: #fff; isolation: isolate; box-shadow: var(--shadow); transition: transform .5s var(--spring), box-shadow .4s; }
.album-card--featured { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; min-height: 100%; }
.album-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.album-cover, .album-cover img { position: absolute; inset: 0; width: 100%; height: 100%; }
.album-cover img { object-fit: cover; transition: transform 1.2s var(--ease), filter .6s; }
.album-card:hover .album-cover img { transform: scale(1.08); filter: saturate(1.1); }
.album-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(26, 3, 2, 0) 35%, rgba(26, 3, 2, .88) 100%); z-index: 1; transition: opacity .4s; }
.album-tag, .album-count { position: absolute; top: 16px; z-index: 2; font-size: 12px; font-weight: 800; padding: 6px 12px; border-radius: 999px; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.album-tag { left: 16px; background: rgba(255, 246, 229, .92); color: var(--brand); }
.album-count { right: 16px; background: rgba(26, 3, 2, .55); color: #fff; }
.album-info { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 22px; display: grid; gap: 8px; }
.album-title { font-family: var(--font-display); font-size: 22px; font-weight: 700; line-height: 1.2; color: #fff; }
.album-card--featured .album-title { font-size: clamp(26px, 3vw, 36px); }
.album-sub { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; color: rgba(255, 240, 220, .85); }
.album-sub .flag-img { width: 18px; height: 13.5px; vertical-align: -2px; }
.album-go { font-size: 13px; font-weight: 800; color: var(--gold-text); max-height: 0; opacity: 0; overflow: hidden; transform: translateY(8px); transition: all .4s var(--ease); }
.album-card:hover .album-go, .album-card:focus-visible .album-go { max-height: 24px; opacity: 1; transform: none; }
.album-grid--compact .album-card { aspect-ratio: 4 / 3; }
.more-albums { margin-top: 88px; }

/* album page */
.album-hero { padding-bottom: 64px; }
.album-hero-bg { position: absolute; inset: -40px; background-size: cover; background-position: center; filter: blur(28px) saturate(1.2); opacity: .28; transform: scale(1.1); }
.album-meta { list-style: none; padding: 0; margin: 22px 0 0; display: flex; flex-wrap: wrap; gap: 10px; }
.album-meta li { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 999px; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .1); font-size: 14px; color: #fff5e8; }
.album-meta i { color: var(--gold-text); }
.album-story { margin-top: 22px; max-width: 760px; font-size: 17px; color: var(--on-dark-muted); }
.masonry { columns: 3 300px; column-gap: 18px; }
.masonry-item { break-inside: avoid; margin: 0 0 18px; }
.masonry-item a { position: relative; display: block; border-radius: var(--radius); overflow: hidden; background: var(--line-soft); box-shadow: var(--shadow-sm); }
.masonry-item img { width: 100%; height: auto; display: block; transition: transform .9s var(--ease); }
.masonry-item a:hover img { transform: scale(1.05); }
.masonry-item a::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 55%, rgba(26, 3, 2, .5)); opacity: 0; transition: opacity .4s; }
.masonry-item a:hover::after { opacity: 1; }
.masonry-zoom { position: absolute; right: 12px; bottom: 12px; z-index: 1; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 246, 229, .92); color: var(--brand); opacity: 0; transform: scale(.7); transition: all .35s var(--spring); }
.masonry-item a:hover .masonry-zoom, .masonry-item a:focus-visible .masonry-zoom { opacity: 1; transform: none; }
.masonry-item figcaption { font-size: 14px; color: var(--muted); padding: 8px 4px 0; }

/* lightbox */
.lb { position: fixed; inset: 0; z-index: 200; display: grid; place-items: center; }
.lb[hidden] { display: none; }
.lb-backdrop { position: absolute; inset: 0; background: rgba(14, 3, 2, .92); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); animation: lbFade .3s ease both; }
.lb-stage { position: relative; margin: 0; max-width: min(92vw, 1400px); max-height: 86vh; display: grid; justify-items: center; gap: 12px; touch-action: pan-y; }
.lb-stage img { max-width: 100%; max-height: 78vh; border-radius: 14px; box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .7); animation: lbIn .45s var(--spring) both; user-select: none; }
.lb-stage img.is-next { animation-name: lbNext; }
.lb-stage img.is-prev { animation-name: lbPrev; }
.lb-stage figcaption { color: #fff5e8; font-size: 15px; text-align: center; max-width: 720px; }
.lb-btn { position: absolute; z-index: 2; width: 50px; height: 50px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .18); background: rgba(255, 255, 255, .08); color: #fff; font-size: 20px; display: grid; place-items: center; cursor: pointer; transition: background .2s, transform .25s var(--spring); }
.lb-btn:hover { background: rgba(212, 175, 55, .3); transform: scale(1.08); }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 20px; top: 50%; margin-top: -25px; }
.lb-next { right: 20px; top: 50%; margin-top: -25px; }
.lb-count { position: absolute; top: 30px; left: 28px; color: rgba(255, 245, 232, .8); font-size: 14px; font-weight: 700; z-index: 2; }
@keyframes lbFade { from { opacity: 0; } to { opacity: 1; } }
@keyframes lbIn { from { opacity: 0; transform: scale(.92); } to { opacity: 1; transform: none; } }
@keyframes lbNext { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: none; } }
@keyframes lbPrev { from { opacity: 0; transform: translateX(-40px); } to { opacity: 1; transform: none; } }
body.lb-open { overflow: hidden; }

/* team */
.team-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.team-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; display: flex; flex-direction: column; transition: transform .5s var(--spring), box-shadow .4s, border-color .3s; }
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }
.team-photo { position: relative; aspect-ratio: 1; overflow: hidden; background: radial-gradient(circle at 30% 20%, #fff3c7, var(--brand-soft) 55%, #f1dcc4); }
.team-photo > img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), filter .6s; filter: saturate(.95); }
.team-card:hover .team-photo > img { transform: scale(1.06); filter: saturate(1.08); }
.team-photo::after { content: ""; position: absolute; inset: auto 0 0; height: 40%; background: linear-gradient(180deg, transparent, rgba(26, 3, 2, .35)); opacity: 0; transition: opacity .4s; }
.team-card:hover .team-photo::after { opacity: 1; }
.team-initials { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--font-display); font-size: 64px; font-weight: 700; color: var(--brand); }
.team-flag { position: absolute; right: 14px; bottom: 14px; z-index: 1; padding: 4px; border-radius: 8px; background: rgba(255, 255, 255, .92); box-shadow: 0 6px 16px -6px rgba(0, 0, 0, .35); line-height: 0; }
.team-flag .flag-img { width: 28px; height: 21px; border-radius: 4px; display: block; }
.team-body { padding: 20px 20px 22px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.team-dept { align-self: flex-start; font-size: 11px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #8a6a10; background: #fdf6e7; padding: 4px 10px; border-radius: 999px; margin-bottom: 8px; }
.team-name { font-size: 21px; line-height: 1.25; }
.team-role { color: var(--accent-text); font-weight: 700; font-size: 14px; }
.team-bio { color: var(--muted); font-size: 14px; margin-top: 10px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; transition: all .4s; }
.team-card:hover .team-bio, .team-card:focus-within .team-bio { -webkit-line-clamp: 12; }
.team-links { display: flex; gap: 8px; margin-top: auto; padding-top: 16px; }
.team-links a { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--bg-soft); color: var(--brand); border: 1px solid var(--line); transition: all .25s var(--ease); }
.team-links a:hover { background: var(--brand); color: #fff; transform: translateY(-2px); }

/* contact */
.quick-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 14px; margin-top: 34px; }
.quick-card { display: flex; align-items: center; gap: 14px; padding: 18px; border-radius: 18px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); color: #fff; transition: transform .4s var(--spring), background .3s, border-color .3s; min-width: 0; }
.quick-card:hover { transform: translateY(-4px); background: rgba(255, 255, 255, .12); border-color: rgba(212, 175, 55, .55); }
.quick-card > i:first-child { width: 46px; height: 46px; flex: none; border-radius: 14px; display: grid; place-items: center; font-size: 20px; background: linear-gradient(135deg, #fff3c7, var(--gold)); color: var(--brand); }
.quick-card span { min-width: 0; }
.quick-card small { display: block; font-size: 12px; color: var(--on-dark-muted); }
.quick-card strong { display: block; font-size: 15px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.quick-go { margin-left: auto; color: var(--gold-text); transition: transform .3s var(--spring); }
.quick-card:hover .quick-go { transform: translate(3px, -3px); }
.hq-band { display: grid; grid-template-columns: auto 1fr; gap: 36px; align-items: center; padding: 40px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow); position: relative; overflow: hidden; }
.hq-band:has(.hq-map) { grid-template-columns: auto 1fr minmax(280px, 380px); }
.hq-band::before { content: ""; position: absolute; left: -80px; top: -80px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(212, 175, 55, .18), transparent 70%); pointer-events: none; }
.hq-flag { position: relative; display: grid; place-items: center; width: 150px; height: 150px; border-radius: 50%; background: radial-gradient(circle at 30% 25%, #fff, var(--bg-soft)); border: 1px solid var(--line); }
.hq-flag .flag-img--xl { animation: flagWave 5s ease-in-out infinite; transform-origin: left center; }
@keyframes flagWave { 0%, 100% { transform: perspective(300px) rotateY(0); } 50% { transform: perspective(300px) rotateY(-14deg); } }
.hq-text .h2 { margin-top: 8px; }
.hq-text .lead { margin-top: 8px; font-size: 16px; }
.hq-lines { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.hq-lines li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-3); }
.hq-lines i { color: var(--gold-600); margin-top: 2px; }
.hq-lines a { color: var(--accent-text); font-weight: 700; }
.hq-map { width: 100%; height: 240px; border: 0; border-radius: var(--radius); }
.market-contacts { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; }
.market-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 22px; display: flex; flex-direction: column; gap: 14px; transition: transform .45s var(--spring), box-shadow .35s; }
.market-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.market-top { display: flex; align-items: center; gap: 14px; }
.market-top h3 { font-size: 18px; margin-bottom: 4px; }
.market-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; font-size: 14px; }
.market-card li { display: flex; gap: 10px; align-items: center; min-width: 0; }
.market-card li a { color: var(--ink); font-weight: 600; overflow: hidden; text-overflow: ellipsis; }
.market-card li i { color: var(--gold-600); }
.market-link { margin-top: auto; font-weight: 800; font-size: 14px; color: var(--accent-text); }
.market-link i { transition: transform .3s var(--spring); display: inline-block; }
.market-link:hover i { transform: translateX(4px); }
.contact-flag { width: 40px; height: 40px; flex: 0 0 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .08); }

/* footer logo and headquarters */
.footer-logo { display: inline-block; }
.footer-logo img { max-height: 56px; max-width: 220px; width: auto; height: auto; display: block; }
.footer-hq { display: inline-flex; align-items: center; gap: 12px; margin-top: 18px; padding: 10px 14px; border-radius: 14px; background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .08); color: #fff5e8; font-weight: 700; transition: border-color .3s, background .3s; }
.footer-hq:hover { border-color: rgba(212, 175, 55, .5); background: rgba(255, 255, 255, .08); }
.footer-hq small { display: block; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gold-text); }
.footer-hq .flag-img { width: 30px; height: 22.5px; border-radius: 4px; }

/* dark mode */
html.dark .filter-chips button { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .1); color: #fff5e8; }
html.dark .team-card, html.dark .market-card, html.dark .hq-band, html.dark .empty-state { background: var(--surface); border-color: rgba(255, 255, 255, .08); }
html.dark .team-dept { background: rgba(212, 175, 55, .14); color: var(--gold-text); }
html.dark .team-links a { background: rgba(255, 255, 255, .06); border-color: rgba(255, 255, 255, .1); color: var(--gold-text); }
html.dark .hq-flag { background: rgba(255, 255, 255, .04); border-color: rgba(255, 255, 255, .1); }
html.dark .hq-lines li { color: var(--on-dark-muted); }
html.dark .market-card li a { color: #fff5e8; }

@media (max-width: 1080px) { .team-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } .hq-band:has(.hq-map) { grid-template-columns: auto 1fr; } .hq-map { grid-column: 1 / -1; } }
@media (max-width: 920px) { .album-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 760px) { .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; } .team-body { padding: 16px; } .team-name { font-size: 17px; } }
@media (max-width: 640px) {
  .album-grid { grid-template-columns: 1fr; gap: 16px; }
  .album-card--featured { grid-column: auto; grid-row: auto; aspect-ratio: 4 / 3.4; }
  .album-go { max-height: 24px; opacity: 1; transform: none; }
  .masonry { columns: 2 140px; column-gap: 10px; }
  .masonry-item { margin-bottom: 10px; }
  .hq-band { grid-template-columns: 1fr !important; padding: 26px; gap: 20px; text-align: left; }
  .hq-flag { width: 110px; height: 110px; }
  .flag-img--xl { width: 72px; height: 54px; }
  .lb-prev, .lb-next { top: auto; bottom: 22px; margin: 0; }
  .lb-prev { left: calc(50% - 62px); } .lb-next { right: calc(50% - 62px); }
  .section--tight { padding: 40px 0 72px; }
  .page-hero--brand { padding-bottom: 48px; }
  .filter-chips { flex-wrap: nowrap; overflow-x: auto; margin-inline: -20px; padding: 0 20px 4px; scrollbar-width: none; }
  .filter-chips::-webkit-scrollbar { display: none; }
  .filter-chips button { flex: none; }
}
@media (max-width: 400px) { .team-grid { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) {
  .page-hero--brand h1, .page-hero--brand .lead, .hq-flag .flag-img--xl, .lb-stage img, .lb-backdrop, [data-filter-target] > .is-filter-in { animation: none; }
  .album-card, .team-card, .market-card, .quick-card { transition: none; }
}
/* keep the desktop bar on one line between 1041 and 1420 px */
@media (max-width: 1420px) { .nav-links a i { display: none; } .nav-links a { padding: 10px 12px; } }
@media (min-width: 1241px) and (max-width: 1320px) { .brand-tag { display: none; } .nav-btn { padding-inline: 12px; } }
