/* ==========================================================================
   DaNang Bike Rental — base stylesheet
   Structure only. All colour lives in theme.css, which carries both themes:
   the light one on :root and the dark one on :root[data-theme="dark"].
   Fonts: Oswald + Inter — both cover Latin, Latin-ext (Vietnamese) and Cyrillic.
   ========================================================================== */

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  color-scheme: var(--color-scheme, light);
}
/* kills the 300ms double-tap zoom delay on every tap target */
a, button, summary, label, [data-toggle] { touch-action: manipulation; }
a, button, summary { -webkit-tap-highlight-color: rgba(0,0,0,.08); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; scroll-behavior: auto !important;
  }
}
img, picture, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* ---------- tokens that never change between themes ---------- */
:root {
  --font-head: 'Oswald', 'Arial Narrow', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --step--1: clamp(.82rem, .80rem + .10vw, .88rem);
  --step-0:  clamp(1rem, .97rem + .15vw, 1.08rem);
  --step-1:  clamp(1.2rem, 1.12rem + .4vw, 1.45rem);
  --step-2:  clamp(1.45rem, 1.3rem + .75vw, 1.95rem);
  --step-3:  clamp(1.8rem, 1.5rem + 1.5vw, 2.8rem);
  --step-4:  clamp(2.3rem, 1.7rem + 2.9vw, 4.2rem);

  --sp-1: .25rem; --sp-2: .5rem;  --sp-3: .75rem; --sp-4: 1rem;
  --sp-5: 1.5rem; --sp-6: 2rem;   --sp-7: 3rem;   --sp-8: 4rem;  --sp-9: 6rem;

  --radius: 14px;
  --radius-sm: 9px;
  --radius-pill: 999px;

  --wrap: 1180px;
  --gutter: 20px;

  --t-fast: 150ms cubic-bezier(.4,0,.2,1);
  --t-base: 240ms cubic-bezier(.4,0,.2,1);

  --z-header: 50;
  --z-callbar: 60;
  --z-drawer: 70;
  --z-modal: 80;

  --callbar-h: 64px;
}

/* ---------- base ---------- */
body {
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.65;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
@media (max-width: 1079px) {
  body { padding-bottom: calc(var(--callbar-h) + env(safe-area-inset-bottom)); }
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 600;
  /* 1.12, not 1.05: Vietnamese stacks two diacritics on one glyph (Ẵ, Ế, Ộ)
     and a tighter leading clips them at large display sizes. */
  line-height: 1.12;
  letter-spacing: .005em;
  text-wrap: balance;
  color: var(--head);
}
h1 { font-size: var(--step-4); text-transform: uppercase; }
h2 { font-size: var(--step-3); text-transform: uppercase; }
h3 { font-size: var(--step-1); }
p  { text-wrap: pretty; max-width: 68ch; }

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

.wrap {
  width: 100%; max-width: var(--wrap); margin-inline: auto;
  padding-inline: max(var(--gutter), env(safe-area-inset-left), env(safe-area-inset-right));
}
/* sticky header is 68px — keep in-page anchors clear of it */
.section, h1, h2, h3, [id] { scroll-margin-top: 84px; }
.section { padding-block: clamp(3rem, 7vw, 5.5rem); }
.section--tight { padding-block: clamp(2rem, 4vw, 3rem); }
.section--alt { background: var(--surface); }
.section--ink { background: var(--ink); color: var(--ink-text); }
.section--ink h2, .section--ink h3 { color: var(--ink-head); }
.stack > * + * { margin-top: var(--sp-4); }
.center { text-align: center; }
.center p { margin-inline: auto; }

.skip-link {
  position: absolute; left: var(--sp-4); top: -100px;
  background: var(--cta); color: var(--cta-text);
  padding: var(--sp-3) var(--sp-5); border-radius: var(--radius-sm);
  font-weight: 700; z-index: 100; transition: top var(--t-fast);
}
.skip-link:focus { top: var(--sp-4); }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* ---------- eyebrow / section heads ---------- */
.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-size: var(--step--1);
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent-ink);
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  padding: .3rem .85rem;
  border-radius: var(--radius-pill);
  margin-bottom: var(--sp-3);
}
.section-head { margin-bottom: var(--sp-6); }
.section-head p { color: var(--muted); font-size: var(--step-1); font-weight: 400; margin-top: var(--sp-3); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 52px; padding: .85rem 1.6rem;
  font-family: var(--font-head); font-size: 1.05rem; font-weight: 600;
  letter-spacing: .05em; text-transform: uppercase;
  border: 2px solid transparent; border-radius: var(--radius-sm);
  cursor: pointer; text-align: center;
  transition: background-color var(--t-fast), color var(--t-fast), border-color var(--t-fast), box-shadow var(--t-fast);
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--cta { background: var(--cta); color: var(--cta-text); box-shadow: 0 6px 20px var(--cta-glow); }
.btn--cta:hover { background: var(--cta-hover); }
.btn--wa { background: var(--wa); color: var(--wa-text); }
.btn--wa:hover { background: var(--wa-hover); }
.btn--ghost { background: transparent; color: var(--head); border-color: var(--line-strong); }
.btn--ghost:hover { background: var(--surface-2); border-color: var(--head); }
.btn--on-ink { background: transparent; color: var(--ink-text); border-color: var(--ink-line); }
.btn--on-ink:hover { background: var(--ink-hover); }
.btn--block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--sp-3); }

