/* ---------- Design tokens ---------- */
:root {
  --brand: #f97316;
  --brand-dark: #ad4e0b;   /* 4.93:1 on --brand-light; #c2570d was 4.10 and failed AA */
  --brand-light: #fff2e6;
  --accent: #ea580c;
  --accent-dark: #a33d08;  /* 5.33:1 on --accent-light; #b8450a was 4.42 */
  --accent-light: #ffe4cc;
  --ink: #0f172a;
  --body: #475569;
  --muted: #64748b;        /* 4.76:1 on white; #94a3b8 was 2.56 and failed AA */
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-alt: #f8fafc;
  --wash: #eef2f8;
  --white: #ffffff;
  --surface: #ffffff;
  --overlay: rgba(15, 23, 42, .55);
  --radius: 16px;
  --radius-sm: 10px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, .06), 0 4px 12px rgba(15, 23, 42, .05);
  --shadow-md: 0 10px 30px rgba(15, 23, 42, .10);
  --shadow-lg: 0 24px 60px rgba(249, 115, 22, .22);
  --max: min(1320px, 92vw);
  --nav-h: 72px;
  --font-body: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-head: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color-scheme: light;
}

/* ---------- Dark theme ---------- */
[data-theme="dark"] {
  --brand: #fb923c;
  --brand-dark: #f97316;
  --brand-light: #3a2415;
  --accent: #fb923c;
  --accent-dark: #fdba74;
  --accent-light: #422a17;
  --ink: #f1f5f9;
  --body: #cbd5e1;
  --muted: #94a3b8;
  --line: #2b3648;
  --bg: #0f172a;
  --bg-alt: #16202f;
  --wash: #1d2a3d;
  --surface: #1a2434;
  --overlay: rgba(0, 0, 0, .65);
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, .3), 0 4px 12px rgba(0, 0, 0, .25);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, .4);
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, .5);
  color-scheme: dark;
}

/* Keep hero/section gradients theme-aware (they hardcode white as a start color) */
[data-theme="dark"] .hero,
[data-theme="dark"] .auth,
[data-theme="dark"] .page-hero {
  background:
    radial-gradient(1000px 500px at 85% -10%, var(--brand-light), transparent 60%),
    linear-gradient(180deg, var(--surface), var(--bg-alt));
}
/* Navbar & mobile menu surfaces */
[data-theme="dark"] .navbar { background: rgba(15, 23, 42, .85); }
[data-theme="dark"] .logo__text,
[data-theme="dark"] .logo { color: #fff; }
/* Logo tile icon badges keep their light backing so brand marks stay legible */
[data-theme="dark"] .logo-tile__icon { background: #fff !important; border-color: #33415580; }
/* Footer already dark — nudge its border for contrast */
[data-theme="dark"] .footer { background: #0b1220; }

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; }
/* Prevent any element from causing sideways scroll on phones */
html, body { overflow-x: hidden; width: 100%; }
/* On narrow phones, hide the wide header inquiry button so the logo + hamburger fit.
   Contact is still available via the menu and the floating WhatsApp button. */
@media (max-width: 480px) {
  .navbar__actions .btn--phone { display: none; }
}

body {
  font-family: var(--font-body);
  color: var(--body);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background-color .3s ease, color .3s ease;
}

/* height:auto is required now that every <img> carries width/height attributes:
   without it the height attribute is used as a presentational hint and wins over
   any CSS aspect-ratio, stretching the image. The attributes stay so the browser
   can reserve the right box before the file loads (CLS). */
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--ink); line-height: 1.15; letter-spacing: -0.02em; }
/* Display font also drives the big marketing titles, logo and eyebrows */
.hero__title, .section__title, .page-hero__title, .cta__title,
.showcase__title, .plan__price span, .logo__text { font-family: var(--font-head); }

.container {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: 20px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: .95rem;
  padding: 11px 20px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }

.btn--primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px rgba(249, 115, 22, .28); }
.btn--primary:hover { background: var(--brand-dark); box-shadow: 0 10px 26px rgba(249, 115, 22, .35); }

.btn--accent { background: var(--accent); color: var(--ink); box-shadow: 0 8px 20px rgba(234, 88, 12, .28); }
.btn--accent:hover { background: var(--brand); color: var(--ink); box-shadow: 0 10px 26px rgba(234, 88, 12, .35); }

.btn--ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--brand); color: var(--brand); }

.btn--light { background: #fff; color: var(--brand); }
.btn--light:hover { background: var(--brand-light); }

.btn--lg { padding: 14px 28px; font-size: 1rem; }
.btn--sm { padding: 8px 16px; font-size: .9rem; }
.btn--block { width: 100%; }

/* ---------- Shared bits ---------- */
.eyebrow {
  display: inline-block;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 10px;
}
.checklist { list-style: none; padding: 0; display: grid; gap: 10px; margin-top: 8px; }
.checklist li { position: relative; padding-left: 30px; font-size: .96rem; }
.checklist li::before {
  content: "✓";
  position: absolute; left: 0; top: 0;
  width: 20px; height: 20px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--accent-light);
  color: var(--accent-dark);
  font-size: .72rem; font-weight: 800;
}

/* ---------- Navbar ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, .85);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.navbar__inner {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo { display: inline-flex; align-items: center; gap: 10px; font-size: 1.25rem; color: var(--ink); }
/* One asset for the whole lockup — the mark and the wordmark can no longer drift
   apart between the header and the footer, and the caps come from the artwork. */
.logo__img { height: 30px; }
.footer .logo__img { height: 26px; }
/* The lockup's wordmark is near-black, so the header carries the reversed
   artwork as well and swaps on theme rather than filtering the orange mark. */
