/* ============================================================
   Beno — concierge layer prototype
   Visual system declared in chat. Palette is dynamically swapped
   by Tweaks via data-palette on <html>. Type swapped via data-type.
   ============================================================ */

:root {
  --noir: #0C0D10;
  --deep: #15171C;
  --line-dark: #262A31;
  --paper: #F8F7F4;
  --sand: #ECE7DD;
  --ink: #15171C;
  --ink-muted: #5b5d63;
  --line: #E2DDD2;
  --teal: #00586F;          /* sampled from logo SVG */
  --teal-deep: #003D4F;
  --teal-soft: #DFEDF1;
  --gold: #C2A36B;
  --gold-deep: #A8884C;

  --bg: var(--paper);
  --surface: #fff;
  --text: var(--ink);
  --muted: var(--ink-muted);
  --border: var(--line);
  --hero-bg: var(--noir);
  --hero-ink: var(--paper);
  --primary: var(--teal);
  --accent: var(--gold);
  --focus: #1a8aa7;

  --font-display: 'Cormorant Garamond', 'Cormorant', 'Times New Roman', serif;
  --font-body: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;

  --d-fluid: clamp(1px, 1vw, 16px);
  --pad-sec-y: clamp(72px, 11vw, 160px);
  --pad-x: clamp(24px, 6vw, 88px);

  --rad-sm: 6px;
  --rad: 14px;
  --rad-lg: 22px;
}

/* Palette swatches */
:root[data-palette="noir-gold"] {
  --hero-bg: #0A0A0B;
  --primary: var(--gold);
  --accent: var(--gold);
  --teal: var(--gold);
  --teal-deep: var(--gold-deep);
  --teal-soft: #f3ecdc;
}
:root[data-palette="paper-teal"] {
  --bg: #FDFCF8;
  --hero-bg: #0d3340;
  --primary: var(--teal);
  --accent: var(--gold);
}

/* Typography swatches */
:root[data-type="serif-grotesk"] {
  --font-display: 'Fraunces', 'Cormorant Garamond', serif;
  --font-body: 'Inter', 'Helvetica Neue', Arial, sans-serif;
}
:root[data-type="didone"] {
  --font-display: 'Playfair Display', 'Cormorant Garamond', serif;
  --font-body: 'Inter', 'Helvetica Neue', Arial, sans-serif;
}

/* Density */
:root[data-density="compact"] { --pad-sec-y: clamp(48px, 7vw, 96px); }
:root[data-density="airy"]    { --pad-sec-y: clamp(96px, 14vw, 220px); }