/* ---------- header ---------- */
.header {
  position: sticky; top: 0; z-index: var(--z-header);
  background: var(--header-bg);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.header__inner {
  display: flex; align-items: center; gap: var(--sp-4);
  min-height: 68px; justify-content: space-between;
}
/* "Vĩnh Phát Motorbikes" + the keyword line is a wide lockup; without
   min-width:0 and truncation it pushes the burger off a 360px screen.
   flex: 0 1 auto so that when the row is tight it is the brand that gives way
   (it truncates with an ellipsis) and never the nav, which would break its
   labels across two lines. */
.brand { display: flex; align-items: center; gap: .6rem; flex: 0 1 auto; min-width: 0; }
.brand > span { min-width: 0; }
.brand__name, .brand__sub { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand__logo {
  height: clamp(34px, 9vw, 46px); width: auto; flex: none;
  /* artwork is pure black; the dark theme flips it to white with one token */
  filter: var(--logo-filter, none);
}
/* The emblem's own lettering is illegible under ~120px wide, so it never
   stands alone: the wordmark stays beside it at every width. Only the keyword
   sub-line drops on narrow screens, which is what buys back the room. */
.brand__text { display: block; min-width: 0; }
.brand__name {
  font-family: var(--font-head); font-size: clamp(.92rem, 3.4vw, 1.22rem); font-weight: 600;
  text-transform: uppercase; letter-spacing: .03em; line-height: 1.05; color: var(--head);
}
.brand__sub { display: none; }
@media (min-width: 560px) {
  .brand__sub {
    display: block; font-family: var(--font-body);
    font-size: clamp(.52rem, 1.9vw, .62rem); font-weight: 600;
    letter-spacing: .15em; text-transform: uppercase;
    color: var(--accent-ink); margin-top: 3px;
  }
}
.nav { display: none; }
@media (min-width: 1080px) {
  .nav { display: flex; align-items: center; gap: .15rem; flex: 0 0 auto; }
  .nav a {
    display: flex; align-items: center; min-height: 44px; padding: 0 .65rem;
    font-weight: 600; font-size: .95rem; border-radius: 8px;
    /* Vietnamese labels ("Hướng dẫn thuê") are long enough to overrun the
       1140px content box by a hair. Without nowrap, flex shrinks the nav and
       every label splits across two lines, which grows the whole header. */
    white-space: nowrap;
    transition: background-color var(--t-fast), color var(--t-fast);
  }
  .nav a:hover { background: var(--surface-2); color: var(--head); }
  .nav a[aria-current="page"] { color: var(--cta); }
}
/* flex:none keeps the buttons at their natural size, and align-items:center
   stops the call button stretching to the row height if the row ever grows. */
.header__actions { display: flex; align-items: center; gap: var(--sp-2); flex: 0 0 auto; }
.header__call { display: none; white-space: nowrap; }
@media (min-width: 1080px) { .header__call { display: inline-flex; } }

/* icon buttons */
.iconbtn {
  min-width: 46px; min-height: 46px;
  display: inline-flex; align-items: center; justify-content: center; gap: .35rem;
  background: var(--surface-2); border: 1px solid var(--line);
  border-radius: 10px; cursor: pointer; color: var(--head);
  font-family: var(--font-head); font-weight: 600; font-size: .9rem; letter-spacing: .06em;
  transition: background-color var(--t-fast), border-color var(--t-fast);
}
.iconbtn:hover { background: var(--surface-3); border-color: var(--line-strong); }
.iconbtn svg { width: 18px; height: 18px; }
.burger { display: inline-flex; }
@media (min-width: 1080px) { .burger { display: none; } }

/* theme switch — moon in the light theme, sun in the dark one.
   Both icons ship in the markup and CSS picks; swapping innerHTML in script
   would leave the button empty for anyone with JavaScript disabled. */
.themebtn .icon-sun { display: none; }
:root[data-theme="dark"] .themebtn .icon-moon { display: none; }
:root[data-theme="dark"] .themebtn .icon-sun { display: block; }

/* The header now carries four controls on a phone: brand, theme, language,
   burger. At 360px that is tight enough that the brand would truncate, so
   below 420px the buttons shrink and the language button drops its EN/VI/RU
   label — the globe still says what it is, and the brand stays readable. */
@media (max-width: 419px) {
  .header__actions { gap: 6px; }
  .iconbtn { min-width: 42px; min-height: 42px; }
  .langwrap > .iconbtn span { display: none; }
  /* The emblem's own lettering is unreadable at this size anyway, and the
     44px it occupies is the difference between the full shop name and
     "VĨNH PHÁT MOTORB…". The name is what has to match the Google listing. */
  .brand__logo { display: none; }
}

/* language menu */
.langwrap { position: relative; }
.langmenu {
  position: absolute; right: 0; top: calc(100% + 8px);
  min-width: 190px; padding: 6px;
  background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--radius-sm); box-shadow: var(--shadow-lg);
  display: none; z-index: var(--z-drawer);
}
.langmenu[data-open="true"] { display: block; }
.langmenu a {
  display: flex; align-items: center; gap: .6rem;
  min-height: 46px; padding: 0 .8rem; border-radius: 8px;
  font-weight: 600; font-size: .95rem;
}
.langmenu a:hover { background: var(--surface-2); }
.langmenu a[aria-current="true"] { color: var(--cta); background: var(--surface-2); }
.langmenu .tag {
  font-family: var(--font-head); font-size: .78rem; letter-spacing: .1em;
  border: 1px solid var(--line-strong); border-radius: 5px; padding: 1px 6px; color: var(--muted);
}

/* mobile drawer */
.drawer {
  position: fixed; inset: 0; z-index: var(--z-drawer);
  background: var(--bg);
  display: none; flex-direction: column; padding: var(--sp-4) var(--gutter) var(--sp-7);
  overflow-y: auto;
}
.drawer[data-open="true"] { display: flex; }
.drawer { overscroll-behavior: contain; }
.drawer__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: var(--sp-5); }
.drawer nav { display: grid; gap: var(--sp-2); }
.drawer nav a {
  font-family: var(--font-head); font-size: 1.5rem; text-transform: uppercase;
  padding: .6rem 0; border-bottom: 1px solid var(--line); color: var(--head);
}
.drawer nav a[aria-current="page"] { color: var(--cta); }
.drawer__cta { margin-top: var(--sp-6); display: grid; gap: var(--sp-3); }