.logo__img--on-dark { display: none; }
[data-theme="dark"] .logo__img--on-light { display: none; }
[data-theme="dark"] .logo__img--on-dark { display: block; }
.logo__mark { color: var(--brand); font-size: 1.1rem; }
.logo__img {
  width: auto;
  object-fit: contain;
  transition: transform .25s ease;
}
.logo:hover .logo__img { transform: scale(1.06); }
.logo__text { font-weight: 600; letter-spacing: -0.02em; color: #000; }
.logo__text strong { color: inherit; font-weight: inherit; }
.logo--light, .logo--light .logo__text { color: #fff; }
.logo--light .logo__text strong { color: #fff; }
.logo--light .logo__mark { color: var(--accent); }

.nav { display: flex; align-items: center; gap: 8px; }

/* Standalone top-level nav links (match the dropdown triggers) */
.nav-link {
  display: inline-flex;
  align-items: center;
  font-weight: 600;
  font-size: .95rem;
  color: var(--body);
  padding: 8px 14px;
  border-radius: 10px;
  transition: color .15s ease, background .15s ease;
}
.nav-link:hover,
.nav-link[aria-current="page"] { color: var(--ink); background: var(--surface-muted); }

/* Dropdown groups */
.nav-group { position: relative; }
.nav-group__trigger {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: inherit;
  font-weight: 600;
  font-size: .95rem;
  color: var(--body);
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px 14px;
  border-radius: 10px;
  transition: color .15s ease, background .15s ease;
}
.nav-group__trigger svg { transition: transform .2s ease; }
.nav-group:hover .nav-group__trigger,
.nav-group__trigger[aria-expanded="true"] { color: var(--ink); background: var(--surface-muted); }
.nav-group:hover .nav-group__trigger svg,
.nav-group__trigger[aria-expanded="true"] svg { transform: rotate(180deg); }

.nav-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 210px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow-md);
  padding: 8px;
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
  z-index: 60;
}
/* Hover bridge so the menu doesn't close in the gap */
.nav-group::after {
  content: "";
  position: absolute;
  top: 100%; left: 0; right: 0;
  height: 10px;
}
.nav-group:hover .nav-menu,
.nav-group.is-open .nav-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-menu a {
  font-weight: 500;
  font-size: .92rem;
  color: var(--body);
  padding: 9px 12px;
  border-radius: 9px;
  transition: color .15s ease, background .15s ease;
}
.nav-menu a:hover { color: var(--brand); background: var(--surface-muted); }

.navbar__actions { display: flex; align-items: center; gap: 12px; }

/* Theme toggle */
.theme-toggle {
  display: inline-grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--bg-alt);
  color: var(--ink);
  cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
}
.theme-toggle:hover { color: var(--brand); border-color: var(--brand); transform: translateY(-1px); }
.theme-toggle svg { display: block; }
.theme-toggle .theme-toggle__moon { display: none; }
[data-theme="dark"] .theme-toggle .theme-toggle__sun { display: none; }
[data-theme="dark"] .theme-toggle .theme-toggle__moon { display: block; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .25s ease, opacity .25s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(1000px 500px at 85% -10%, var(--brand-light), transparent 60%),
    linear-gradient(180deg, #fff, var(--bg-alt));
  padding: 72px 0 84px;
}
.hero__inner {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 56px;
}
.badge {
  display: inline-block;
  background: var(--brand-light);
  color: var(--brand-dark);
  font-size: .8rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.hero__title { font-size: clamp(2.1rem, 5vw, 3.4rem); font-weight: 800; }
.hero__subtitle { font-size: 1.12rem; margin-top: 18px; max-width: 520px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

/* Hero feature points (checklist) */
.hero__points {
  list-style: none;
  padding: 0;
  margin-top: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px 24px;
}
.hero__points li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: .96rem;
  color: var(--ink);
}
.hero__points svg {
  flex: none;
  color: #fff;
  background: var(--accent);
  border-radius: 50%;
  padding: 3px;
  width: 22px; height: 22px;
}

@media (max-width: 520px) {
  .hero__points { grid-template-columns: 1fr; }}

/* Hero visual image */
.hero__visual { position: relative; display: flex; justify-content: center; }
/* Tablet bezel around the hero image */
.tablet {
  position: relative;
  width: 100%;
  max-width: 540px;
  background: #0f172a;             /* tablet body */
  border-radius: 26px;
  padding: 16px;
  box-shadow: var(--shadow-lg);
}
/* front camera dot at the top of the tablet */
.tablet::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 50%;
  transform: translateX(-50%);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #334155;
  z-index: 2;
}
.hero__img {
  display: block;
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

/* ---------- Trusted-by logos ---------- */
.logos {
  padding: 64px 0;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(700px 300px at 50% -40%, var(--brand-light), transparent 70%),
    var(--bg-alt);
}

@media (max-width: 620px) {
  .logos { padding: 48px 0; }}

/* ---------- Sections ---------- */
.section { padding: 80px 0; position: relative; }
/* (A) Alt sections get a soft, theme-aware NEUTRAL wash so orange stays an
   intentional accent rather than filling every surface. */
.section--alt {
  background:
    radial-gradient(820px 420px at 88% -8%, var(--wash), transparent 62%),
    radial-gradient(680px 360px at 0% 110%, var(--wash), transparent 60%),
    var(--bg-alt);
}
.section__head { text-align: center; max-width: 620px; margin: 0 auto 48px; }
.section__title { font-size: clamp(1.7rem, 3.5vw, 2.4rem); font-weight: 800; }
.section__subtitle { margin-top: 12px; font-size: 1.05rem; }
/* (C) A short brand rule under each section title adds craft */
.section__head .section__title { position: relative; padding-bottom: 18px; }
.section__head .section__title::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 0;
  transform: translateX(-50%);
  width: 54px; height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
}

/* (B) Bold warm-orange band — one strong contrast break mid-page */
.section--brand {
  background:
    radial-gradient(900px 500px at 85% -20%, rgba(255,255,255,.18), transparent 60%),
    linear-gradient(135deg, var(--brand), var(--accent-dark));
  color: #fff;
  position: relative;
  overflow: hidden;
}
/* Large centred LHDN watermark anchoring the e-Invoice band to the topic */
#einvoice::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 680px;
  height: 680px;
  background: url("images/lhdn.9bf6aa66.webp") no-repeat center / contain;
  opacity: .07;
  filter: grayscale(1) brightness(2.4);
  pointer-events: none;
  z-index: 0;
}
#einvoice .container { position: relative; z-index: 1; }
@media (max-width: 760px) {
  #einvoice::before { width: 440px; height: 440px; }}
/* Intro line above the two route cards on the e-Invoice page */
.einvoice__intro {
  max-width: 680px;
  margin: 0 auto 32px;
  text-align: center;
  font-size: 1.05rem;
  color: rgba(255,255,255,.92);
}
.section--brand .eyebrow { color: #ffe4cc; }
.section--brand .section__title,
.section--brand .section__subtitle,
.section--brand h2,
.section--brand h3,
.section--brand h4,
.section--brand strong { color: #fff; }
.section--brand .section__subtitle,
.section--brand p { color: rgba(255,255,255,.92); }
.section--brand .section__head .section__title::after { background: rgba(255,255,255,.85); }
/* Cards sitting inside a brand band become translucent glass panels */
.section--brand .einv-card,
.section--brand .integration,
.section--brand .eflow {
  background: rgba(255,255,255,.12);
  border-color: rgba(255,255,255,.28);
  color: #fff;
  backdrop-filter: blur(4px);
}
.section--brand .einvoice__note {
  background: rgba(255,255,255,.14);
  border-color: rgba(255,255,255,.3);
}
.section--brand .eco__subtitle { color: #fff; border-bottom-color: rgba(255,255,255,.4); }
.section--brand .eco__lead { color: rgba(255,255,255,.9); }
/* Step badge: solid white chip with orange number so it reads on the band */
.section--brand .eflow__num {
  background: #fff;
  color: var(--accent-dark);
}
/* Route tags become light chips */
.section--brand .einv-card__tag,
.section--brand .einv-card__tag--accent {
  background: rgba(255,255,255,.9);
  color: var(--accent-dark);
}
/* Checklist ticks on the band */
.section--brand .checklist li { color: #fff; }
.section--brand .checklist li::before { background: #fff; color: var(--accent-dark); }
.section--brand .einv-card:hover { border-color: rgba(255,255,255,.6); }
/* Reassurance banner reads as a brighter glass callout inside the band */
.section--brand .einvoice__note {
  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.34);
}
.section--brand .einvoice__note span { color: rgba(255,255,255,.92); }
/* Orange-on-orange button would vanish — make it a white button on the band */
.section--brand .btn--accent { background: #fff; color: var(--accent-dark); box-shadow: 0 8px 20px rgba(0,0,0,.18); }
.section--brand .btn--accent:hover { background: var(--brand-light); color: var(--accent-dark); }
/* Keep the LHDN logo legible on orange with a white backing chip */
.section--brand .einvoice__logo {
  background: #fff;
  padding: 8px 12px;
  border-radius: 12px;
  box-shadow: 0 6px 18px rgba(0,0,0,.15);
}

/* (D) Warm up plain white cards: a thin brand top-edge + warmer hover.
   Scoped to non-brand sections so the glass cards in the band stay clean. */
.section:not(.section--brand) .icard,
.section:not(.section--brand) .box-card,
.section:not(.section--brand) .einv-card,
.section:not(.section--brand) .quote {
  position: relative;
  overflow: hidden;
}
.section:not(.section--brand) .icard::before,
.section:not(.section--brand) .box-card::before,
.section:not(.section--brand) .einv-card::before,
.section:not(.section--brand) .quote::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}
.section:not(.section--brand) .icard:hover::before,
.section:not(.section--brand) .box-card:hover::before,
.section:not(.section--brand) .einv-card:hover::before,
.section:not(.section--brand) .quote:hover::before {
  transform: scaleX(1);
}

/* Dark navy band — a calm anchor that pairs with the orange brand.
   Fixed dark colours (not theme tokens) so it reads the same in light & dark. */
.section--dark {
  background:
    radial-gradient(900px 480px at 85% -20%, rgba(249,115,22,.16), transparent 60%),
    linear-gradient(160deg, #111c30, #0b1424);
  color: #e8eef7;
}
.section--dark .eyebrow { color: var(--brand); }
.section--dark .section__title,
.section--dark h2, .section--dark h3 { color: #fff; }
.section--dark .section__subtitle,
.section--dark p { color: #aebcd0; }
.section--dark .section__head .section__title::after {
  background: linear-gradient(90deg, var(--brand), var(--accent));
}
/* Comparison table on navy */
.section--dark .compare {
  background: rgba(255,255,255,.05);
  border-color: rgba(255,255,255,.14);
}
.section--dark .compare__table th,
.section--dark .compare__table td { border-bottom-color: rgba(255,255,255,.12); }
.section--dark .compare__table thead th { color: #93a2bb; }
.section--dark .compare__table tbody th { color: #fff; }
.section--dark .compare__col--brand { color: var(--brand); }
.section--dark .compare__no { color: #8595ad; }
.section--dark .compare__no span[aria-hidden] {
  background: rgba(255,255,255,.08);
  color: #8595ad;
}
/* "Included" column: a translucent orange highlight instead of pale cream */
.section--dark .compare__yes {
  color: #fff;
  background: rgba(249,115,22,.16);
}
.section--dark .compare__yes span[aria-hidden] {
  background: var(--brand);
  color: #fff;
}

/* ---------- Grids ---------- */
.grid { display: grid; gap: 24px; }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--centered { max-width: 820px; margin-left: auto; margin-right: auto; }

/* Industry cards with images */
.icard {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.icard:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.icard__media { position: relative; aspect-ratio: 16 / 11; overflow: hidden; }
.icard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.icard:hover .icard__media img { transform: scale(1.06); }
.icard__body { padding: 30px 22px 24px; }
.icard__title { font-size: 1.2rem; margin-bottom: 8px; }
.icard__text { font-size: .95rem; margin-bottom: 14px; }
.icard__list { list-style: none; padding: 0; display: grid; gap: 8px; }
.icard__list li { position: relative; padding-left: 20px; font-size: .88rem; color: var(--body); }
.icard__list li::before { content: "•"; position: absolute; left: 4px; color: var(--accent); font-weight: 800; }

/* Feature showcase rows with images */
.showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
  margin-top: 64px;
}
.showcase--reverse .showcase__media { order: 2; }
.showcase__media img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  object-fit: cover;
  aspect-ratio: 3 / 2;
}
.showcase__title { font-size: clamp(1.4rem, 2.6vw, 1.9rem); margin-bottom: 12px; }
.showcase__text { margin-bottom: 8px; }

/* Two screenshots side by side */
.shot-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 44px;
}
.shot--sm img { max-height: 320px; width: 100%; object-fit: contain; background: var(--bg-alt); }
.shot--sm figcaption { font-size: .86rem; }

/* What's in the box: feature cards */
.box-grid { margin-top: 44px; }
.box-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.box-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--accent); }
.box-card__tag {
  display: inline-block;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 10px;
}
.box-card__title { font-size: 1.12rem; margin-bottom: 8px; }
.box-card__text { font-size: .93rem; }
.box-card__logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}
.box-card__logos img {
  height: 26px;
  width: auto;
  object-fit: contain;
}
/* Give the delivery logos a clean white chip in dark mode so their
   built-in white edges don't look like a stray patch on the dark card */
[data-theme="dark"] .box-card__logos img {
  background: #fff;
  border-radius: 6px;
  padding: 4px 8px;
  box-sizing: content-box;
}
/* Larger payment logo strip */
.box-card__logos--lg img { height: 48px; }
@keyframes logo-marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); } /* exactly one full set, seamless loop */
}

/* Owner's view: 3 screenshots with sub-heading captions */
.owner-slider { align-items: start; }   /* keep all three columns top-aligned */
/* Owner app screenshots inside a dark phone bezel */
.shot--owner {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.shot--owner .phone {
  position: relative;
  width: 240px;
  max-width: 100%;
  background: #0f172a;              /* phone body */
  border-radius: 34px;
  padding: 12px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, .28);
}
/* notch at the top of the phone */
.shot--owner .phone::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 6px;
  background: #334155;
  border-radius: 999px;
  z-index: 2;
}
.shot--owner .phone img {
  display: block;
  width: 100%;
  height: 440px;
  object-fit: contain;
  background: #fff;
  border-radius: 24px;
}
.shot--owner figcaption {
  font-size: .92rem;
  margin-top: 18px;
  color: var(--body);
  line-height: 1.6;
  max-width: 260px;        /* match the phone width so captions align as a tidy column */
  text-align: center;
}
.shot--owner figcaption strong {
  display: block;
  color: var(--ink);
  font-size: 1.02rem;
  margin-bottom: 6px;
}

/* On phones, turn the 3 owner-app shots into a swipeable slider */
@media (max-width: 620px) {
  .owner-slider {
    display: flex;
    grid-template-columns: none;      /* override .grid--3 stacking */
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scroll-padding: 0 20px;
    /* let cards peek past the container edges */
    margin: 0 -20px;
    padding: 4px 20px 14px;
  }
  .owner-slider .shot--owner {
    flex: 0 0 80%;                     /* each slide ~80% wide, next one peeks more */
    scroll-snap-align: center;
  }
  /* tidy scrollbar on mobile browsers that show it */
  .owner-slider::-webkit-scrollbar { height: 0; }
}

/* Slider dots — hidden on desktop, visible on mobile */
.owner-dots { display: none; }
@media (max-width: 620px) {
  .owner-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 16px;
  }
  .owner-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--line);
    cursor: pointer;
    transition: background .2s ease, transform .2s ease;
  }
  .owner-dot.is-active {
    background: var(--accent);
    transform: scale(1.3);
  }}