/* RTL */
html[dir="rtl"] {
  --font-display: 'Cormorant Garamond', 'Amiri', 'Noto Naskh Arabic', serif;
  --font-body: 'Noto Kufi Arabic', 'IBM Plex Sans Arabic', 'Inter', sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { background: var(--bg); color: var(--text); }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
button { font: inherit; cursor: pointer; }
input, textarea, select { font: inherit; }

a { color: inherit; }

/* ---------- typography ---------- */
.display {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.01em;
  line-height: 1.02;
}
.display-italic { font-style: italic; }
.eyebrow {
  font-family: var(--font-body);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 11px;
  color: var(--muted);
}
.eyebrow-light { color: rgba(255,255,255,.6); }
.lede {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(20px, 1.9vw, 26px);
  line-height: 1.35;
}
.mono { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.04em; }

/* ---------- layout helpers ---------- */
.wrap { padding-inline: var(--pad-x); }
.section { padding-block: var(--pad-sec-y); }
.rule { border: 0; height: 1px; background: var(--border); margin: 0; }
.rule-dark { background: var(--line-dark); }

.grid { display: grid; gap: 24px; }

/* ---------- App shell ---------- */
.app { min-height: 100vh; }

/* Sticky nav */
.nav {
  position: sticky; top: 0; z-index: 40;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  gap: 32px;
  padding: 18px var(--pad-x);
  background: color-mix(in oklab, var(--bg) 90%, transparent);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid color-mix(in oklab, var(--border) 60%, transparent);
}
.nav.on-dark {
  background: rgba(12,13,16,.55);
  border-bottom-color: rgba(255,255,255,.10);
  color: var(--paper);
}
.nav-logo {
  display: flex; align-items: center; gap: 0; cursor: pointer;
  justify-self: start;
}
.nav-logo svg { height: 20px; width: auto; display: block; }
.nav-links {
  display: flex; gap: 36px; align-items: center; justify-self: center;
}
.nav-right {
  display: flex; gap: 12px; align-items: center; justify-self: end;
}
.nav-link {
  background: none; border: 0; padding: 6px 0; color: inherit;
  font-size: 13px; letter-spacing: 0.02em; position: relative;
  font-family: var(--font-body);
  cursor: pointer; opacity: .82;
  transition: opacity .2s;
}
.nav-link:hover { opacity: 1; }
.nav-link[aria-current="true"] { opacity: 1; }
.nav-link[aria-current="true"]::after {
  content: ''; position: absolute; inset: auto 0 -3px 0; height: 1px; background: currentColor;
}
.nav-cta {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 18px;
  border: 1px solid currentColor; border-radius: 999px;
  background: transparent; color: inherit;
  font-size: 12px; letter-spacing: 0.02em;
  transition: background .2s, color .2s;
  cursor: pointer;
}
.nav-cta:hover { background: currentColor; }
.nav-cta:hover > * { color: var(--bg); }
.on-dark .nav-cta:hover > * { color: var(--noir); }

@media (max-width: 900px) {
  .nav { grid-template-columns: 1fr auto; }
  .nav-links { display: none; }
}

.lang-toggle {
  display: inline-flex; align-items: center; padding: 4px;
  border: 1px solid color-mix(in oklab, currentColor 30%, transparent);
  border-radius: 999px; gap: 2px;
  background: color-mix(in oklab, currentColor 8%, transparent);
}
.lang-toggle button {
  background: none; border: 0; padding: 5px 12px; border-radius: 999px;
  color: inherit; opacity: 0.55; font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  font-weight: 500; cursor: pointer; transition: opacity .2s, background .2s, color .2s;
}
.lang-toggle button:hover { opacity: .85; }
.lang-toggle button.active { background: var(--paper); color: var(--noir); opacity: 1; }
.on-dark .lang-toggle button.active { background: var(--paper); color: var(--noir); }
.app:not(.on-dark) .lang-toggle button.active { background: var(--noir); color: var(--paper); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: var(--hero-bg); color: var(--paper);
  overflow: hidden;
  isolation: isolate;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
}
.hero-bg .slide {
  position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s ease;
  background-size: cover; background-position: center;
}
.hero-bg .slide.active { opacity: 1; }
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(12,13,16,.55) 0%, rgba(12,13,16,.2) 35%, rgba(12,13,16,.7) 100%),
    linear-gradient(90deg, rgba(12,13,16,.55) 0%, rgba(12,13,16,0) 60%);
  pointer-events: none;
}
.hero-inner {
  position: relative; z-index: 1;
  padding: clamp(120px, 14vw, 220px) var(--pad-x) clamp(60px, 8vw, 120px);
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 80px; align-items: end;
  min-height: 86vh;
}
.hero-headline {
  font-size: clamp(46px, 8.4vw, 132px);
  margin: 18px 0 28px;
  letter-spacing: -0.02em;
}
.hero-headline em { font-style: italic; color: var(--gold); }
.hero-sub {
  max-width: 60ch; color: rgba(255,255,255,.78);
  font-size: clamp(16px, 1.25vw, 19px); line-height: 1.55;
}
.hero-meta { display: flex; flex-direction: column; gap: 28px; align-items: flex-start; }
.hero-cats {
  display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px;
  width: 100%;
}
.hero-cat-link {
  background: none; border: 0; padding: 0; text-align: start;
  color: rgba(255,255,255,.7);
  display: flex; align-items: baseline; justify-content: space-between;
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,.12);
  font-family: var(--font-display); font-size: 22px;
  transition: color .2s, padding .2s;
}
.hero-cat-link:hover { color: var(--paper); padding-inline-start: 6px; }
.hero-cat-link span:last-child { font-family: var(--font-body); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; opacity: .55; }