/* ---------- sticky mobile call bar ---------- */
.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: var(--z-callbar);
  display: grid; grid-template-columns: 1fr 1fr 1fr;
  height: var(--callbar-h);
  background: var(--callbar-bg);
  border-top: 1px solid var(--callbar-line);
  padding-bottom: env(safe-area-inset-bottom);
}
@media (min-width: 1080px) { .callbar { display: none; } }
/* The third slot opens the discount dialog, so it is a <button>, not a link.
   Everything below has to style both or the bar comes out lopsided. */
.callbar a, .callbar button {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  font-family: var(--font-head); font-size: .78rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--callbar-text);
  border: 0; border-right: 1px solid var(--callbar-line);
  background: none; cursor: pointer; width: 100%; height: 100%;
}
.callbar a:last-child, .callbar button:last-child { border-right: 0; }
.callbar svg { width: 21px; height: 21px; }
.callbar .is-primary { background: var(--cta); color: var(--cta-text); }
/* The discount slot is the one thing on the bar that is not a contact method;
   the accent colour is what stops it reading as a third phone button. */
.callbar .is-discount { color: var(--accent); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--ink); color: var(--ink-text); }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 55%; }
.hero__media::after { content: ''; position: absolute; inset: 0; background: var(--hero-scrim); pointer-events: none; }
.hero__inner { position: relative; z-index: 1; padding-block: clamp(3.5rem, 11vw, 7.5rem); }
.hero__badge {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: var(--step--1); font-weight: 600; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-head); background: var(--ink-chip); border: 1px solid var(--ink-line);
  padding: .35rem .9rem; border-radius: var(--radius-pill); margin-bottom: var(--sp-4);
}
.hero__badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); flex: none; }
.hero h1 { color: var(--ink-head); max-width: 16ch; }
.hero h1 .accent { color: var(--accent); display: block; font-size: .52em; text-transform: none; letter-spacing: 0; margin-top: .4rem; line-height: 1.2; }
.hero__text { margin-top: var(--sp-4); max-width: 54ch; font-size: var(--step-1); color: var(--ink-muted); font-weight: 300; }
.hero .btn-row { margin-top: var(--sp-6); }
.hero__stats {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-4);
  margin-top: var(--sp-7); padding-top: var(--sp-5); border-top: 1px solid var(--ink-line);
  max-width: 640px;
}
@media (min-width: 720px) { .hero__stats { grid-template-columns: repeat(4, 1fr); } }
.hero__stat-num { font-family: var(--font-head); font-size: var(--step-2); color: var(--accent); line-height: 1; }
.hero__stat-label { font-size: var(--step--1); color: var(--ink-muted); text-transform: uppercase; letter-spacing: .08em; margin-top: 4px; }