@media (max-width: 680px) {
  .shot-pair { grid-template-columns: 1fr; gap: 20px; }}

/* Screenshot figure with caption (shows the whole image, uncropped) */
.shot { margin: 0; }
.shot img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--line);
  background: var(--surface);
}
.shot figcaption {
  margin-top: 14px;
  font-size: .9rem;
  color: var(--muted);
  line-height: 1.6;
}
/* Image wrapped in the tablet bezel (matches the hero frame) */
.shot--framed .tablet { max-width: none; }
.shot--framed .tablet img {
  display: block;
  width: 100%;
  height: auto;
  border: 0;
  box-shadow: none;
  background: transparent;
  border-radius: 12px;
  object-fit: contain;
  aspect-ratio: 16 / 9;
}
.stat strong { display: block; font-size: 2.2rem; font-weight: 800; color: #fff; line-height: 1.1; }
.stat span { font-size: .92rem; color: rgba(255,255,255,.8); }

/* Testimonials */
.quote {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.quote blockquote { margin: 0; font-size: 1rem; color: var(--ink); line-height: 1.6; }

/* Pricing */
.plan {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 26px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.plan--featured {
  border-color: var(--accent);
  box-shadow: 0 20px 44px rgba(234, 88, 12, .18);
  transform: translateY(-6px);
}
.plan__tag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--accent); color: var(--ink);   /* 5.02:1; white was 3.56 */
  font-size: .72rem; font-weight: 700; letter-spacing: .04em;
  padding: 5px 14px; border-radius: 999px;
  white-space: nowrap;
}
.plan__tag--muted,
.plan__tag--inline {
  position: static; transform: none;
  align-self: flex-start;
  margin-bottom: 4px;
}
.plan__tag--muted { background: var(--brand-light); color: var(--brand-dark); }
.plan__tag--inline { background: var(--accent); color: var(--ink); }
.plan__price { font-size: 1rem; color: var(--muted); }
.plan__price span { font-size: 2.4rem; font-weight: 800; color: var(--ink); }
.plan__price small { font-size: .9rem; font-weight: 600; color: var(--muted); }
.plan__note { font-size: .92rem; margin-bottom: 8px; }
.plan .checklist { margin-bottom: 20px; }
.plan .btn { margin-top: auto; }

/* Homepage pricing teaser */
/* Accent top-strip on the teaser cards (homepage #pricing only) */
#pricing .plan {
  overflow: hidden; /* clip the strip to the card's rounded corners */
}
#pricing .plan::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--accent);
}
#pricing .plan--featured::before {
  background: linear-gradient(90deg, var(--brand), var(--accent));
}