.hero-ctas {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  margin-top: 24px;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 22px; border-radius: 999px;
  font-size: 13px; letter-spacing: 0.04em; text-transform: uppercase;
  border: 1px solid transparent; transition: transform .2s ease, background .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--paper); color: var(--noir); }
.btn-primary:hover { background: var(--gold); color: var(--noir); }
.btn-ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn-ghost:hover { background: color-mix(in oklab, currentColor 12%, transparent); }
.btn-solid-teal { background: var(--teal); color: var(--paper); }
.btn-solid-teal:hover { background: var(--teal-deep); }
.btn-dark { background: var(--noir); color: var(--paper); }
.btn-sm { padding: 9px 14px; font-size: 11px; }

.btn .arrow { transition: transform .25s ease; }
.btn:hover .arrow { transform: translateX(3px); }
html[dir="rtl"] .btn:hover .arrow { transform: translateX(-3px); }

/* Hero footer ticker */
.hero-foot {
  position: relative; z-index: 1;
  display: flex; justify-content: space-between; align-items: center; gap: 24px;
  padding: 22px var(--pad-x);
  border-top: 1px solid rgba(255,255,255,.14);
  font-size: 12px; color: rgba(255,255,255,.7);
}
.hero-foot .dots { display: flex; gap: 6px; }
.hero-foot .dot { width: 6px; height: 6px; border-radius: 999px; background: rgba(255,255,255,.3); transition: background .2s, width .25s; }
.hero-foot .dot.active { background: var(--paper); width: 22px; }

/* ---------- Section header ---------- */
.section-head {
  display: grid; grid-template-columns: auto 1fr auto; align-items: end; gap: 32px;
  margin-bottom: 56px;
}
.section-head h2 {
  font-family: var(--font-display); font-weight: 400; font-size: clamp(36px, 5vw, 64px);
  letter-spacing: -0.015em; line-height: 1.02; margin: 0;
}
.section-head h2 em { font-style: italic; color: var(--teal); }
.section-head .lede { max-width: 44ch; color: var(--muted); }

/* ---------- Category grid ---------- */
.cat-grid {
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 28px;
  grid-auto-rows: minmax(280px, auto);
}
.cat-card {
  position: relative; overflow: hidden; border-radius: var(--rad);
  background: var(--surface); border: 1px solid var(--border);
  cursor: pointer; transition: transform .35s ease;
  isolation: isolate;
  display: flex; flex-direction: column;
}
.cat-card:hover { transform: translateY(-3px); }
.cat-card .img {
  flex: 1; min-height: 100%;
  background-size: cover; background-position: center;
  transition: transform 1s ease;
}
.cat-card:hover .img { transform: scale(1.04); }
.cat-card .body {
  position: absolute; inset: auto 0 0 0; padding: 22px 24px;
  background: linear-gradient(0deg, rgba(0,0,0,.8) 0%, rgba(0,0,0,0) 100%);
  color: var(--paper);
}
.cat-card .body h3 {
  font-family: var(--font-display); font-size: 26px; margin: 0 0 4px; font-weight: 400;
}
.cat-card .body p {
  margin: 0; font-size: 13px; line-height: 1.45; color: rgba(255,255,255,.78);
  max-width: 32ch;
}
.cat-card .pill {
  position: absolute; top: 18px; inset-inline-start: 18px;
  background: rgba(255,255,255,.92); color: var(--noir);
  font-size: 10px; padding: 5px 10px; border-radius: 999px;
  letter-spacing: 0.12em; text-transform: uppercase;
}
.cat-card .corner {
  position: absolute; top: 18px; inset-inline-end: 18px;
  width: 36px; height: 36px; border-radius: 999px;
  background: var(--paper); color: var(--noir);
  display: grid; place-items: center; transform: rotate(-45deg);
  transition: transform .3s ease;
}
.cat-card:hover .corner { transform: rotate(0deg); }