/* page hero (inner pages) */
.pagehead { background: var(--ink); color: var(--ink-text); padding-block: clamp(2.5rem, 6vw, 4.5rem); }
.pagehead h1 { color: var(--ink-head); }
.pagehead p { color: var(--ink-muted); font-size: var(--step-1); margin-top: var(--sp-4); }
.crumbs { font-size: var(--step--1); color: var(--ink-muted); margin-bottom: var(--sp-3); }
.crumbs a:hover { color: var(--accent); text-decoration: underline; }

/* ---------- trust strip ---------- */
.strip { background: var(--accent); color: var(--accent-contrast); }
.strip ul {
  display: grid; gap: var(--sp-2); padding-block: var(--sp-4);
  grid-template-columns: 1fr;
}
@media (min-width: 640px) { .strip ul { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .strip ul { grid-template-columns: repeat(4, 1fr); column-gap: var(--sp-5); } }
.strip li {
  display: flex; align-items: center; gap: .55rem;
  font-weight: 700; font-size: var(--step--1); text-transform: uppercase; letter-spacing: .06em;
}
.strip svg { width: 18px; height: 18px; flex: none; }

/* ---------- bike cards ---------- */
.bikegrid { display: grid; gap: var(--sp-5); grid-template-columns: 1fr; }
@media (min-width: 760px)  { .bikegrid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .bikegrid { grid-template-columns: repeat(3, 1fr); } }

.bikecard {
  display: flex; flex-direction: column;
  background: var(--card);
  /* 2px on every card, not just the featured one: a 1px difference in border
     width shifts that card's whole column down by a pixel against its siblings. */
  border: 2px solid var(--line);
  border-radius: var(--radius); overflow: hidden;
  transition: border-color var(--t-base), box-shadow var(--t-base);
}
.bikecard:hover { border-color: var(--line-strong); box-shadow: var(--shadow-lg); }
.bikecard--featured { border-color: var(--cta); }
/* 4:5, and the source photos are cropped to match. The premium bike is shot
   upright and the economy one side-on; a landscape box could not hold both
   without cutting a windscreen or a wheel off one of them. */
.bikecard__media { position: relative; aspect-ratio: 4 / 5; background: var(--surface-2); }
/* The image is taken out of the flow on purpose. Left in it, its `height:100%`
   resolves against an indefinite height, so the img falls back to its own
   intrinsic ratio and the box grows to match — the parent's aspect-ratio is
   then ignored and three cards with three differently shaped photos end up
   three different heights. */
.bikecard__media img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover;
}
.bikecard__flag {
  position: absolute; top: var(--sp-3); left: var(--sp-3);
  background: var(--cta); color: var(--cta-text);
  font-family: var(--font-head); font-size: .8rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  padding: .3rem .7rem; border-radius: var(--radius-pill);
}
.bikecard__body { padding: var(--sp-5); display: flex; flex-direction: column; flex: 1; gap: var(--sp-3); }
.bikecard__tag {
  font-size: var(--step--1); font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--accent-ink);
}
.bikecard h3 { font-size: var(--step-2); }
.bikecard__tagline { color: var(--muted); font-size: var(--step-0); }
.bikecard__price { display: flex; align-items: baseline; gap: .45rem; flex-wrap: wrap; }
.bikecard__price b {
  font-family: var(--font-head); font-size: clamp(2.2rem, 7vw, 2.9rem);
  font-weight: 600; line-height: 1; color: var(--cta);
}
.bikecard__price span { color: var(--muted); font-size: var(--step--1); text-transform: uppercase; letter-spacing: .07em; }
.bikecard__rates { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-2); }
.bikecard__rate {
  background: var(--surface-2); border-radius: var(--radius-sm);
  padding: .55rem .7rem; font-size: var(--step--1);
}
.bikecard__rate b { display: block; font-family: var(--font-head); font-size: 1.15rem; color: var(--head); }
.bikecard__rate span { color: var(--muted); text-transform: uppercase; letter-spacing: .06em; font-size: .72rem; }
.specs { display: grid; gap: .4rem; font-size: var(--step--1); }
.specs li { display: flex; align-items: flex-start; gap: .5rem; color: var(--muted); }
.specs svg { width: 16px; height: 16px; flex: none; margin-top: .25rem; color: var(--ok); }
.bikecard .btn { margin-top: auto; }