/* Pricing fine print */
.price-notes {
  list-style: none;
  padding: 0;
  margin: 32px auto 0;
  max-width: 820px;
  display: grid;
  gap: 12px;
}
.price-notes li {
  position: relative;
  padding-left: 28px;
  font-size: .92rem;
  color: var(--body);
}
.price-notes li::before {
  content: "i";
  position: absolute; left: 0; top: 1px;
  display: grid; place-items: center;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--brand-light);
  color: var(--brand-dark);
  font-size: .7rem; font-weight: 800; font-style: italic;
}
.price-notes strong { color: var(--ink); }

/* Feature columns */
.feature {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.feature__icon {
  width: 60px; height: 60px;
  border-radius: 16px;
  display: grid; place-items: center;
  margin: 0 auto 20px;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  box-shadow: 0 10px 22px rgba(249, 115, 22, .3);
}
.feature__title { font-size: 1.2rem; margin-bottom: 10px; }
.feature__text { font-size: .97rem; }

/* ---------- CTA ---------- */
.cta {
  background: linear-gradient(135deg, var(--brand-dark), var(--accent));
  color: #fff;
  padding: 72px 0;
}
.cta__inner { text-align: center; }
.cta__title { color: #fff; font-size: clamp(1.7rem, 3.5vw, 2.4rem); font-weight: 800; }
.cta__text { margin: 12px 0 28px; font-size: 1.1rem; color: rgba(255, 255, 255, .9); }
.cta__actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #cbd5e1; }
.footer__inner {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr 1.2fr;
  gap: 32px;
  padding: 56px 20px 40px;
  align-items: start;
}

/* Footer "Talk to us" contact column */
.footer__contact { display: flex; flex-direction: column; gap: 12px; }
.footer__contact a {
  color: #cbd5e1;
  font-size: .95rem;
  transition: color .15s ease;
}
.footer__contact a:hover { color: #fff; }
.footer__contact a span {
  display: block;
  color: var(--accent);
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.footer__tagline { margin-top: 14px; font-size: .95rem; color: #9aa7b8;  /* 7.31:1 on --ink */ max-width: 320px; margin-bottom: 20px; }
.footer__heading { color: #fff; font-size: .95rem; font-weight: 700; margin-bottom: 16px; }
.footer__links { display: flex; flex-direction: column; gap: 12px; }
.footer__links a { color: #cbd5e1; font-size: .95rem; transition: color .15s ease; }
.footer__links a:hover { color: #fff; }
.footer__social { display: flex; gap: 12px; }
.social {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .08);
  color: #cbd5e1;
  transition: background .15s ease, color .15s ease, transform .15s ease;
}
.social:hover { background: var(--brand); color: #fff; transform: translateY(-3px); }
.footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 20px 0;
  font-size: .88rem;
  color: #9aa7b8;        /* 7.31:1 on --ink; var(--muted) is tuned for white */
}
.footer__bottom p { text-align: center; }
.footer__bottom-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 24px;
}
.footer__bottom-inner p { text-align: left; margin: 0; }
.footer__trademarks { color: rgba(203, 213, 225, .65); }
@media (max-width: 640px) {
  .footer__bottom-inner { justify-content: center; }
  .footer__bottom-inner p { text-align: center; }}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero__visual { order: -1; }
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .showcase, .showcase--reverse { grid-template-columns: 1fr; gap: 28px; }
  .showcase--reverse .showcase__media { order: 0; }
  .stats-band__inner { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; }
  .plan--featured { transform: none; }
}

@media (max-width: 820px) {
  .nav {
    position: fixed;
    inset: var(--nav-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--surface);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    padding: 8px 20px 16px;
    max-height: calc(100vh - var(--nav-h));
    overflow-y: auto;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform .25s ease, opacity .25s ease;
  }
  .nav.is-open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-toggle { display: flex; }

  /* Standalone links sit full-width like the triggers */
  .nav-link {
    width: 100%;
    padding: 15px 4px;
    border-radius: 0;
    font-size: 1rem;
    border-bottom: 1px solid var(--line);
  }
  .nav-link:hover,
  .nav-link[aria-current="page"] { background: none; color: var(--brand); }

  /* Dropdown groups become tap-to-expand accordions */
  .nav-group { border-bottom: 1px solid var(--line); }
  .nav-group__trigger {
    width: 100%;
    justify-content: space-between;
    padding: 15px 4px;
    border-radius: 0;
    font-size: 1rem;
  }
  .nav-group:hover .nav-group__trigger { background: none; }
  .nav-group:hover .nav-group__trigger svg { transform: none; }
  .nav-group__trigger[aria-expanded="true"] { background: none; color: var(--brand); }
  .nav-group__trigger[aria-expanded="true"] svg { transform: rotate(180deg); }

  .nav-menu {
    position: static;
    min-width: 0;
    border: none;
    border-radius: 0;
    box-shadow: none;
    background: none;
    padding: 0 0 10px 12px;
    gap: 0;
    /* collapsed by default on mobile; only .is-open shows it */
    display: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  /* On mobile, hover must not open — only the .is-open class (set by JS) does */
  .nav-group:hover .nav-menu { display: none; }
  .nav-group.is-open .nav-menu { display: flex; opacity: 1; visibility: visible; }
  .nav-menu a { padding: 11px 8px; }}

@media (max-width: 620px) {
  .section { padding: 60px 0; }
  .grid--3 { grid-template-columns: 1fr; }
  .grid--4 { grid-template-columns: 1fr; }
  .grid--2 { grid-template-columns: 1fr; }
  .hero { padding: 48px 0 60px; }
  .footer__inner { grid-template-columns: 1fr; gap: 28px; }}

/* ---------- Accessibility ---------- */
:focus-visible { outline: 3px solid rgba(249, 115, 22, .5); outline-offset: 2px; border-radius: 6px; }
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }}

.auth-form { display: grid; gap: 18px; }
.field { display: grid; gap: 7px; }
.field label { font-size: .9rem; font-weight: 600; color: var(--ink); }

.field input[type="email"],
.field input[type="password"],
.field input[type="text"],
.field input[type="tel"] {
  width: 100%;
  padding: 12px 14px;
  font-size: .97rem;
  color: var(--ink);
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.field input::placeholder { color: var(--muted); }
.field input:focus {
  outline: none;
  background: var(--surface);
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-light);
}
@keyframes posPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.06); border-color: var(--accent); }
  100% { transform: scale(1); }
}

/* QR modal */
.pos-modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 20px; }
.pos-modal[hidden] { display: none; }
.pos-modal__backdrop { position: absolute; inset: 0; background: rgba(15, 23, 42, .55); backdrop-filter: blur(2px); }
.pos-modal__card {
  position: relative;
  width: 100%;
  max-width: 360px;
  background: var(--surface);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 30px 26px;
  text-align: center;
  animation: posModalIn .2s ease;
}
@keyframes posModalIn { from { opacity: 0; transform: translateY(12px) scale(.98); } to { opacity: 1; transform: none; } }
.pos-modal__title { font-size: 1.3rem; margin-bottom: 6px; }
.pos-modal__hint { color: var(--muted); font-size: .9rem; margin-bottom: 18px; }
.pos-modal__success { padding: 10px 0; }
.pos-check {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--accent-light);
  color: var(--accent-dark);
  font-size: 2rem; font-weight: 800;
  display: grid; place-items: center;
  margin: 0 auto 16px;
  animation: posPop .3s ease;
}
@keyframes posPop { 0% { transform: scale(0); } 70% { transform: scale(1.15); } 100% { transform: scale(1); } }