/* Featured (tall) tile */
.cat-card.span-tall  { grid-column: span 6; grid-row: span 2; }
.cat-card.span-wide  { grid-column: span 6; }
.cat-card.span-third { grid-column: span 4; }
.cat-card.span-half  { grid-column: span 6; }
.cat-card.span-two-thirds { grid-column: span 8; }

@media (max-width: 900px) {
  .cat-grid { grid-auto-rows: minmax(220px, auto); }
  .cat-card.span-tall, .cat-card.span-wide, .cat-card.span-third, .cat-card.span-half, .cat-card.span-two-thirds {
    grid-column: span 12;
  }
  .cat-card.span-tall { grid-row: span 1; }
}

/* ---------- Concierge band ---------- */
.concierge {
  background: var(--noir); color: var(--paper);
  padding: clamp(72px, 11vw, 140px) var(--pad-x);
  display: grid; grid-template-columns: 1.2fr 1fr; gap: 80px;
  align-items: center;
}
.concierge h2 {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(36px, 5vw, 72px); margin: 16px 0 24px;
  letter-spacing: -0.015em; line-height: 1.05;
}
.concierge h2 em { font-style: italic; color: var(--gold); }
.concierge p { color: rgba(255,255,255,.72); max-width: 50ch; }
.concierge .card {
  background: var(--deep); border: 1px solid var(--line-dark);
  border-radius: var(--rad-lg); padding: 28px;
  position: relative;
}
.concierge .card .row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 0; border-bottom: 1px dashed var(--line-dark);
}
.concierge .card .row:last-of-type { border-bottom: 0; }
.concierge .card .row .lhs { display: flex; align-items: center; gap: 14px; }
.concierge .card .row .chip {
  width: 36px; height: 36px; border-radius: 999px;
  background: color-mix(in oklab, var(--gold) 18%, transparent);
  color: var(--gold);
  display: grid; place-items: center;
  font-size: 12px;
}
.concierge .card .label { font-size: 14px; }
.concierge .card .meta { font-size: 12px; color: rgba(255,255,255,.55); }
.concierge .card .row.cta {
  padding-top: 22px; margin-top: 6px;
  border-top: 1px solid var(--line-dark); border-bottom: 0;
}

/* ---------- Experiences ---------- */
.exp-list { display: grid; gap: 1px; background: var(--border); }
.exp-row {
  display: grid; grid-template-columns: 90px 1.4fr 1fr auto; gap: 32px;
  align-items: center;
  background: var(--bg); padding: 36px 8px;
  cursor: pointer;
  transition: padding .25s ease, background .25s ease;
}
.exp-row:hover { padding-inline-start: 24px; background: color-mix(in oklab, var(--sand) 35%, var(--bg)); }
.exp-row .idx { font-family: var(--font-mono); color: var(--muted); font-size: 12px; }
.exp-row h3 { font-family: var(--font-display); font-weight: 400; font-size: 30px; margin: 0; }
.exp-row p { margin: 0; color: var(--muted); max-width: 48ch; font-size: 14.5px; }
.exp-row .meta { display: flex; align-items: center; gap: 14px; font-size: 12px; color: var(--muted); }
.exp-row .meta .pill {
  border: 1px solid var(--border); padding: 5px 10px; border-radius: 999px;
  letter-spacing: 0.04em;
}
.exp-row .go {
  width: 44px; height: 44px; border-radius: 999px;
  border: 1px solid var(--border); display: grid; place-items: center;
  transition: background .2s, color .2s;
}
.exp-row:hover .go { background: var(--noir); color: var(--paper); border-color: var(--noir); }
@media (max-width: 800px) {
  .exp-row { grid-template-columns: 50px 1fr auto; }
  .exp-row .meta { display: none; }
}