/* ---------- feature cards ---------- */
.featgrid { display: grid; gap: var(--sp-4); grid-template-columns: 1fr; }
@media (min-width: 680px)  { .featgrid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .featgrid { grid-template-columns: repeat(3, 1fr); } }
.feat {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: var(--sp-5);
}
.feat__icon {
  width: 46px; height: 46px; border-radius: 12px;
  display: grid; place-items: center; margin-bottom: var(--sp-3);
  background: var(--accent-soft); color: var(--accent-ink);
}
.feat__icon svg { width: 24px; height: 24px; }
.feat h3 { font-size: var(--step-1); margin-bottom: var(--sp-2); }
.feat p { color: var(--muted); font-size: var(--step-0); }

/* ---------- steps ---------- */
.steps { display: grid; gap: var(--sp-4); grid-template-columns: 1fr; counter-reset: step; }
@media (min-width: 680px)  { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step {
  position: relative; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: var(--sp-5);
}
.step__num {
  font-family: var(--font-head); font-size: 2.6rem; line-height: 1;
  /* --accent-ink, not --accent: raw gold on white measures 1.8:1, and these
     numerals carry the order of the steps, so they are content, not decoration.
     --accent-ink is the readable form of the accent in both themes. */
  color: var(--accent-ink); margin-bottom: var(--sp-2);
}
.step h3 { font-size: var(--step-1); margin-bottom: var(--sp-2); }
.step p { color: var(--muted); font-size: var(--step-0); }

/* ---------- price table ---------- */
.pricetable-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--card); }
table.pricetable { width: 100%; border-collapse: collapse; min-width: 620px; }
.pricetable caption { text-align: left; padding: var(--sp-4) var(--sp-5); color: var(--muted); font-size: var(--step--1); }
.pricetable th, .pricetable td { padding: var(--sp-4) var(--sp-5); text-align: left; border-top: 1px solid var(--line); vertical-align: top; }
/* price columns line up digit-for-digit */
.pricetable td, .bikecard__price b, .bikecard__rate b, .hero__stat-num { font-variant-numeric: tabular-nums; }
.pricetable thead th {
  font-family: var(--font-head); font-size: .95rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--muted); background: var(--surface-2); border-top: 0;
}
.pricetable tbody th { font-family: var(--font-body); font-weight: 700; color: var(--head); font-size: var(--step-0); }
.pricetable tbody th small { display: block; font-weight: 400; color: var(--muted); font-size: .8rem; margin-top: 2px; }
.pricetable td b { font-family: var(--font-head); font-size: 1.5rem; font-weight: 600; color: var(--head); display: block; line-height: 1.1; }
.pricetable td.is-lead b { color: var(--cta); }
.pricetable td small { color: var(--ok); font-size: .75rem; font-weight: 600; }