/* Responsive */
@media (max-width: 860px) {
  .pos { grid-template-columns: 1fr; }
  .pos__cart { position: static; }
  .pos__menu { grid-template-columns: repeat(3, 1fr); }
}

/* ---------- Talk to Sales modal ---------- */
.pos-modal__card--wide { max-width: 460px; text-align: left; }
.pos-modal__card--wide .pos-modal__title { text-align: left; }
.pos-modal__card--wide .pos-modal__hint { text-align: left; margin-bottom: 20px; }
.pos-modal__card--wide .pos-modal__success { text-align: center; }
.pos-modal__card--wide .pos-modal__success .pos-modal__title,
.pos-modal__card--wide .pos-modal__success .pos-modal__hint { text-align: center; }

.modal-close {
  position: absolute;
  top: 12px; right: 14px;
  width: 34px; height: 34px;
  border: none;
  background: var(--bg-alt);
  color: var(--body);
  border-radius: 50%;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  display: grid; place-items: center;
  transition: background .15s ease, color .15s ease;
}
.modal-close:hover { background: var(--brand-light); color: var(--brand); }

/* Textarea matches auth inputs */
.field textarea {
  width: 100%;
  padding: 12px 14px;
  font-size: .97rem;
  font-family: inherit;
  color: var(--ink);
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  resize: vertical;
  transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}
.field textarea::placeholder { color: var(--muted); }
.field textarea:focus {
  outline: none;
  background: var(--surface);
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-light);
}

/* ---------- Sub-pages (About, Careers, Legal, etc.) ---------- */
.page-hero {
  background:
    radial-gradient(900px 460px at 85% -10%, var(--brand-light), transparent 60%),
    linear-gradient(180deg, #fff, var(--bg-alt));
  padding: 56px 0 48px;
  border-bottom: 1px solid var(--line);
}
.page-hero__inner { max-width: 760px; }
.page-hero .crumbs { font-size: .85rem; color: var(--muted); margin-bottom: 14px; }
.page-hero .crumbs a { color: var(--accent-dark); font-weight: 600; }
.page-hero .crumbs a:hover { text-decoration: underline; }
.page-hero__title { font-size: clamp(1.9rem, 4vw, 2.8rem); font-weight: 800; }
.page-hero__subtitle { margin-top: 12px; font-size: 1.08rem; max-width: 620px; }

.page-body { padding: 56px 0 72px; }
.page-body .container { max-width: 820px; }
.prose h2 { font-size: 1.4rem; margin: 32px 0 12px; }
.prose h3 { font-size: 1.1rem; margin: 24px 0 8px; }
.prose p { margin-bottom: 14px; }
.prose ul { margin: 0 0 16px 22px; display: grid; gap: 8px; }
.prose li { padding-left: 4px; }
.prose a { color: var(--accent-dark); font-weight: 600; }
.prose a:hover { text-decoration: underline; }
.prose .muted { color: var(--muted); font-size: .9rem; }

/* Value/info cards used across sub-pages */
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 8px; }
.info-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px;
  box-shadow: var(--shadow-sm);
}
.info-card__icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  display: grid; place-items: center;
  margin-bottom: 14px;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--accent));
}
.info-card h3 { font-size: 1.05rem; margin-bottom: 6px; }
.info-card p { font-size: .93rem; }
.job {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px 22px;
  box-shadow: var(--shadow-sm);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.job:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--accent); }

/* Status page */
.status-banner {
  display: flex; align-items: center; gap: 12px;
  background: var(--accent-light);
  border: 1px solid var(--accent);
  color: var(--accent-dark);
  border-radius: var(--radius);
  padding: 18px 22px;
  font-weight: 600;
  margin-bottom: 24px;
}
.status-dot { width: 12px; height: 12px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 4px rgba(234,88,12,.2); }

/* FAQ (help center) */
.faq { display: grid; gap: 12px; margin-top: 8px; }
.faq details {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 4px 20px; box-shadow: var(--shadow-sm);
}
.faq summary {
  cursor: pointer; font-weight: 600; color: var(--ink);
  padding: 16px 0; list-style: none; display: flex; justify-content: space-between; align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--accent); font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq details p { padding-bottom: 16px; font-size: .95rem; margin: 0; line-height: 1.6; }
.faq details p + p { padding-top: 10px; }

@media (max-width: 720px) {
  .info-grid { grid-template-columns: 1fr; }
  .job { flex-direction: column; align-items: flex-start; }}

/* ---------- User-friendly enhancements ---------- */

/* CTA with background image */
.cta--image {
  position: relative;
  background:
    linear-gradient(135deg, rgba(194,87,13,.92), rgba(234,88,12,.88)),
    url("images/pic1.115f8080.webp") center/cover no-repeat;
}

/* Back-to-top floating button */
.to-top {
  position: fixed;
  right: 22px; bottom: 22px;
  z-index: 60;
  width: 46px; height: 46px;
  border: none;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  box-shadow: var(--shadow-md);
  cursor: pointer;
  display: grid; place-items: center;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .2s ease, transform .2s ease, background .15s ease;
}
.to-top.is-visible { opacity: 1; transform: translateY(0); }
.to-top:hover { background: var(--accent); }
.to-top[hidden] { display: none; }

/* Page-hero with image (sub-pages) */
.page-hero--media .page-hero__inner { max-width: var(--max); }
.page-hero__media { animation: fadeRiseIn .6s cubic-bezier(.22,.61,.36,1) .15s both; }
.page-hero:not(.page-hero--media) .page-hero__inner { animation: fadeRiseIn .6s cubic-bezier(.22,.61,.36,1) both; }
.page-hero__media img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  object-fit: cover;
  aspect-ratio: 4 / 3;
}
@media (max-width: 780px) {
  .page-hero__media { order: -1; }}