/* ---------- Trust strip ---------- */
.trust {
  display: grid; grid-template-columns: repeat(5, 1fr); gap: 0;
  border-block: 1px solid var(--border);
}
.trust .cell {
  padding: 36px var(--pad-x);
  border-inline-end: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 8px;
}
.trust .cell:last-child { border-inline-end: 0; }
.trust .cell .num {
  font-family: var(--font-display); font-size: 44px; font-weight: 400;
  letter-spacing: -0.02em; line-height: 1;
}
.trust .cell .label { font-size: 12px; color: var(--muted); letter-spacing: 0.06em; text-transform: uppercase; }
.trust .cell .note { font-size: 11.5px; color: var(--muted); margin-top: 6px; }
@media (max-width: 900px) { .trust { grid-template-columns: repeat(2, 1fr); } .trust .cell { padding: 24px var(--pad-x); } }

/* ---------- Footer / contact ---------- */
.foot {
  background: var(--noir); color: var(--paper);
  padding: clamp(64px, 9vw, 120px) var(--pad-x) 36px;
}
.foot-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 56px;
}
.foot h4 {
  font-family: var(--font-body); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,.5); margin: 0 0 18px; font-weight: 500;
}
.foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.foot ul a { text-decoration: none; color: rgba(255,255,255,.85); font-size: 14px; }
.foot ul a:hover { color: var(--gold); }
.foot .branches { display: grid; gap: 18px; }
.foot .branch .name { font-size: 14px; }
.foot .branch .addr { font-size: 12.5px; color: rgba(255,255,255,.6); margin-top: 2px; }
.foot-bottom {
  display: flex; justify-content: space-between; align-items: center;
  margin-top: 64px; padding-top: 24px;
  border-top: 1px solid var(--line-dark);
  font-size: 12px; color: rgba(255,255,255,.5);
}
.foot-bottom .legal { display: flex; gap: 18px; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- Floating action ---------- */
.fab {
  position: fixed; bottom: 22px; inset-inline-end: 22px; z-index: 60;
  display: flex; flex-direction: column; gap: 10px; align-items: flex-end;
}
.fab-button {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 14px 20px; border-radius: 999px;
  background: #25D366; color: #0a0a0a; border: 0;
  font-size: 13px; font-weight: 600;
  box-shadow: 0 12px 30px rgba(0,0,0,.18), 0 0 0 6px rgba(37,211,102,.18);
}
.fab-button.dark { background: var(--noir); color: var(--paper); box-shadow: 0 12px 30px rgba(0,0,0,.4); }
.fab-button.dark::before {
  content: ''; width: 8px; height: 8px; border-radius: 999px;
  background: #25D366; box-shadow: 0 0 0 4px rgba(37,211,102,.25);
}

.fab-dock {
  position: fixed; inset-inline: 24px; bottom: 22px; z-index: 60;
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; padding: 12px 14px 12px 20px;
  background: rgba(12,13,16,.92); color: var(--paper);
  border-radius: 999px; backdrop-filter: blur(10px);
  box-shadow: 0 20px 40px rgba(0,0,0,.3);
  max-width: 720px; margin-inline: auto;
}
.fab-dock .left { display: flex; align-items: center; gap: 12px; font-size: 13px; }
.fab-dock .left .av { width: 28px; height: 28px; border-radius: 999px; background: var(--gold); }
.fab-dock .right { display: flex; gap: 6px; }

.fab-panel {
  position: fixed; bottom: 16px; inset-inline-end: 16px; z-index: 60;
  width: min(360px, 92vw);
  background: var(--noir); color: var(--paper);
  border-radius: 18px; padding: 18px; border: 1px solid var(--line-dark);
  box-shadow: 0 30px 60px rgba(0,0,0,.4);
}
.fab-panel .top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.fab-panel .top .who { display: flex; align-items: center; gap: 10px; font-size: 13px; }
.fab-panel .top .av { width: 32px; height: 32px; border-radius: 999px; background: var(--gold); }
.fab-panel .status { font-size: 11px; color: rgba(255,255,255,.6); }
.fab-panel .quick { display: grid; gap: 8px; margin-top: 10px; }
.fab-panel .quick button {
  text-align: start; background: var(--deep); color: var(--paper);
  border: 1px solid var(--line-dark); border-radius: 10px; padding: 10px 12px;
  font-size: 13px;
}
.fab-panel .quick button:hover { border-color: var(--gold); color: var(--gold); }
.fab-panel .ctas { display: flex; gap: 8px; margin-top: 14px; }
.fab-panel .ctas .btn { flex: 1; justify-content: center; padding: 11px 12px; font-size: 11px; }

/* ---------- Category page ---------- */
.cat-hero {
  position: relative; background: var(--hero-bg); color: var(--paper);
  min-height: 70vh;
  display: grid; grid-template-columns: 1fr 1fr; align-items: stretch;
}
.cat-hero-img {
  background-size: cover; background-position: center;
  min-height: 60vh;
  filter: brightness(0.88);
  background-color: var(--hero-bg);
}
.cat-hero-text {
  padding: clamp(80px, 10vw, 140px) var(--pad-x) clamp(40px, 6vw, 80px);
  display: flex; flex-direction: column; justify-content: center; gap: 26px;
  position: relative;
  background: var(--hero-bg);
}
.cat-hero-text h1 {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(48px, 7vw, 104px); letter-spacing: -0.02em; margin: 0;
  line-height: 1;
}
.cat-hero-text h1 em { font-style: italic; color: var(--gold); }
.cat-hero-text p { color: rgba(255,255,255,.78); max-width: 50ch; }
.cat-hero-text .meta { display: flex; gap: 32px; flex-wrap: wrap; }
.cat-hero-text .meta-item .k { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255,255,255,.5); }
.cat-hero-text .meta-item .v { font-family: var(--font-display); font-size: 22px; }
@media (max-width: 900px) {
  .cat-hero { grid-template-columns: 1fr; }
  .cat-hero-img { min-height: 38vh; }
}