/* Under 640px the table stops being a table and becomes one card per bike.
   The price page is the page people open on a phone before calling — a
   sideways-scrolling table loses them. */
@media (max-width: 639px) {
  .pricetable-wrap { overflow-x: visible; border: 0; background: none; }
  table.pricetable { min-width: 0; display: block; }
  /* display:block on the table leaves a table-caption shrink-wrapped to one
     word per line — force it back to a normal full-width block. */
  .pricetable caption { display: block; width: 100%; padding: 0 0 var(--sp-3); }
  .pricetable thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .pricetable tbody, .pricetable tr, .pricetable th, .pricetable td { display: block; }
  .pricetable tr {
    background: var(--card); border: 1px solid var(--line);
    border-radius: var(--radius); margin-bottom: var(--sp-4); overflow: hidden;
  }
  .pricetable tbody th {
    border-top: 0; background: var(--surface-2);
    padding: var(--sp-4); font-size: var(--step-1);
  }
  .pricetable td {
    display: flex; align-items: baseline; justify-content: space-between;
    gap: var(--sp-4); padding: var(--sp-3) var(--sp-4);
  }
  .pricetable td::before {
    content: attr(data-label);
    font-family: var(--font-head); font-size: .9rem; letter-spacing: .08em;
    text-transform: uppercase; color: var(--muted); flex: none;
  }
  .pricetable td b { display: inline; font-size: 1.35rem; }
  .pricetable td small { display: block; text-align: right; }
}

/* ---------- info rows (deposit / documents) ---------- */
.rows { display: grid; gap: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--card); }
.rows > div { display: grid; gap: var(--sp-1); padding: var(--sp-4) var(--sp-5); border-top: 1px solid var(--line); }
.rows > div:first-child { border-top: 0; }
@media (min-width: 720px) { .rows > div { grid-template-columns: 280px 1fr; gap: var(--sp-5); align-items: start; } }
.rows dt, .rows .term { font-weight: 700; color: var(--head); }
.rows dd, .rows .val { color: var(--muted); }

/* ---------- checklists ---------- */
.checklist { display: grid; gap: var(--sp-3); }
.checklist li { display: flex; gap: .7rem; align-items: flex-start; }
.checklist svg { width: 20px; height: 20px; flex: none; margin-top: .22rem; color: var(--ok); }
.checklist--no svg { color: var(--warn); }

/* ---------- two column ---------- */
.two { display: grid; gap: var(--sp-6); align-items: center; }
@media (min-width: 900px) { .two { grid-template-columns: 1fr 1fr; gap: var(--sp-8); } }
.two__media img { width: 100%; border-radius: var(--radius); object-fit: cover; aspect-ratio: 4 / 3; }