/* ---------- Scroll-reveal animations ---------- */
@keyframes fadeRiseIn {
  from { opacity: 0; transform: translateY(28px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
@keyframes scaleIn {
  from { opacity: 0; transform: scale(.94); }
  to { opacity: 1; transform: scale(1); }
}
@keyframes slideInLeft {
  from { opacity: 0; transform: translateX(-32px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes slideInRight {
  from { opacity: 0; transform: translateX(32px); }
  to { opacity: 1; transform: translateX(0); }
}
@keyframes floatY {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes heroFadeDown {
  from { opacity: 0; transform: translateY(-14px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Base state: hidden until revealed (progressive enhancement — JS adds .reveal, .is-visible) */
.reveal { opacity: 0; }
.reveal.reveal--up { transform: translateY(28px); }
.reveal.reveal--left { transform: translateX(-32px); }
.reveal.reveal--right { transform: translateX(32px); }
.reveal.reveal--scale { transform: scale(.94); }

.reveal {
  transition-delay: calc(var(--stagger, 0) * 70ms);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
  transition: opacity .6s cubic-bezier(.22,.61,.36,1), transform .6s cubic-bezier(.22,.61,.36,1);
  transition-delay: calc(var(--stagger, 0) * 70ms);
}
/* Cards with a permanent resting offset (e.g. featured pricing plan) keep it once revealed */
.reveal.is-visible.plan--featured { transform: translateY(-6px); }
@media (max-width: 960px) {
  .reveal.is-visible.plan--featured { transform: none; }}


/* Gentle continuous float for hero visuals/badges */
.float-anim { animation: floatY 5s ease-in-out infinite; }

/* Hero entrance (always plays on load, not scroll-triggered) */
.hero-anim-in { animation: fadeRiseIn .7s cubic-bezier(.22,.61,.36,1) both; }
.hero-anim-in--delay { animation-delay: .15s; }

/* Navbar entrance */
.navbar { animation: heroFadeDown .5s ease both; }

/* Button micro-interactions */
.btn { transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }

/* Logo mark subtle pulse on hover */
.logo__mark { display: inline-block; transition: transform .25s ease; }
.logo:hover .logo__mark { transform: rotate(15deg) scale(1.15); }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal.is-visible { opacity: 1 !important; transform: none !important; }
  .float-anim { animation: none !important; }}

/* ---------- Comparison table (Why switch) ---------- */
.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;
}

.compare {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  overflow-x: auto;
}
.compare__table {
  width: 100%;
  border-collapse: collapse;
  min-width: 560px;
  font-size: .95rem;
}
.compare__table th, .compare__table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.compare__table thead th {
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--muted);
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line);
}
.compare__table tbody th {
  font-weight: 600;
  color: var(--ink);
  width: 40%;
}
.compare__table tbody tr:last-child th,
.compare__table tbody tr:last-child td { border-bottom: none; }

.compare__col--brand { color: var(--brand); }
.compare__row-label { width: 40%; }

.compare__no {
  color: var(--muted);
  font-size: .92rem;
}
.compare__no span[aria-hidden] {
  display: inline-grid;
  place-items: center;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--bg-alt);
  color: var(--muted);
  font-size: .78rem;
  font-weight: 700;
}
.compare__yes {
  color: var(--ink);
  font-weight: 600;
  background: var(--brand-light);
}
.compare__yes span[aria-hidden] {
  display: inline-grid;
  place-items: center;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--brand);
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
  margin-right: 6px;
}

@media (max-width: 620px) {
  .compare__table { font-size: .88rem; }
  .compare__table th, .compare__table td { padding: 12px 14px; }}

/* ---------- Image fallback placeholder ---------- */
.img-fallback {
  display: grid;
  place-items: center;
  background:
    repeating-linear-gradient(45deg, var(--brand-light), var(--brand-light) 14px, #fff5ec 14px, #fff5ec 28px);
  color: var(--accent-dark);
  min-height: 120px;
}
.img-fallback__label {
  font-size: .82rem;
  font-weight: 600;
  padding: 8px 14px;
  background: rgba(255, 255, 255, .82);
  border-radius: 999px;
  text-align: center;
  max-width: 85%;
}

/* ---------- Scroll progress bar ---------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0;
  z-index: 70;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  transition: width .1s linear;
}

/* ---------- Active nav link ---------- */
.nav a.is-active { color: var(--ink); }
.nav a.is-active::after { width: 100%; }

@media (prefers-reduced-motion: reduce) {
  .scroll-progress { transition: none; }}

/* ---------- Hardware & Ecosystem Integration ---------- */
.eco__subtitle {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  margin: 32px 0 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--brand-light);
}
.eco__subtitle:first-of-type { margin-top: 8px; }
.eco__lead { font-size: .98rem; color: var(--muted); max-width: 640px; margin: -4px 0 16px; }

/* Terminal showcase cards (F&B / Retail) */
.hw-feature {
  background: transparent;
  border: none;
  box-shadow: none;
}
/* Only the image sits in a rounded card; the text lives below it on the page */
.hw-feature__media {
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: #fdf6ee;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  display: grid;
  place-items: center;
  padding: 0;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.hw-feature:hover .hw-feature__media {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--accent);
}
.hw-feature__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform .4s ease;
}
.hw-feature:hover .hw-feature__media img { transform: scale(1.04); }
.hw-feature__body {
  padding: 18px 4px 0;
  background: transparent;
}
.hw-feature__tag {
  display: inline-block;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--brand-dark);
  background: var(--brand-light);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.hw-feature__tag--accent { color: var(--accent-dark); background: var(--accent-light); }
.hw-feature__text { font-size: .95rem; }

/* Accessories grid */
.hw-accessories {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 16px;
}
.hw-acc {
  display: flex;
  flex-direction: row;
  align-items: center;
  text-align: left;
  gap: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 16px;
  box-shadow: var(--shadow-sm);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.hw-acc:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--accent); }
.hw-acc__img {
  width: 72px; height: 72px;
  flex: 0 0 auto;
  border-radius: 18px;
  object-fit: contain;
  padding: 10px;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: 0 4px 10px rgba(15, 23, 42, .12);
}
[data-theme="dark"] .hw-acc__img { background: #fff; border-color: #33415580; }
.hw-acc__body { min-width: 0; }
.hw-acc__title { font-size: .98rem; margin-bottom: 2px; }
.hw-acc__text { font-size: .85rem; color: var(--muted); }

@media (max-width: 860px) {
  .hw-accessories { grid-template-columns: repeat(2, 1fr); }}
@media (max-width: 560px) {
  .hw-accessories { grid-template-columns: 1fr; }}

/* Logo tiles (payment & software brand logos) */
.logo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.logo-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 18px 12px 14px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.logo-tile:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--accent); }
.logo-tile__icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  border: 1px solid var(--line);
  overflow: hidden;
}
/* Real brand logos sit on a white backing so full-colour marks stay crisp */
.logo-tile__icon--img {
  width: 64px;
  height: 64px;
  background: #fff;
  padding: 8px;
}
.logo-tile__icon--img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.logo-tile__name {
  font-size: .82rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
}

@media (max-width: 760px) {
  .logo-grid { grid-template-columns: repeat(3, 1fr); }}
@media (max-width: 480px) {
  .logo-grid, .logo-grid--tight { grid-template-columns: repeat(2, 1fr); }}

/* Software integration blocks */
.integration {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: var(--shadow-sm);
}
.integration__title { font-size: 1.15rem; margin-bottom: 6px; }

.career-wrap { max-width: 1000px; }
.career-gap { margin-top: 72px; }
.benefits-grid { margin-top: 0; }

/* Filters */
.job-filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 22px; }
.job-filter {
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--body);
  padding: 8px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .9rem;
  cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.job-filter:hover { border-color: var(--brand); color: var(--brand); }
.job-filter.is-active { background: var(--brand); border-color: var(--brand); color: var(--ink); }  /* 6.37:1; white was 2.80 */