.cat-process {
  display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; gap: 0;
  border-block: 1px solid var(--border);
}
.cat-process .step {
  padding: 36px var(--pad-x);
  border-inline-end: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 8px;
}
.cat-process .step:last-child { border-inline-end: 0; }
.cat-process .num {
  font-family: var(--font-mono); color: var(--teal); font-size: 12px;
}
.cat-process h4 { font-family: var(--font-display); font-size: 26px; margin: 0; font-weight: 400; }
.cat-process p { margin: 0; color: var(--muted); font-size: 13px; }
@media (max-width: 900px) { .cat-process { grid-template-columns: 1fr 1fr; } }

.fleet-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
@media (max-width: 900px) { .fleet-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .fleet-grid { grid-template-columns: 1fr; } }
.fleet-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--rad);
  overflow: hidden; cursor: pointer; transition: transform .3s ease, box-shadow .3s ease;
  position: relative;
}
.fleet-card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(0,0,0,.06); }
.fleet-card .img-wrap { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.fleet-card .img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.fleet-card:hover .img { transform: scale(1.05); }
.fleet-card .img-wrap::after {
  content: 'Partner-supplied'; position: absolute;
  bottom: 8px; inset-inline-end: 8px;
  background: rgba(0,0,0,.55); color: rgba(255,255,255,.85);
  font-family: var(--font-mono); font-size: 10px; padding: 3px 6px; border-radius: 4px;
  letter-spacing: 0.02em;
}
.fleet-card .body { padding: 18px 20px 20px; }
.fleet-card .body .row1 { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.fleet-card .body h4 { font-family: var(--font-display); font-size: 22px; margin: 0; font-weight: 400; }
.fleet-card .body .ftr {
  display: flex; justify-content: space-between; align-items: center; margin-top: 16px;
  padding-top: 14px; border-top: 1px solid var(--border);
}
.fleet-card .body .rate { font-size: 13px; }
.fleet-card .body .rate strong { font-family: var(--font-display); font-size: 18px; font-weight: 500; }
.fleet-card .body .rate .req { color: var(--muted); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; }
.fleet-card .tag {
  position: absolute; top: 12px; inset-inline-start: 12px;
  background: rgba(255,255,255,.94); color: var(--noir);
  font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 5px 10px; border-radius: 999px;
}

/* ---------- Enquiry modal ---------- */
.modal-scrim {
  position: fixed; inset: 0; background: rgba(8,9,11,.65);
  backdrop-filter: blur(6px); z-index: 80;
  display: grid; place-items: center; padding: 24px;
  animation: fadeIn .2s ease;
}
@keyframes fadeIn { from { opacity: 0 } to { opacity: 1 } }
@keyframes slideUp { from { opacity: 0; transform: translateY(20px) } to { opacity: 1; transform: translateY(0) } }
.modal {
  width: min(960px, 100%); max-height: 92vh; overflow: auto;
  background: var(--bg); color: var(--text);
  border-radius: 20px; border: 1px solid var(--border);
  display: grid; grid-template-columns: 1fr 1.1fr;
  animation: slideUp .35s cubic-bezier(.2,.7,.2,1.05);
}
.modal-aside {
  background: var(--noir); color: var(--paper);
  padding: 32px; position: relative;
  background-size: cover; background-position: center;
  min-height: 480px;
  display: flex; flex-direction: column; justify-content: space-between;
}
.modal-aside::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(12,13,16,.45) 0%, rgba(12,13,16,.85) 90%);
}
.modal-aside > * { position: relative; }
.modal-aside .mark { font-family: var(--font-display); font-style: italic; font-size: 22px; }
.modal-aside h3 {
  font-family: var(--font-display); font-weight: 400; font-size: clamp(28px, 3vw, 40px);
  margin: 0; letter-spacing: -0.01em; line-height: 1.05;
}
.modal-aside h3 em { font-style: italic; color: var(--gold); }
.modal-aside .steps { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
.modal-aside .step {
  display: flex; gap: 12px; padding: 8px 0;
  color: rgba(255,255,255,.55); font-size: 14px;
}
.modal-aside .step.active { color: var(--paper); }
.modal-aside .step.done { color: rgba(255,255,255,.85); }
.modal-aside .step .n {
  font-family: var(--font-mono); font-size: 11px; width: 22px;
  display: inline-flex; align-items: center; justify-content: center;
}
.modal-aside .step.active .n { color: var(--gold); }
.modal-aside .step.done .n::before { content: '✓ '; color: var(--gold); }

.modal-body { padding: 36px; display: flex; flex-direction: column; gap: 18px; }
.modal-body .close {
  align-self: flex-end; background: none; border: 0;
  color: var(--muted); font-size: 22px; line-height: 1;
}
.modal-body h2 {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(28px, 3vw, 38px); letter-spacing: -0.015em;
  margin: 0;
}
.modal-body h2 em { font-style: italic; color: var(--teal); }
.modal-body .sub { color: var(--muted); margin-top: -6px; max-width: 48ch; }
.modal-body .step-content { display: flex; flex-direction: column; gap: 18px; flex: 1; }
.modal-body .opt-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
}
.opt {
  border: 1px solid var(--border); background: var(--surface);
  border-radius: 12px; padding: 16px; text-align: start; cursor: pointer;
  display: flex; flex-direction: column; gap: 4px;
  transition: border-color .2s, background .2s;
}
.opt:hover { border-color: var(--teal); }
.opt[aria-pressed="true"] { border-color: var(--teal); background: var(--teal-soft); }
.opt .t { font-family: var(--font-display); font-size: 18px; }
.opt .s { font-size: 11.5px; color: var(--muted); }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.field input, .field select, .field textarea {
  border: 1px solid var(--border); background: var(--surface); color: var(--text);
  border-radius: 10px; padding: 12px 14px; font-size: 15px;
  outline: 0; transition: border-color .2s;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 3px color-mix(in oklab, var(--teal) 18%, transparent); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.modal-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 12px; }