/* ---------- gallery ---------- */
.gallery { display: grid; gap: var(--sp-3); grid-template-columns: repeat(2, 1fr); }
@media (min-width: 680px)  { .gallery { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1040px) { .gallery { grid-template-columns: repeat(4, 1fr); } }
.gallery button {
  display: block; width: 100%; padding: 0; border: 1px solid var(--line);
  border-radius: var(--radius-sm); overflow: hidden; cursor: pointer;
  background: var(--surface-2); aspect-ratio: 1 / 1;
  transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.gallery button:hover { border-color: var(--cta); box-shadow: var(--shadow-lg); }
.gallery img { width: 100%; height: 100%; object-fit: cover; }

.riders { display: grid; gap: var(--sp-3); grid-template-columns: repeat(2, 1fr); }
@media (min-width: 680px)  { .riders { grid-template-columns: repeat(4, 1fr); } }
.riders img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: var(--radius-sm); border: 1px solid var(--line); }

/* lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: var(--z-modal);
  background: rgba(0,0,0,.93);
  display: none; align-items: center; justify-content: center; padding: var(--sp-4);
}
.lightbox[data-open="true"] { display: flex; }
.lightbox img { max-width: 100%; max-height: 82vh; object-fit: contain; border-radius: var(--radius-sm); }
.lightbox__count { position: absolute; top: 18px; left: 0; right: 0; text-align: center; color: #fff; font-size: .9rem; opacity: .8; }
.lightbox__btn {
  position: absolute; min-width: 52px; min-height: 52px;
  display: grid; place-items: center;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.25);
  color: #fff; border-radius: 50%; cursor: pointer;
}
.lightbox__btn:hover { background: rgba(255,255,255,.22); }
.lightbox__btn svg { width: 22px; height: 22px; }
.lightbox__close { top: 14px; right: 14px; }
.lightbox__prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 14px; top: 50%; transform: translateY(-50%); }

/* ---------- band image ---------- */
.band { position: relative; min-height: 260px; display: grid; place-items: center; overflow: hidden; background: var(--ink); }
.band img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* ::after is .band's LAST child, so without pointer-events:none it paints over
   .band__inner and eats every click on the closing call-to-action. */
.band::after { content: ''; position: absolute; inset: 0; background: var(--hero-scrim); pointer-events: none; }
.band__inner { position: relative; z-index: 1; text-align: center; padding: var(--sp-7) var(--gutter); }
.band h2 { color: var(--ink-head); }
.band p { color: var(--ink-muted); margin: var(--sp-3) auto 0; font-size: var(--step-1); }
.band .btn-row { justify-content: center; margin-top: var(--sp-5); }

/* ---------- FAQ ---------- */
.faq { display: grid; gap: var(--sp-3); max-width: 860px; }
.faq details {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 0 var(--sp-5);
}
.faq summary {
  display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4);
  list-style: none; cursor: pointer; padding: var(--sp-4) 0;
  font-weight: 700; color: var(--head); min-height: 56px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ''; width: 12px; height: 12px; flex: none;
  border-right: 2px solid var(--muted); border-bottom: 2px solid var(--muted);
  transform: rotate(45deg); transition: transform var(--t-fast); margin-right: 4px;
}
.faq details[open] summary::after { transform: rotate(-135deg); }
.faq details > p { padding-bottom: var(--sp-4); color: var(--muted); max-width: 72ch; }


/* ---------- language offer banner ---------- */
.langbanner { background: var(--accent); color: var(--accent-contrast); }
.langbanner[hidden] { display: none; }
.langbanner__inner {
  display: flex; flex-wrap: wrap; align-items: center; gap: var(--sp-3) var(--sp-5);
  justify-content: space-between; padding-block: var(--sp-3);
}
.langbanner p { font-weight: 700; margin: 0; }
.langbanner__actions { display: flex; gap: var(--sp-2); flex-wrap: wrap; }
.langbanner .btn { min-height: 44px; padding: .55rem 1.1rem; font-size: .92rem; }
.langbanner .btn--ghost { color: var(--accent-contrast); border-color: var(--accent-contrast); }
.langbanner .btn--ghost:hover { background: rgba(0,0,0,.12); }

/* ---------- reviews ---------- */
.reviewgrid { display: grid; gap: var(--sp-4); grid-template-columns: 1fr; }
@media (min-width: 720px)  { .reviewgrid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1040px) { .reviewgrid { grid-template-columns: repeat(3, 1fr); } }

.review {
  display: flex; flex-direction: column; gap: var(--sp-4);
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: var(--sp-5);
}
.review blockquote { flex: 1; }
.review blockquote p {
  font-size: var(--step-0); color: var(--text); max-width: none;
}
.review blockquote p::before { content: '\201C'; }
.review blockquote p::after  { content: '\201D'; }
.review__excerpt { color: var(--muted); font-size: var(--step--1); }
.review figcaption {
  display: grid; grid-template-columns: auto 1fr; gap: var(--sp-3) var(--sp-3);
  align-items: center; padding-top: var(--sp-4); border-top: 1px solid var(--line);
}
.review__avatar {
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--accent-soft); color: var(--accent-ink);
  font-family: var(--font-head); font-size: 1.2rem; font-weight: 600;
}
.review__who b { display: block; font-size: var(--step-0); color: var(--head); }
.review__who small { display: block; color: var(--muted); font-size: var(--step--1); }
.review__src {
  grid-column: 1 / -1;
  font-size: var(--step--1); font-weight: 700; color: var(--muted);
  display: inline-flex; align-items: center; gap: .35rem; min-height: 32px;
}
.review__src:hover { color: var(--cta); text-decoration: underline; }