/* Expandable job cards */
.job-list { display: grid; gap: 14px; }
.job-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: box-shadow .15s ease, border-color .15s ease;
}
.job-card:hover, .job-card[open] { border-color: var(--accent); box-shadow: var(--shadow-md); }
.job-card[hidden] { display: none; }
.job-card__summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 22px;
}
.job-card__summary::-webkit-details-marker { display: none; }
.job-card__info h3 { font-size: 1.1rem; margin-bottom: 8px; }
.job-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.job-tag {
  font-size: .78rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--bg-alt);
  color: var(--body);
  border: 1px solid var(--line);
}
.job-tag--pay { background: var(--brand-light); color: var(--brand-dark); border-color: transparent; }
.job-card__chev {
  flex: none;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--bg-alt);
  position: relative;
  transition: transform .2s ease, background .2s ease;
}
.job-card__chev::before {
  content: "";
  position: absolute;
  left: 50%; top: 45%;
  width: 8px; height: 8px;
  border-right: 2px solid var(--ink);
  border-bottom: 2px solid var(--ink);
  transform: translate(-50%, -50%) rotate(45deg);
}
.job-card[open] .job-card__chev { transform: rotate(180deg); background: var(--brand-light); }
.job-card__body { padding: 0 22px 22px; border-top: 1px solid var(--line); padding-top: 18px; }
.job-card__body > p { margin-bottom: 16px; }
.job-card__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-bottom: 20px; }
.job-card__cols h4 { font-size: .95rem; color: var(--ink); margin-bottom: 8px; }
.job-card__cols ul { margin: 0 0 0 18px; display: grid; gap: 6px; font-size: .93rem; }
.job-empty { text-align: center; color: var(--muted); padding: 20px; }

/* Hiring steps */
.hire-steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: none; }
.hire-step {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 20px;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.hire-step__num {
  display: inline-grid; place-items: center;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  color: #fff;
  font-weight: 800;
  margin-bottom: 12px;
}
.hire-step h3 { font-size: 1.05rem; margin-bottom: 6px; }
.hire-step p { font-size: .9rem; }

/* Gallery */
.life-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.life-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

/* Apply box */
.apply-box {
  margin-top: 72px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 36px 34px;
  scroll-margin-top: calc(var(--nav-h) + 20px);
}
.apply-box__intro { margin-bottom: 22px; }
.apply-box__intro h2 { font-size: 1.6rem; margin-bottom: 6px; }
.apply-form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field select,
.field input[type="url"],
.field input[type="file"] {
  width: 100%;
  padding: 12px 14px;
  font-size: .97rem;
  font-family: inherit;
  color: var(--ink);
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}
.field select:focus,
.field input[type="url"]:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-light);
}

@media (max-width: 860px) {
  .hire-steps { grid-template-columns: repeat(2, 1fr); }}
@media (max-width: 620px) {
  .job-card__cols, .apply-form__row, .life-gallery, .hire-steps { grid-template-columns: 1fr; }
  .apply-box { padding: 26px 20px; }}

/* ---------- LHDN e-Invoice section ---------- */
.einvoice__heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.einvoice__heading .section__title { margin: 0; }
.einvoice__logo {
  height: 80px;
  width: auto;
  object-fit: contain;
  flex: none;
}
@media (max-width: 560px) {
  .einvoice__logo { height: 60px; }}

.einvoice { display: grid; gap: 28px; }

/* Two routes */
.einv-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 28px;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.einv-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--accent); }
.einv-card__tag {
  display: inline-block;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 999px;
  background: var(--brand-light);
  color: var(--brand-dark);
  margin-bottom: 14px;
}
.einv-card__tag--accent { background: var(--accent-light); color: var(--accent-dark); }
.einv-card__title { font-size: 1.3rem; margin-bottom: 10px; }
.einv-card__text { font-size: .96rem; margin-bottom: 14px; }
.einvoice__note .btn { flex: none; }

/* ---------- Ordering & kitchen section ---------- */
.order-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.order-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--accent); }
.order-card__num {
  position: absolute;
  top: 12px; right: 18px;
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1;
  color: var(--accent);   /* 3.56:1 on white at this size; the old peach was 1.37 */
}
.order-card__icon {
  width: 54px; height: 54px;
  border-radius: 14px;
  display: grid; place-items: center;
  margin-bottom: 16px;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  box-shadow: 0 10px 22px rgba(249, 115, 22, .3);
}
.order-card__title { font-size: 1.12rem; margin-bottom: 8px; }
.order-card__text { font-size: .93rem; }

/* About page: company stats band */
.about-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin: 10px 0 40px;
}
.about-stat {
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 16px;
  box-shadow: var(--shadow-sm);
}
.about-stat strong {
  display: block;
  font-size: 2.1rem;
  font-weight: 800;
  line-height: 1.1;
  background: linear-gradient(110deg, var(--brand), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.about-stat span { display: block; margin-top: 6px; font-size: .9rem; color: var(--muted); }

/* About page: "why work with us" uses a 2-up grid */
.info-grid--2 { grid-template-columns: repeat(2, 1fr); }

@media (max-width: 720px) {
  .about-stats { grid-template-columns: repeat(2, 1fr); }
  .info-grid--2 { grid-template-columns: 1fr; }}

/* Floating WhatsApp button (all pages) */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 80px; /* sits above the back-to-top button */
  z-index: 60;
  display: inline-flex;
  align-items: center;
  gap: 0;
  height: 52px;
  padding: 0;
  width: 52px;
  overflow: hidden;
  border-radius: 999px;
  background: #0e6f64;
  color: #fff;
  box-shadow: 0 8px 24px rgba(18, 140, 126, .4);
  transition: width .25s ease, padding .25s ease, transform .15s ease;
}
.wa-float svg { flex: none; margin: 0 15px; }
.wa-float__label {
  white-space: nowrap;
  font-weight: 700;
  font-size: .92rem;
  opacity: 0;
  transition: opacity .2s ease;
}
.wa-float:hover {
  width: 190px;
  transform: translateY(-2px);
}
.wa-float:hover .wa-float__label { opacity: 1; }

@media (max-width: 620px) {
  /* On small screens keep it compact (icon only) to avoid overlap */
  .wa-float, .wa-float:hover { width: 52px; }
  .wa-float:hover .wa-float__label { opacity: 0; }
  .wa-float__label { display: none; }}

/* About page: life-at gallery */
.about-gallery {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 8px;
}
.about-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--line);
}
@media (max-width: 680px) {
  .about-gallery { grid-template-columns: 1fr; }}