.modal-foot .progress { font-family: var(--font-mono); font-size: 11px; color: var(--muted); }
.modal-foot .actions { display: flex; gap: 10px; }

/* Confirmation handoff */
.handoff { display: grid; gap: 18px; }
.handoff .phone {
  background: var(--noir); color: var(--paper); border-radius: 18px; padding: 22px;
  max-width: 360px; align-self: center; margin: 8px auto;
  position: relative;
}
.handoff .phone .topbar {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 11px; opacity: .55; margin-bottom: 16px;
}
.handoff .phone .who {
  display: flex; align-items: center; gap: 10px; margin-bottom: 14px;
  padding-bottom: 14px; border-bottom: 1px solid var(--line-dark);
}
.handoff .phone .who .av {
  width: 38px; height: 38px; border-radius: 999px; background: var(--gold); color: var(--noir);
  display: grid; place-items: center; font-family: var(--font-display); font-size: 18px;
}
.handoff .phone .who .name { font-weight: 600; font-size: 14px; }
.handoff .phone .who .sub { font-size: 11px; opacity: .55; }
.handoff .phone .msg {
  background: #25D366; color: #0a0a0a; padding: 12px 14px;
  border-radius: 14px 14px 4px 14px; font-size: 13px;
  margin-inline-start: auto; max-width: 80%;
}
.handoff .phone .msg .meta { font-size: 10px; opacity: .55; margin-top: 6px; }