.checklist--wide { gap: var(--sp-3); }
@media (min-width: 760px) {
  .checklist--wide { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- contact cards ---------- */
.contactgrid { display: grid; gap: var(--sp-4); grid-template-columns: 1fr; }
@media (min-width: 680px) { .contactgrid { grid-template-columns: repeat(2, 1fr); } }
.contactcard {
  display: flex; gap: var(--sp-4); align-items: flex-start;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: var(--sp-5);
  transition: border-color var(--t-fast);
}
a.contactcard:hover { border-color: var(--cta); }
.contactcard__icon {
  width: 44px; height: 44px; flex: none; border-radius: 11px;
  display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-ink);
}
.contactcard__icon svg { width: 22px; height: 22px; }
/* display:block matters: .term and .val are spans, and an inline box ignores
   margin-top, so the label and the number ran together as "PHONE+84 92…". */
.contactcard dt, .contactcard .term {
  display: block;
  font-size: var(--step--1); text-transform: uppercase; letter-spacing: .09em;
  color: var(--muted); font-weight: 700;
}
.contactcard dd, .contactcard .val {
  display: block;
  font-size: var(--step-1); font-weight: 700; color: var(--head); margin-top: 2px;
}
.contactcard .val small { display: block; font-size: var(--step--1); font-weight: 400; color: var(--muted); margin-top: 2px; }

.mapframe { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--surface-2); }
.mapframe iframe { width: 100%; height: 420px; border: 0; }

/* ---------- discount modal ---------- */
.modal {
  position: fixed; inset: 0; z-index: var(--z-modal);
  background: rgba(0,0,0,.65); padding: var(--sp-4);
  display: none; align-items: center; justify-content: center;
}
.modal[data-open="true"] { display: flex; }
.modal, .lightbox { overscroll-behavior: contain; }
.modal__box {
  background: var(--bg); border-radius: var(--radius); border: 1px solid var(--line);
  max-width: 480px; width: 100%; padding: var(--sp-6);
  box-shadow: var(--shadow-lg); position: relative;
  max-height: 90vh; overflow-y: auto;
}
.modal__box h2 { font-size: var(--step-2); margin-bottom: var(--sp-3); }
.modal__box p { color: var(--muted); }
.modal__list { display: grid; gap: var(--sp-2); margin: var(--sp-4) 0; }
.modal__list li { display: flex; gap: .6rem; align-items: flex-start; font-size: var(--step-0); }
.modal__list svg { width: 18px; height: 18px; flex: none; margin-top: .3rem; color: var(--ok); }
.modal__actions { display: grid; gap: var(--sp-3); margin-top: var(--sp-5); }
.modal__close {
  position: absolute; top: 10px; right: 10px; min-width: 44px; min-height: 44px;
  display: grid; place-items: center; background: none; border: 0; cursor: pointer; color: var(--muted);
}
.modal__close svg { width: 22px; height: 22px; }

/* floating discount pill (desktop) */
.discount-fab {
  position: fixed; right: 20px; bottom: 20px; z-index: var(--z-callbar);
  display: none; align-items: center; gap: .5rem;
  background: var(--accent); color: var(--accent-contrast);
  border: 0; border-radius: var(--radius-pill); cursor: pointer;
  padding: .9rem 1.4rem; min-height: 52px;
  font-family: var(--font-head); font-size: 1rem; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase;
  box-shadow: var(--shadow-lg);
  transition: filter var(--t-fast);
}
.discount-fab:hover { filter: brightness(1.07); }
.discount-fab svg { width: 20px; height: 20px; }
@media (min-width: 1080px) { .discount-fab { display: inline-flex; } }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: var(--ink-muted); padding-block: var(--sp-7) var(--sp-5); }
.footer a:hover { color: var(--accent); }
.footer__grid { display: grid; gap: var(--sp-6); grid-template-columns: 1fr; }
@media (min-width: 760px) { .footer__grid { grid-template-columns: 2fr 1fr 1.3fr 1fr; gap: var(--sp-5); } }
.footer__logo { height: 62px; width: auto; margin-bottom: var(--sp-3); }
.footer h3 {
  font-size: .9rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--ink-head); margin-bottom: var(--sp-3);
}
.footer ul { display: grid; gap: .55rem; font-size: var(--step-0); }
.footer .brand__name { color: var(--ink-head); }
.footer__about { max-width: 42ch; margin-top: var(--sp-3); font-size: var(--step-0); }
.footer__bottom {
  margin-top: var(--sp-6); padding-top: var(--sp-4); border-top: 1px solid var(--ink-line);
  display: flex; flex-wrap: wrap; gap: var(--sp-3); justify-content: space-between;
  font-size: var(--step--1);
}