/* About page: leadership team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 8px;
}
.team-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.team-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--accent); }

/* Full portrait photo — whole image shown, nothing cropped */
.team-card__photo {
  display: block;
  width: 100%;
  height: auto;
  background: var(--surface-muted);
}
/* Text sits in its own padded block below the photo */
.team-card > :not(.team-card__photo):not(.team-card__avatar) {
  padding-inline: 26px;
}
.team-card__name { font-size: 1.25rem; margin: 20px 0 2px; }
.team-card__role {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--accent-dark);
  margin-bottom: 12px;
}
.team-card__tagline { font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.team-card__bio { font-size: .93rem; padding-bottom: 28px; }

@media (max-width: 860px) {
  .team-grid { grid-template-columns: 1fr; max-width: 440px; margin-inline: auto; }}

/* ---------- Contact page: named contacts & offices ---------- */
/* Keep WhatsApp buttons white even inside .prose (which colours links orange) */
.btn--whatsapp,
.prose a.btn--whatsapp { background: #0e6f64; color: #fff; }   /* 6.04:1; #25d366 was 1.98 */
.btn--whatsapp:hover,
.prose a.btn--whatsapp:hover { background: #1ebe5a; color: #fff; text-decoration: none; }

.contact-person {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.contact-person:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #25d366; }
.contact-person__role {
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--accent-dark);
}
.contact-person__name { font-size: 1.5rem; margin: 6px 0 10px; }
.contact-person__text { font-size: .95rem; margin-bottom: 20px; }
.contact-person .btn { margin-top: auto; }

.office-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  box-shadow: var(--shadow-sm);
}
.office-card__tag {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--brand-dark);
  background: var(--brand-light);
  padding: 5px 12px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.office-card__name { font-size: 1.2rem; margin-bottom: 10px; }
.office-card__addr { font-style: normal; font-size: .95rem; line-height: 1.7; color: var(--body); }
.authorised-chips { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; }
.authorised-chip {
  display: grid;
  place-items: center;
  /* White brand logos sit on a dark tile so they read in both light and dark mode */
  background: var(--ink-900, #161b28);
  background: #161b28;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 14px 22px;
  min-height: 56px;
  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}
.authorised-chip:hover { transform: translateY(-3px); border-color: var(--brand); box-shadow: var(--shadow-md); }
.authorised-chip img {
  height: 26px;
  width: auto;
  max-width: 130px;
  object-fit: contain;
}
.authorised-group__note { font-size: .93rem; color: var(--muted); }
/* __SHOT7_START__ */
.reveal,.reveal--up,.reveal--left,.reveal--right,.reveal--scale,.reveal-group>*,.hero-anim-in{opacity:1!important;transform:none!important;}
/* __SHOT7_END__ */

/* ===== Hero fullscreen background slideshow ===== */
.hero--wallpaper {
  position: relative;
  min-height: 100vh;   /* fallback for older browsers */
  min-height: 100svh;  /* modern browsers: avoids address-bar jump on mobile */
  display: flex;
  align-items: center;
  overflow: hidden;
  /* override the light gradient background from the base .hero rule */
  background: #0b1220;
  padding: 96px 0;
}

/* Slides sit behind everything and are blurred */
.hero--wallpaper .wallpaper__slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero--wallpaper .wallpaper__slide {
  position: absolute;
  inset: -40px; /* bleed outward so blur has no soft edges */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.4s ease-in-out;
  filter: blur(3px) brightness(0.9);
  transform: scale(1.05); /* hide blur edges */
}

.hero--wallpaper .wallpaper__slide.is-active {
  opacity: 1;
}

/* Dark overlay to guarantee text contrast on top of any image */
.hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(10, 16, 30, 0.38), rgba(10, 16, 30, 0.52));
}

/* Content above the wallpaper */
.hero--wallpaper .hero__inner {
  position: relative;
  z-index: 2;
}

/* Make hero text readable on the dark wallpaper */
.hero--wallpaper .hero__title,
.hero--wallpaper .hero__subtitle,
.hero--wallpaper .hero__points li {
  color: #fff;
}
.hero--wallpaper .hero__subtitle { max-width: 640px; opacity: 0.92; }
.hero--wallpaper .hero__points svg { background: var(--accent); color: #fff; }

/* Ghost button ("See what's inside") stays white & readable over the wallpaper */
.hero--wallpaper .btn--ghost {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.7);
}
.hero--wallpaper .btn--ghost:hover {
  color: #fff;
  border-color: #fff;
  background: rgba(255, 255, 255, 0.14);
}

@media (prefers-reduced-motion: reduce) {
  .hero--wallpaper .wallpaper__slide { transition: none; }}

/* Header phone / inquiries button — WhatsApp green */
.btn--phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #0e6f64;  /* 6.04:1 with white; WhatsApp's own #128C7E is 4.14 */
  color: #fff;
}
.btn--phone:hover { background: #0b6058; color: #fff; }
.btn--phone svg { flex: none; }

/* ===== Pricing page-hero with blurred wallpaper ===== */
.page-hero--wallpaper {
  position: relative;
  overflow: hidden;
  background: #0b1220;
  border-bottom: none;
}
.page-hero__bg {
  position: absolute;
  inset: -40px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  filter: blur(3px) brightness(0.9);
  transform: scale(1.05);
  z-index: 0;
}
.page-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(10, 16, 30, 0.42), rgba(10, 16, 30, 0.58));
}
.page-hero--wallpaper .page-hero__inner {
  position: relative;
  z-index: 2;
}
.page-hero--wallpaper .page-hero__title,
.page-hero--wallpaper .page-hero__subtitle {
  color: #fff;
}
.page-hero--wallpaper .page-hero__subtitle { opacity: 0.92; }
.page-hero--wallpaper .crumbs { color: rgba(255, 255, 255, 0.8); }
.page-hero--wallpaper .crumbs a { color: #fff; }

/* Split hero: text + a visible image beside it, over the wallpaper */
.page-hero__inner--split {
  max-width: var(--max);
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: 48px;
}
.page-hero__inner--split .page-hero__media img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  object-fit: cover;
  aspect-ratio: 4 / 3;
}
@media (max-width: 860px) {
  .page-hero__inner--split { grid-template-columns: 1fr; gap: 28px; }}

/* ===== Footer offices ===== */
.footer__offices {
  /* The block had 108px of air above it and none below, so the map links sat
     flush against the copyright rule. Even it out. */
  margin-top: 24px;
  padding-top: 32px;
  padding-bottom: 44px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}
.footer__offices-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px 48px;
  max-width: 820px;
}
.footer__office {
  font-style: normal;
  color: #cbd5e1;
  font-size: .95rem;
  line-height: 1.7;
}
.footer__office-tag {
  display: inline-block;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 8px;
}
.footer__office strong {
  display: block;
  color: #fff;
  font-size: 1rem;
  margin-bottom: 6px;
}
.footer__office-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer__office-card .footer__office {
  flex: 1; /* address grows to fill space, pushing maps to the same bottom line */
  margin-bottom: 4px;
}
.footer__office-map {
  width: 100%;
  height: 200px;
  border: 0;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  filter: grayscale(0.1);
}
@media (max-width: 620px) {
  .footer__offices-grid { grid-template-columns: 1fr; }
  .footer__office-map { height: 180px; }}

/* Every page but /contact carries a link instead of a live Google Maps embed:
   an embed on all ten pages disclosed each visitor's IP to Google ten times
   over and cost ~200 KB a page for a map almost nobody opens. */
.footer__office-maplink {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  padding: 10px 16px;
  border: 1px solid rgba(203, 213, 225, .28);
  border-radius: 999px;
  color: #e2e8f0;
  font-size: .9rem;
  font-weight: 600;
  transition: background-color .15s ease, border-color .15s ease, color .15s ease;
}
.footer__office-maplink:hover,
.footer__office-maplink:focus-visible {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(203, 213, 225, .55);
  color: #fff;
}
.footer__office-maplink svg { flex: none; color: var(--brand); }


/* ===== CTA person cards ===== */
.cta__people {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 36px;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}
.cta__person {
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-md);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
/* Cards are always white, so text stays dark in both light and dark mode */
.cta__person-tag {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: #b8450a;
}
.cta__person-name {
  font-size: 1.4rem;
  font-weight: 800;
  color: #0f172a;
  margin: 0;
}
.cta__person-desc {
  font-size: .92rem;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 8px;
}
.cta__person .btn { margin-top: auto; }
/* Buttons inside the white cards: WhatsApp green */
.cta__person .btn--light {
  background: #0e6f64;
  color: #fff;
}
.cta__person .btn--light:hover { background: #0b6058; color: #fff; }
@media (max-width: 620px) {
  .cta__people { grid-template-columns: 1fr; }}

/* WhatsApp-themed button */
.btn--whatsapp {
  background: #0e6f64;
  color: #fff;
  border: none;
}
.btn--whatsapp:hover { background: #0b6058; color: #fff; }