@media (max-width: 800px) {
  .modal { grid-template-columns: 1fr; }
  .modal-aside { min-height: 200px; padding: 24px; }
  .modal-body .opt-grid { grid-template-columns: 1fr 1fr; }
}

/* ---------- About / contact strip ---------- */
.banner {
  background: var(--sand); padding: clamp(56px, 8vw, 100px) var(--pad-x);
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center;
}
.banner h3 {
  font-family: var(--font-display); font-weight: 400; font-size: clamp(28px, 3vw, 44px);
  margin: 0; letter-spacing: -0.01em;
}
.banner h3 em { font-style: italic; color: var(--teal); }

.app-cta {
  display: flex; gap: 12px; align-items: center; flex-wrap: wrap;
}
.app-cta .store {
  background: var(--noir); color: var(--paper); padding: 10px 16px; border-radius: 10px;
  font-size: 12px; display: inline-flex; align-items: center; gap: 10px;
}

/* ---------- Page transition ---------- */
.view-enter { animation: viewIn .5s ease; }
@keyframes viewIn { from { opacity: 0; transform: translateY(8px) } to { opacity: 1; transform: none } }

/* RTL adjustments */
html[dir="rtl"] .hero-cat-link:hover { padding-inline-start: 0; padding-inline-end: 6px; }
html[dir="rtl"] .nav-logo .tag { border-inline-start: 0; border-inline-end: 1px solid var(--border); padding-inline-end: 14px; padding-inline-start: 0; }

/* utility */
.kbd {
  font-family: var(--font-mono); font-size: 10px;
  padding: 2px 6px; border-radius: 4px; background: color-mix(in oklab, currentColor 12%, transparent);
}
.dot-sep { display: inline-block; width: 4px; height: 4px; border-radius: 999px; background: currentColor; opacity: .35; margin: 0 8px; vertical-align: middle; }

/* honesty placeholder treatment */
.placeholder {
  background:
    repeating-linear-gradient(135deg, color-mix(in oklab, var(--ink) 4%, transparent) 0 2px, transparent 2px 18px),
    var(--sand);
  display: grid; place-items: center; text-align: center;
  font-family: var(--font-mono); font-size: 11px; color: var(--muted); padding: 24px;
}
