/* ============================================================
   94 EZY RENT (94好租) — styles.css
   Neo-brutalist sticker-art system. Mobile-first (375px base).
   ============================================================ */

/* ---------- 1. Tokens ---------- */
:root {
  /* Brand */
  --color-primary:       #bc0100;
  --color-primary-hover: #930100;
  --color-secondary:     #006970;
  --color-accent:        #ffe170;
  --color-accent-dark:   #e9c400;
  --color-bg:            #f9f9f9;
  --color-bg-alt:        #eeeeee;
  --color-text:          #1b1b1b;
  --color-text-muted:    #5c5c5c;
  --color-white:         #ffffff;
  --color-border:        #1b1b1b;

  /* Type — per client-approved Stitch mockup */
  --font-heading: 'Montserrat', 'Arial Black', sans-serif;
  --font-body:    'Work Sans', 'Segoe UI', sans-serif;
  --font-label:   'JetBrains Mono', 'Courier New', monospace;

  /* Fluid scale (mockup: hero 48px / h2 32px / h3 24px) */
  --fs-hero:    clamp(1.9rem, 4.6vw, 3.4rem);
  --fs-h2:      clamp(1.5rem, 3.2vw, 2.1rem);
  --fs-h3:      clamp(1.1rem, 2vw, 1.4rem);
  --fs-body:    1rem;
  --fs-body-lg: clamp(1.05rem, 1.4vw, 1.175rem);
  --fs-label:   0.875rem;

  /* Neo-brutalist surface */
  --bw: 3px;                              /* border weight */
  --shadow-hard:     4px 4px 0 0 var(--color-border);
  --shadow-hard-lg:  8px 8px 0 0 var(--color-border);
  --shadow-hard-red: 4px 4px 0 0 var(--color-primary);
  --radius-card: 4px;
  --radius-btn:  2px;

  /* Motion (emil-design-eng standard) */
  --ease-out:    cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --t-fast: 130ms var(--ease-out);   /* press */
  --t-base: 240ms var(--ease-out);   /* hover / state */

  /* Fluid layout */
  --gutter:    clamp(20px, 3.5vw, 40px);
  --section-y: clamp(60px, 7.5vw, 116px);
  --maxw: 1300px;
}
@media (min-width: 1700px) {
  :root { --maxw: 1460px; }
  body  { font-size: 17px; }
}
@media (min-width: 2100px) {
  :root { --maxw: 1600px; }
}

/* ---------- 2. Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  overflow-x: hidden;
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-bottom: 72px;               /* room for mobile bottom nav */
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-heading); line-height: 1.12; }
button { font: inherit; cursor: pointer; background: none; border: none; color: inherit; }
input, select, textarea { font: inherit; font-size: 1rem; }  /* 16px: no iOS zoom */
[hidden] { display: none !important; }
::selection { background: var(--color-accent); color: var(--color-text); }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section-y); }

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--color-text); color: var(--color-white);
  padding: 12px 20px; font-family: var(--font-label);
}
.skip-link:focus { left: 0; }

:focus-visible { outline: 3px solid var(--color-primary); outline-offset: 2px; }

@media (min-width: 1024px) { body { padding-bottom: 0; } }

/* ---------- 3. Shared brutalist bits ---------- */
.nb { border: var(--bw) solid var(--color-border); }
.nb-shadow { box-shadow: var(--shadow-hard); }

.sticker {
  display: inline-block;
  font-family: var(--font-label);
  font-size: var(--fs-label);
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 8px 14px;
  border: var(--bw) solid var(--color-border);
  background: var(--color-accent);
  color: var(--color-text);
}
.sticker--tilt-l { transform: rotate(-2deg); }
.sticker--tilt-r { transform: rotate(2deg); }

.h2-sticker {
  font-size: var(--fs-h2);
  font-weight: 800;
}
.h2-sticker .hl {
  background: var(--color-accent);
  border: var(--bw) solid var(--color-border);
  padding: 0 12px;
  display: inline-block;
}

/* Tag chips on cards */
.tag {
  display: inline-block;
  font-family: var(--font-label);
  font-size: 0.625rem;
  font-weight: 500;
  padding: 2px 7px;
  border: 2px solid var(--color-border);
  background: var(--color-accent);
}
.tag--drone  { background: var(--color-secondary); color: var(--color-white); }
.tag--action { background: var(--color-primary);   color: var(--color-white); }
.tag--vlog   { background: #7df4ff; }

/* ---------- 4. Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px;
  padding: 12px 26px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border: var(--bw) solid var(--color-border);
  border-radius: var(--radius-btn);
  box-shadow: var(--shadow-hard);
  transition: transform var(--t-fast), box-shadow var(--t-fast), background-color var(--t-base);
}
.btn:active { transform: translate(4px, 4px) scale(0.99); box-shadow: 0 0 0 0 var(--color-border); }
.btn--primary { background: var(--color-primary); color: var(--color-white); }
.btn--ghost   { background: var(--color-white);   color: var(--color-text); }
.btn--wa      { background: #1fae52; color: var(--color-white); }
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 0 var(--color-border); }
  .btn--primary:hover { background: var(--color-primary-hover); }
  .btn--wa:hover { background: #178a41; }
}

/* ---------- 5. Navbar ---------- */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: var(--color-bg);
  border-bottom: var(--bw) solid var(--color-border);
}
.navbar__inner {
  display: flex; align-items: center;
  gap: 12px;                          /* tight cluster: lang toggle sits beside the CTA */
  padding-block: 10px;
}
.navbar__logo { display: inline-flex; align-items: center; }
.navbar__logo img { height: 44px; width: auto; }
.navbar__links { display: none; }
.navbar__cta { display: none; }

.navbar__burger {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px;
  border: var(--bw) solid var(--color-border);
  background: var(--color-accent);
  box-shadow: var(--shadow-hard);
  transition: transform var(--t-fast), box-shadow var(--t-fast);
}
.navbar__burger:active { transform: translate(3px, 3px); box-shadow: 0 0 0 0 var(--color-border); }
.navbar__burger svg { width: 22px; height: 22px; }

/* Language toggle (EN / 中文) — sticker button beside the CTA */
.lang-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 52px; height: 48px;
  padding: 0 12px;
  font-family: var(--font-label);
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  background: var(--color-white);
  color: var(--color-text);
  border: var(--bw) solid var(--color-border);
  border-radius: var(--radius-btn);
  box-shadow: var(--shadow-hard);
  transition: transform var(--t-fast), box-shadow var(--t-fast), background-color var(--t-base);
}
.lang-toggle:active { transform: translate(3px, 3px) scale(0.97); box-shadow: 0 0 0 0 var(--color-border); }
.lang-toggle { margin-left: auto; }   /* mobile: pushes lang + burger to the right edge */
@media (hover: hover) and (pointer: fine) {
  .lang-toggle:hover { background: var(--color-accent); transform: translate(-1px, -1px); box-shadow: 5px 5px 0 0 var(--color-border); }
}
@media (min-width: 1024px) {
  .lang-toggle { height: 44px; margin-left: 0; }
  .navbar__links { margin-inline: auto; }   /* desktop: links centered, lang + CTA right */
}

/* Mobile dropdown panel */
.nav-panel {
  display: none;
  border-top: var(--bw) solid var(--color-border);
  background: var(--color-bg);
}
.nav-panel.is-open { display: block; }
.nav-panel a {
  display: flex; align-items: center;
  min-height: 52px;
  padding: 8px var(--gutter);
  font-family: var(--font-label);
  font-size: var(--fs-label);
  text-decoration: none;
  border-bottom: 2px solid var(--color-bg-alt);
}
.nav-panel a:active { background: var(--color-accent); }

@media (min-width: 1024px) {
  .navbar__inner { padding-block: 14px; }
  .navbar__logo img { height: 52px; }
  .navbar__burger, .nav-panel { display: none; }
  .navbar__links {
    display: flex; gap: clamp(20px, 3vw, 40px); align-items: center;
  }
  .navbar__links a {
    font-family: var(--font-label);
    font-size: var(--fs-label);
    text-decoration: none;
    padding: 10px 2px;
    border-bottom: var(--bw) solid transparent;
    transition: color var(--t-base), border-color var(--t-base), transform var(--t-fast);
  }
  .navbar__links a[aria-current="page"] { color: var(--color-primary); border-bottom-color: var(--color-primary); font-weight: 700; }
  .navbar__cta { display: inline-flex; min-height: 44px; padding: 10px 20px; font-size: 0.9rem; }
}
@media (hover: hover) and (pointer: fine) {
  .navbar__links a:hover { color: var(--color-primary); transform: translate(-1px, -1px); }
}

/* Mobile bottom nav */
.bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 100;
  display: flex; justify-content: space-around; align-items: stretch;
  background: var(--color-bg);
  border-top: var(--bw) solid var(--color-border);
  padding: 6px 8px calc(6px + env(safe-area-inset-bottom));
}
.bottom-nav a {
  flex: 1;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  min-height: 52px;
  text-decoration: none;
  font-family: var(--font-label);
  font-size: 0.625rem;
  color: var(--color-text);
  transition: transform var(--t-fast);
}
.bottom-nav a:active { transform: scale(0.94); }
.bottom-nav a.is-active {
  background: var(--color-primary); color: var(--color-white);
  border: 2px solid var(--color-border);
  box-shadow: 2px 2px 0 0 var(--color-border);
  border-radius: var(--radius-card);
  margin: 0 4px;
}
.bottom-nav svg { width: 22px; height: 22px; }
@media (min-width: 1024px) { .bottom-nav { display: none; } }

/* ---------- 6. Hero ---------- */
.hero {
  position: relative;
  background: var(--color-bg-alt);
  border-bottom: var(--bw) solid var(--color-border);
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background-image: radial-gradient(var(--color-primary) 2px, transparent 2px);
  background-size: 22px 22px;
  opacity: 0.07;
  pointer-events: none;
}
.hero__inner {
  position: relative;
  display: flex; flex-direction: column; gap: 40px;
  padding-block: clamp(48px, 7vw, 96px);
}
.hero__text { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.hero__badge { box-shadow: var(--shadow-hard-red); }
.hero__title {
  font-size: var(--fs-hero);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1.15;
  filter: drop-shadow(4px 4px 0 var(--color-primary));  /* red offset behind the ink text, per mockup */
}
.hero__title .flip {
  display: inline-block;
  background: var(--color-text);
  color: var(--color-primary);
  padding: 2px 14px;
  margin-top: 6px;
}
.hero__zh { color: var(--color-primary); white-space: nowrap; }
.hero__sub {
  font-size: var(--fs-body-lg);
  max-width: 46ch;
  background: var(--color-bg);
  border: var(--bw) solid var(--color-border);
  padding: 16px 18px;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

.hero__stack {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;           /* shallow on mobile */
  max-height: 340px;
}
.hero__frame {
  position: absolute;
  border: var(--bw) solid var(--color-border);
}
.hero__frame--teal { width: 78%; height: 78%; right: 0; bottom: 0; background: var(--color-secondary); opacity: 0.45; transform: rotate(5deg); }
.hero__frame--pink { width: 78%; height: 78%; left: 0; top: 0; background: #ffdad4; transform: rotate(-3deg); }
.hero__photo {
  position: absolute; inset: 6% 4%;
  background: var(--color-bg) center / cover no-repeat;
  border: var(--bw) solid var(--color-border);
  box-shadow: var(--shadow-hard);
}
.hero__photo .sticker { position: absolute; top: -16px; right: -6px; }

@media (min-width: 768px) {
  .hero__stack { aspect-ratio: 1 / 1; max-height: none; }
}
@media (min-width: 1024px) {
  .hero__inner {
    flex-direction: row; align-items: center;
    gap: clamp(40px, 5vw, 80px);
    /* Hero + marquee fill the first screen: marquee sits at the fold */
    min-height: calc(100dvh - 152px);   /* 152px ≈ navbar + marquee */
    padding-block: 24px;
  }
  .hero__text  { flex: 1.15; }
  .hero__stack { flex: 1; aspect-ratio: 1 / 1; max-width: min(560px, 44vh + 120px); margin-left: auto; }
}

/* ---------- 7. Marquee ---------- */
.marquee {
  background: var(--color-text);
  border-bottom: var(--bw) solid var(--color-border);
  padding-block: 14px;
  overflow: hidden;
}
.marquee__track {
  display: flex; gap: 48px; width: max-content;
  animation: marquee 26s linear infinite;
}
.marquee__track span {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(1.1rem, 2.4vw, 1.7rem);
  color: var(--color-white);
  white-space: nowrap;
}
.marquee__track .dot { color: var(--color-primary); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- 8. Rent vs Buy ---------- */
.value {
  background: var(--color-primary);
  color: var(--color-white);
  border-bottom: var(--bw) solid var(--color-border);
}
.value h2 { font-size: var(--fs-h2); margin-bottom: 24px; }
.value__inner { display: flex; flex-direction: column; gap: 40px; }
/* Mobile: heading, coins and copy sit centered; left-aligned again on desktop */
.value__left { text-align: center; }
.value__compare { display: flex; align-items: center; justify-content: center; gap: clamp(14px, 3vw, 28px); margin-bottom: 24px; }
.value__copy { margin-inline: auto; }
.value__coin {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  width: clamp(108px, 16vw, 150px);
  height: clamp(108px, 16vw, 150px);
  border-radius: 50%;
  border: var(--bw) solid var(--color-border);
  font-family: var(--font-heading);
  font-weight: 800;
  flex-shrink: 0;
  text-align: center;
}
.value__coin--buy  { background: var(--color-text); color: var(--color-white); transform: rotate(-6deg); box-shadow: 4px 4px 0 0 rgba(0, 0, 0, 0.35); }
.value__coin--buy .strike { text-decoration: line-through; text-decoration-thickness: 3px; font-size: 1rem; opacity: 0.8; }
.value__coin--buy .num { color: var(--color-accent); font-size: clamp(1.4rem, 3vw, 2rem); }
.value__coin--rent { background: var(--color-bg); color: var(--color-primary); transform: rotate(6deg); box-shadow: var(--shadow-hard); }
.value__coin--rent .num { font-size: clamp(1.4rem, 3vw, 2rem); }
.value__vs { font-family: var(--font-label); font-size: clamp(1.2rem, 3vw, 2rem); font-weight: 700; }
.value__copy { font-size: var(--fs-body-lg); max-width: 52ch; }

.value__cards { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px, 2vw, 20px); }
.value-card {
  background: var(--color-bg); color: var(--color-text);
  border: var(--bw) solid var(--color-border);
  box-shadow: var(--shadow-hard);
  padding: clamp(14px, 2.5vw, 24px);
}
.value-card:nth-child(even) { transform: translateY(14px); }
.value-card svg { width: 30px; height: 30px; margin-bottom: 10px; color: var(--color-primary); }
.value-card:nth-child(even) svg { color: var(--color-secondary); }
.value-card h3 { font-size: clamp(1rem, 2vw, 1.4rem); margin-bottom: 6px; }
.value-card p { font-size: clamp(0.8rem, 1.6vw, 1rem); color: var(--color-text-muted); }

@media (min-width: 1024px) {
  .value__inner { flex-direction: row; align-items: center; gap: 60px; }
  .value__left, .value__cards { flex: 1; }
  .value__left { text-align: left; }
  .value__compare { justify-content: flex-start; }
  .value__copy { margin-inline: 0; }
}

/* ---------- 9. Categories bento ---------- */
.cats { background: var(--color-bg-alt); border-bottom: var(--bw) solid var(--color-border); }
.cats__head { text-align: center; margin-bottom: clamp(32px, 5vw, 64px); }
.cats__grid {
  /* Mobile: four clean full-width banner rows — title + icon only */
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(12px, 2vw, 28px);
  grid-auto-rows: 140px;
}
.cat-card {
  position: relative;
  display: flex; align-items: center;
  padding: clamp(12px, 2.5vw, 30px);
  border: var(--bw) solid var(--color-border);
  box-shadow: var(--shadow-hard);
  background: var(--color-bg) center / cover no-repeat;
  text-decoration: none;
  color: var(--color-white);
  overflow: hidden;
  transition: transform var(--t-base), box-shadow var(--t-base);
}
.cat-card::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.15));
}
.cat-card:active { transform: translate(3px, 3px); box-shadow: 0 0 0 0 var(--color-border); }
/* Mobile banner rows: pan the photo so the gear sits mid-strip */
.cat-card--drones { background-position: center 35%; }
.cat-card--action { background-position: center 35%; }
.cat-card--audio  { background-position: center 22%; }
.cat-card__body { position: relative; z-index: 1; width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.cat-card h3 { font-size: clamp(1.2rem, 2.6vw, 1.9rem); font-weight: 800; }
.cat-card p  { display: none; font-size: clamp(0.75rem, 1.5vw, 1rem); opacity: 0.9; max-width: 30ch; }
.cat-card__icon {
  flex-shrink: 0;
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: var(--bw) solid var(--color-border);
  background: var(--color-primary);
  transition: transform var(--t-base);
}
.cat-card__icon svg { width: 20px; height: 20px; color: var(--color-white); }
.cat-card--drones .cat-card__icon { background: var(--color-secondary); }
/* Instant & Extras: dark photo card like the rest, yellow icon chip */
.cat-card--audio .cat-card__icon { background: var(--color-accent); }
.cat-card--audio .cat-card__icon svg { color: var(--color-text); }

@media (hover: hover) and (pointer: fine) {
  .cat-card:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 0 var(--color-border); }
  .cat-card:hover .cat-card__icon { transform: scale(1.1); }
}
@media (min-width: 768px) {
  /* Tablet+: back to the bento with descriptions and bottom gradients */
  .cats__grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 250px; }
  .cat-card { align-items: flex-end; background-position: center; }
  .cat-card::after { background: linear-gradient(to top, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.15)); }
  .cat-card__body { align-items: flex-end; }
  .cat-card p { display: block; }
  .cat-card--cameras { grid-column: span 2; }
  .cat-card--drones  { grid-row: span 2; align-items: flex-start; }
  .cat-card--drones .cat-card__body { flex-direction: column; align-items: flex-start; height: 100%; justify-content: space-between; }
  .cat-card--drones::after { background: linear-gradient(to bottom, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.1)); }
}

/* ---------- 10. Product cards ---------- */
.gear { background: var(--color-bg); }
.gear__head {
  display: flex; justify-content: space-between; align-items: flex-end; gap: 16px;
  margin-bottom: clamp(28px, 4vw, 52px);
}
.gear__link {
  font-family: var(--font-label); font-size: var(--fs-label);
  color: var(--color-primary); text-decoration: none;
  display: inline-flex; align-items: center; gap: 4px;
  min-height: 44px;
  white-space: nowrap;
}
.gear__link svg { width: 16px; height: 16px; }

.gear__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;              /* 2-up at 375px */
  gap: clamp(12px, 2vw, 24px);
}
.p-card {
  display: flex; flex-direction: column;
  background: var(--color-white);
  border: var(--bw) solid var(--color-border);
  padding: clamp(8px, 1.5vw, 16px);
  transition: transform var(--t-base), box-shadow var(--t-base);
}
.p-card:active { transform: scale(0.98); }
.p-card__media {
  position: relative;
  aspect-ratio: 4 / 5;              /* matches the branded FB covers */
  border: 2px solid var(--color-border);
  background: var(--color-bg-alt);
  overflow: hidden;
  margin-bottom: 10px;
}
.p-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 300ms var(--ease-in-out); }
.p-card__flag {
  position: absolute; top: 6px; left: 6px; z-index: 1;
  font-family: var(--font-label); font-size: 0.625rem; font-weight: 700;
  padding: 2px 7px;
  border: 2px solid var(--color-border);
  background: var(--color-primary); color: var(--color-white);
}
.p-card__flag--new { background: var(--color-accent); color: var(--color-text); }
.p-card h3 { font-size: clamp(0.95rem, 1.8vw, 1.35rem); margin: 6px 0 4px; }
.p-card__desc { display: none; font-size: 0.9rem; color: var(--color-text-muted); }
.p-card__foot {
  margin-top: auto; padding-top: 10px;
  display: flex; justify-content: space-between; align-items: center; gap: 8px;
  flex-wrap: wrap;
}
.p-card__price {
  font-family: var(--font-label); font-size: clamp(0.75rem, 1.5vw, 0.95rem); font-weight: 700;
  background: var(--color-text); color: var(--color-accent);
  padding: 4px 8px;
  border: 2px solid var(--color-border);
  white-space: nowrap;
}
.p-card__price small { font-size: 0.6em; color: var(--color-bg-alt); }
.p-card__book {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  width: 100%;
  min-width: 44px; min-height: 44px;
  background: var(--color-primary); color: var(--color-white);
  border: 2px solid var(--color-border);
  text-decoration: none;
  font-family: var(--font-heading); font-weight: 700; font-size: 0.8rem;
  padding: 6px 10px;
  transition: transform var(--t-fast), background-color var(--t-base);
}
.p-card__book:active { transform: scale(0.94); }
.p-card__book svg { width: 18px; height: 18px; }
@media (hover: hover) and (pointer: fine) {
  .p-card:hover { transform: translate(-2px, -4px); box-shadow: var(--shadow-hard); }
  .p-card:hover .p-card__media img { transform: scale(1.05); }
  .p-card__book:hover { background: var(--color-primary-hover); }
}
@media (min-width: 768px) {
  .p-card__desc { display: block; }
}
@media (min-width: 1024px) {
  .gear__grid { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- 11. How it works ---------- */
.how { background: var(--color-bg-alt); border-block: var(--bw) solid var(--color-border); }
.how__grid {
  counter-reset: step;
  display: grid; grid-template-columns: 1fr; gap: clamp(26px, 3vw, 32px);
  margin-top: clamp(34px, 4vw, 56px);
}
.how-step {
  position: relative;
  background: var(--color-white);
  border: var(--bw) solid var(--color-border);
  box-shadow: var(--shadow-hard);
  padding: clamp(20px, 3vw, 30px) clamp(16px, 2.5vw, 26px) clamp(16px, 2.5vw, 24px);
}
.how-step::before {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute; top: -18px; left: 14px;
  font-family: var(--font-label); font-weight: 700; font-size: 1rem;
  background: var(--color-primary); color: var(--color-white);
  border: var(--bw) solid var(--color-border);
  padding: 4px 10px;
  transform: rotate(-3deg);
}
.how-step h3 { font-size: var(--fs-h3); margin-bottom: 8px; }
.how-step p { color: var(--color-text-muted); font-size: 0.95rem; }

/* Step icons: sticker chips above each heading */
.how-step { padding-top: clamp(32px, 4vw, 38px); }  /* clear the number badge at every width */
.how-step__icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px;
  margin-bottom: 12px;
  border: var(--bw) solid var(--color-border);
  box-shadow: 3px 3px 0 0 var(--color-border);
  transform: rotate(-2deg);
}
.how-step__icon svg { width: 24px; height: 24px; }
.how-step__icon--pick   { background: var(--color-accent);    color: var(--color-text); }
.how-step__icon--book   { background: #1fae52;                color: var(--color-white); transform: rotate(2deg); }
.how-step__icon--return { background: var(--color-secondary); color: var(--color-white); }
@media (min-width: 768px) { .how__grid { grid-template-columns: repeat(3, 1fr); } }

/* ---------- 11b. Xiaohongshu content ---------- */
.xhs { background: var(--color-bg); }
.xhs__head { text-align: center; }
.xhs__head .sticker { margin-bottom: 14px; }
.xhs__grid {
  /* Mobile: 2 + 3 collage — every cover visible, no manual scrolling */
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(10px, 2vw, 24px);
  margin-top: clamp(28px, 4vw, 52px);
  max-width: 1160px; margin-inline: auto;
  padding: 6px 4px;
}
.xhs-card:nth-child(-n+2) { grid-column: span 3; }  /* top row: two large covers */
.xhs-card:nth-child(n+3)  { grid-column: span 2; }  /* bottom row: three small covers */
@media (min-width: 768px) {
  .xhs__grid { grid-template-columns: repeat(5, 1fr); }
  .xhs-card:nth-child(-n+2),
  .xhs-card:nth-child(n+3) { grid-column: auto; }
}
.xhs-card {
  display: block;
  background: var(--color-white);
  border: var(--bw) solid var(--color-border);
  padding: clamp(5px, 1vw, 12px);
  text-decoration: none;
  box-shadow: var(--shadow-hard);
  transition: transform var(--t-base), box-shadow var(--t-base);
}
.xhs-card:nth-child(1) { transform: rotate(-1.5deg); }
.xhs-card:nth-child(3) { transform: rotate(1.5deg); }
.xhs-card:active { transform: scale(0.97); }
.xhs-card img {
  width: 100%; height: auto;
  aspect-ratio: 3 / 4;               /* matches the XHS cover thumbnails */
  object-fit: cover;
  object-position: top;
  border: 2px solid var(--color-border);
}
.xhs-card figcaption {
  padding-top: 8px;
  font-family: var(--font-label);
  font-size: clamp(0.6rem, 1.4vw, 0.85rem);
  text-align: center;
  color: var(--color-text);
}
@media (hover: hover) and (pointer: fine) {
  .xhs-card:hover { transform: rotate(0deg) translate(-2px, -4px); box-shadow: var(--shadow-hard-lg); }
}
.xhs__cta { text-align: center; margin-top: clamp(24px, 4vw, 40px); }

/* Placeholder media until client product photos arrive */
.p-card__media--ph {
  display: flex; align-items: center; justify-content: center;
  background: repeating-linear-gradient(
    -45deg,
    var(--color-bg-alt), var(--color-bg-alt) 12px,
    var(--color-bg) 12px, var(--color-bg) 24px
  );
}
.p-card__media--ph svg { width: 34px; height: 34px; color: var(--color-text-muted); }

/* ---------- 12. Branches / service-area map ---------- */
.branches { background: var(--color-text); color: var(--color-white); border-bottom: var(--bw) solid var(--color-border); }
.branches h2 { font-size: var(--fs-h2); text-align: center; margin-bottom: clamp(24px, 4vw, 48px); }

.branches__inner {
  display: flex; flex-direction: column;
  gap: clamp(28px, 4vw, 48px);
  align-items: center;
}
.branches__map {
  position: relative;
  width: 100%;
  max-width: 720px;
}
.branches__map > img { width: 100%; height: auto; }
@media (min-width: 1024px) {
  .branches__inner {
    display: grid;
    grid-template-columns: 1.45fr 1fr;
    gap: clamp(40px, 5vw, 80px);
    align-items: center;
  }
  .branches__map { max-width: none; }
}
/* Pin: dot + pulse ring + skewed label sticker */
.map-pin {
  position: absolute;
  left: var(--x); top: var(--y);
  width: 0; height: 0;
}
.map-pin__icon {
  position: absolute; left: 0; top: 0;
  width: clamp(22px, 3vw, 34px);
  max-width: none;                       /* escape the global svg max-width:100% (wrapper is 0-wide) */
  height: clamp(29px, 4vw, 45px);
  transform: translate(-50%, -94%);       /* pin tip sits on the location */
  transform-origin: 50% 100%;
  filter: drop-shadow(2px 2px 0 rgba(0, 0, 0, 0.45));
  transition: transform var(--t-base), filter var(--t-base);
}
/* Pulse ring at the pin tip */
.map-pin::after {
  content: "";
  position: absolute; left: 0; top: 0;
  width: 22px; height: 22px;
  margin: -11px 0 0 -11px;
  border-radius: 50%;
  border: 3px solid var(--color-primary);
  opacity: 0;
  transform: scale(0.4);
  animation: pinPulse 2.4s var(--ease-out) infinite;
  animation-delay: var(--pulse-delay, 0s);
  pointer-events: none;
}
@media (hover: hover) and (pointer: fine) {
  .map-pin:hover .map-pin__icon {
    transform: translate(-50%, -94%) scale(1.18);
    filter: drop-shadow(3px 4px 0 rgba(0, 0, 0, 0.55));
  }
  .map-pin:hover .map-pin__label {
    background: var(--color-accent);
    transform: translateY(-50%) skewX(-12deg) scale(1.05);
  }
}
@keyframes pinPulse {
  0%   { transform: scale(0.4); opacity: 0.9; }
  70%  { transform: scale(1.5); opacity: 0; }
  100% { transform: scale(1.5); opacity: 0; }
}
.map-pin__label {
  position: absolute;
  left: clamp(15px, 2.2vw, 24px);              /* clears the pin body */
  top: clamp(-30px, -2.7vw, -20px);            /* sits at pin-head height, not over the tip */
  transform: translateY(-50%) skewX(-12deg);
  white-space: nowrap;
  font-family: var(--font-label);
  font-weight: 700;
  font-size: clamp(0.55rem, 1.5vw, 0.9rem);
  letter-spacing: 0.04em;
  color: var(--color-text);
  background: var(--color-white);
  border: 2px solid var(--color-border);
  padding: clamp(2px, 0.5vw, 5px) clamp(6px, 1.2vw, 12px);
  box-shadow: 2px 2px 0 0 var(--color-border);
}
.map-pin--left .map-pin__label {
  left: auto;
  right: clamp(15px, 2.2vw, 24px);
  top: clamp(-16px, -1.4vw, -8px);       /* Melaka + Singapore sit slightly lower */
}

/* Pickup info panel (right of the map on desktop) */
.branches__panel {
  width: 100%;
  display: flex; flex-direction: column; align-items: flex-start;
  gap: clamp(16px, 2.5vw, 24px);
}
.pickup-banner {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(1.05rem, 2.2vw, 1.5rem);
  letter-spacing: 0.03em;
  background: var(--color-primary);
  color: var(--color-white);
  border: var(--bw) solid var(--color-border);
  box-shadow: 4px 4px 0 0 var(--color-white);
  padding: 10px clamp(18px, 3vw, 30px);
  transform: skewX(-12deg);
  margin-left: 6px;                      /* room for the skew */
}
.pickup-banner span { display: inline-block; transform: skewX(12deg); }
.branches__cities {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 8px 16px;
  width: 100%;
}
.branches__cities li {
  list-style: none;
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-label);
  font-size: clamp(0.75rem, 1.5vw, 0.9rem);
  color: var(--color-bg-alt);
  min-height: 28px;
}
.branches__cities li::before {
  content: "";
  flex-shrink: 0;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--color-primary);
  border: 2px solid var(--color-white);
}
.branches__note { font-size: 0.9rem; opacity: 0.8; max-width: 46ch; }

/* ---------- 13. FAQ ---------- */
.faq { background: var(--color-bg); }
.faq__head { text-align: center; }
.faq__list { max-width: 820px; margin: clamp(28px, 4vw, 52px) auto 0; display: flex; flex-direction: column; gap: 14px; }
.faq-item { border: var(--bw) solid var(--color-border); background: var(--color-white); box-shadow: var(--shadow-hard); }
.faq-item summary {
  list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  min-height: 56px;
  padding: 14px 18px;
  font-family: var(--font-heading); font-weight: 700; font-size: clamp(0.95rem, 1.8vw, 1.15rem);
  cursor: pointer;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  font-family: var(--font-label); font-size: 1.4rem; font-weight: 700;
  color: var(--color-primary);
  flex-shrink: 0;
  transition: transform var(--t-base);
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p { padding: 0 18px 18px; color: var(--color-text-muted); }

/* ---------- 14. Contact ---------- */
.contact { background: var(--color-bg-alt); border-top: var(--bw) solid var(--color-border); }
.contact__inner { display: flex; flex-direction: column; gap: clamp(28px, 4vw, 56px); }
.contact__info h2 { font-size: var(--fs-h2); margin-bottom: 12px; }
.contact__info > p { max-width: 48ch; margin-bottom: 22px; }
.contact__nap { display: flex; flex-direction: column; gap: 10px; font-size: 0.95rem; }
.contact__nap a { color: var(--color-primary); font-weight: 500; }
.contact__nap .row { display: flex; gap: 10px; align-items: flex-start; }
.contact__nap svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 4px; color: var(--color-primary); }
.contact__wa {
  margin-top: 22px;
  display: flex; align-items: stretch; gap: 12px; flex-wrap: wrap;
}
.social-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; min-height: 48px;
  color: var(--color-white);
  border: var(--bw) solid var(--color-border);
  border-radius: var(--radius-btn);
  box-shadow: var(--shadow-hard);
  transition: transform var(--t-fast), box-shadow var(--t-fast);
}
.social-btn svg { width: 22px; height: 22px; }
.social-btn:active { transform: translate(4px, 4px) scale(0.96); box-shadow: 0 0 0 0 var(--color-border); }
.social-btn--fb { background: #1877f2; }                     /* Facebook brand blue */
.social-btn--ig {                                            /* Instagram brand gradient */
  background: radial-gradient(circle at 30% 110%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
}
@media (hover: hover) and (pointer: fine) {
  .social-btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 0 var(--color-border); }
}

.form {
  background: var(--color-white);
  border: var(--bw) solid var(--color-border);
  box-shadow: var(--shadow-hard-lg);
  padding: clamp(18px, 3vw, 32px);
}
.form h3 { font-size: var(--fs-h3); margin-bottom: 18px; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }  /* paired fields */
.form__group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; min-width: 0; }
.form__group label {
  font-family: var(--font-label); font-size: 0.75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.04em;
}
.form__group input,
.form__group select,
.form__group textarea {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: var(--bw) solid var(--color-border);
  border-radius: 0;
  background: var(--color-bg);
  transition: background-color var(--t-base), box-shadow var(--t-base);
}
.form__group textarea { min-height: 110px; resize: vertical; }
.form__group input:focus,
.form__group select:focus,
.form__group textarea:focus {
  outline: none;
  background: var(--color-white);
  box-shadow: var(--shadow-hard);
}
.form .btn { width: 100%; margin-top: 6px; }
.form__note { font-size: 0.8rem; color: var(--color-text-muted); margin-top: 10px; }
.form__status { margin-top: 12px; font-family: var(--font-label); font-size: 0.85rem; }
.form__status.is-ok { color: #1a7a3c; }
.form__status.is-err { color: var(--color-primary); }
.hp-field { position: absolute; left: -9999px; opacity: 0; height: 0; overflow: hidden; }

.map-embed {
  border: var(--bw) solid var(--color-border);
  box-shadow: var(--shadow-hard);
  aspect-ratio: 16 / 9;
  width: 100%;
  background: var(--color-bg);
}
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }

@media (min-width: 1024px) {
  .contact__inner { display: grid; grid-template-columns: 1fr 1.1fr; align-items: start; }
  .map-embed { grid-column: 1 / -1; }
}

/* ---------- 15. Footer ---------- */
.footer {
  background: var(--color-text); color: var(--color-bg-alt);
  border-top: var(--bw) solid var(--color-primary);
  padding-block: clamp(36px, 5vw, 64px) clamp(20px, 3vw, 32px);
}
.footer__grid {
  display: grid; grid-template-columns: repeat(3, 1fr);   /* Social · Explore · Contact share one row */
  gap: clamp(14px, 3vw, 40px);
}
.footer__brand { grid-column: 1 / -1; }
.footer__brand img { height: clamp(64px, 8vw, 84px); width: auto; background: var(--color-white); border: 2px solid var(--color-border); border-radius: 12px; padding: 6px 12px; margin-bottom: 14px; }
.footer__brand p { max-width: 40ch; font-size: 0.9rem; opacity: 0.85; }
.footer h4 { font-size: clamp(0.85rem, 2vw, 1rem); color: var(--color-accent); margin-bottom: 8px; }
.footer__col { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.footer__col a {
  text-decoration: none; font-size: clamp(0.8rem, 1.8vw, 0.9rem); opacity: 0.85;
  min-height: 36px; display: inline-flex; align-items: center;
  overflow-wrap: anywhere;
  transition: color var(--t-base), opacity var(--t-base);
}
.footer__col a:active { color: var(--color-accent); }
@media (hover: hover) and (pointer: fine) {
  .footer__col a:hover { color: var(--color-accent); opacity: 1; }
}
.footer__bottom {
  margin-top: clamp(24px, 4vw, 44px);
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 18px;
  font-size: 0.85rem; text-align: center;
}
.footer__credit { font-size: 0.85rem; opacity: 0.75; }
.footer__credit a { color: var(--color-accent); text-decoration: underline; }
@media (min-width: 768px) {
  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .footer__brand { grid-column: auto; }
}

/* ---------- 16. Gear page ---------- */
.page-head {
  background: var(--color-bg-alt);
  border-bottom: var(--bw) solid var(--color-border);
  padding-block: clamp(32px, 5vw, 64px);
}
.page-head h1 { font-size: clamp(2rem, 5.5vw, 3.75rem); font-weight: 800; }
.page-head p {
  display: inline-block; margin-top: 14px;
  background: var(--color-accent);
  border: var(--bw) solid var(--color-border);
  padding: 6px 12px;
  font-size: var(--fs-body-lg);
}

.filters {
  position: sticky; top: 67px; z-index: 60;    /* below navbar */
  background: var(--color-bg);
  border-bottom: var(--bw) solid var(--color-border);
  padding-block: 10px;
}
/* Mobile: two native dropdowns side by side */
.filters__selects {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.filters__select-wrap { position: relative; min-width: 0; }
.filters__select-wrap::after {
  content: "";
  position: absolute; right: 12px; top: 50%;
  width: 10px; height: 10px;
  border-right: 3px solid var(--color-primary);
  border-bottom: 3px solid var(--color-primary);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}
.filters__select-wrap select {
  width: 100%;
  min-height: 48px;
  appearance: none;
  -webkit-appearance: none;
  font-family: var(--font-label);
  font-size: 1rem;                       /* 16px: no iOS zoom */
  font-weight: 700;
  background: var(--color-white);
  color: var(--color-text);
  border: var(--bw) solid var(--color-border);
  border-radius: 0;
  box-shadow: var(--shadow-hard);
  padding: 10px 36px 10px 12px;
}
.filters__row { display: none; }

@media (min-width: 768px) {
  .filters__selects { display: none; }
  .filters__row {
    display: flex; align-items: center; gap: 10px;
    min-width: 0;
  }
  .filters__row + .filters__row { margin-top: 8px; }
}
.filters__label {
  flex-shrink: 0;
  width: 64px;                           /* equal label column, rows align */
  text-align: center;
  font-family: var(--font-label); font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.05em;
  background: var(--color-text); color: var(--color-white);
  border: 2px solid var(--color-border);
  padding: 8px 0;
}
.filters__scroll {
  display: flex; gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;                 /* one clean swipeable strip per row */
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: x proximity;
  padding: 2px;
  min-width: 0;
}
.filters__scroll::-webkit-scrollbar { display: none; }
.chip {
  flex-shrink: 0;
  scroll-snap-align: start;
  min-height: 44px;
  padding: 8px 16px;
  font-family: var(--font-label); font-size: 0.75rem; font-weight: 500;
  letter-spacing: 0.02em;
  background: var(--color-white);
  border: 2px solid var(--color-border);
  transition: transform var(--t-fast), background-color var(--t-base), color var(--t-base), box-shadow var(--t-fast);
}
.chip:active { transform: scale(0.96); }
.chip.is-active {
  background: var(--color-primary); color: var(--color-white);
  font-weight: 700;
  box-shadow: 2px 2px 0 0 var(--color-border);
}
@media (hover: hover) and (pointer: fine) {
  .chip:hover:not(.is-active) { background: var(--color-accent); }
}
@media (min-width: 1024px) {
  .filters { top: 84px; padding-block: 14px; }
  .filters__label { width: 76px; font-size: 0.75rem; }
  .chip { font-size: 0.8rem; }
}

.catalog { padding-block: clamp(32px, 5vw, 64px); }
.catalog__grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(12px, 2vw, 28px);
}
.catalog__grid .p-card--featured {
  grid-column: 1 / -1;
  flex-direction: row;
  gap: clamp(12px, 2vw, 24px);
  align-items: stretch;
}
.catalog__grid .p-card--featured .p-card__media {
  flex: 0 0 40%;
  max-width: 300px;
  aspect-ratio: 4 / 5;
  margin-bottom: 0;
}
.catalog__grid .p-card--featured .p-card__body {
  flex: 1;
  display: flex; flex-direction: column; align-items: flex-start;
  min-width: 0;
}
.catalog__grid .p-card--featured .p-card__body .tag { margin-top: 4px; }
.catalog__grid .p-card--featured .p-card__desc { display: block; }
.catalog__grid .p-card--featured .p-card__foot { width: 100%; }
.catalog__empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 48px 20px;
  border: var(--bw) dashed var(--color-border);
  font-family: var(--font-label);
}
@media (min-width: 1024px) {
  .catalog__grid { grid-template-columns: repeat(3, 1fr); }
}

/* CTA band */
.cta-band {
  background: var(--color-primary); color: var(--color-white);
  border-block: var(--bw) solid var(--color-border);
  text-align: center;
  padding-block: clamp(40px, 6vw, 80px);
}
.cta-band h2 { font-size: var(--fs-h2); margin-bottom: 12px; }
.cta-band p { max-width: 52ch; margin: 0 auto 24px; font-size: var(--fs-body-lg); }

/* ---------- 16b. Product detail modal ---------- */
.p-card { cursor: pointer; }

.gear-modal {
  position: fixed; inset: 0; z-index: 200;
  display: flex; align-items: flex-end; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 240ms var(--ease-out);
}
.gear-modal.is-open { opacity: 1; pointer-events: auto; }
.gear-modal__overlay {
  position: absolute; inset: 0;
  background: rgba(0, 0, 0, 0.72);
}
.gear-modal__dialog {
  position: relative;
  width: 100%;
  max-height: 92dvh;
  background: var(--color-bg);
  border: var(--bw) solid var(--color-border);
  border-bottom: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  transform: translateY(28px);
  transition: transform 280ms var(--ease-out);
  padding: clamp(16px, 3vw, 32px);
}
.gear-modal.is-open .gear-modal__dialog { transform: translateY(0); }
.gear-modal__close {
  position: sticky; top: 0; float: right; z-index: 2;
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  background: var(--color-primary); color: var(--color-white);
  border: var(--bw) solid var(--color-border);
  box-shadow: var(--shadow-hard);
  transition: transform var(--t-fast), box-shadow var(--t-fast);
}
.gear-modal__close:active { transform: translate(3px, 3px) scale(0.96); box-shadow: 0 0 0 0 var(--color-border); }
.gear-modal__close svg { width: 20px; height: 20px; }

.gear-modal__grid { display: flex; flex-direction: column; gap: clamp(16px, 2.5vw, 28px); }

.gear-modal__main {
  width: 100%;
  height: 38dvh;                     /* compact on mobile, poster letterboxed */
  object-fit: contain;
  background: var(--color-white);
  border: var(--bw) solid var(--color-border);
}
.gear-modal__thumbs {
  display: flex; gap: 8px;
  overflow-x: auto;
  scrollbar-width: none;
  padding: 2px;
}
.gear-modal__thumbs::-webkit-scrollbar { display: none; }
.gear-modal__thumb {
  flex-shrink: 0;
  width: 64px; height: 80px;
  padding: 0;
  border: 2px solid var(--color-border);
  background: var(--color-white);
  opacity: 0.65;
  transition: opacity var(--t-base), transform var(--t-fast);
}
.gear-modal__thumb img { width: 100%; height: 100%; object-fit: cover; }
.gear-modal__thumb:active { transform: scale(0.94); }
.gear-modal__thumb.is-active {
  opacity: 1;
  border-color: var(--color-primary);
  box-shadow: 2px 2px 0 0 var(--color-border);
}
.gear-modal__thumb--video { position: relative; }
.gear-modal__thumb--video::after {
  content: "";
  position: absolute; inset: 0; margin: auto;
  width: 0; height: 0;
  border-left: 14px solid var(--color-white);
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  filter: drop-shadow(0 0 3px rgba(0, 0, 0, 0.85));
  pointer-events: none;
}
.gear-modal__vid { object-fit: contain; background: #000; cursor: default; }

.gear-modal__head {
  display: flex; flex-direction: column; align-items: flex-start; gap: 8px;
  margin: 4px 0 16px;
  padding-right: 56px;               /* clear the close button */
}
.gear-modal__head h3 { font-size: var(--fs-h2); line-height: 1.1; }
.gear-modal__info { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.gear-modal__tagline { font-size: var(--fs-body-lg); color: var(--color-text-muted); }
.gear-modal__feats { margin: 4px 0; display: flex; flex-direction: column; gap: 8px; }
.gear-modal__feats li {
  list-style: none;
  display: flex; align-items: flex-start; gap: 10px;
  font-size: 0.95rem;
}
.gear-modal__feats li::before {
  content: "";
  flex-shrink: 0;
  margin-top: 6px;
  width: 10px; height: 10px;
  background: var(--color-primary);
  border: 2px solid var(--color-border);
}
.gear-modal__rate {
  font-family: var(--font-label); font-size: 0.8rem;
  background: var(--color-accent);
  border: 2px solid var(--color-border);
  padding: 6px 10px;
}
/* Booking mini-form: pickup/return dates + requests + WhatsApp confirm */
.gear-modal__booking {
  display: flex; flex-direction: column; gap: 10px;
  width: 100%;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 2px solid var(--color-bg-alt);
}
.gear-modal__booking-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
}
.gear-modal__field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.gear-modal__field label {
  font-family: var(--font-label); font-size: 0.7rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.04em;
}
.gear-modal__field input,
.gear-modal__field textarea {
  width: 100%;
  min-height: 48px;
  padding: 10px 12px;
  border: var(--bw) solid var(--color-border);
  border-radius: 0;
  background: var(--color-white);
  transition: background-color var(--t-base), box-shadow var(--t-base);
}
.gear-modal__field textarea { min-height: 64px; resize: vertical; }
.gear-modal__err {
  font-family: var(--font-label);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--color-primary);
}
.gear-modal__field input:focus,
.gear-modal__field textarea:focus {
  outline: none;
  background: var(--color-white);
  box-shadow: var(--shadow-hard);
}
.gear-modal__booking .btn { width: 100%; }

@media (min-width: 768px) {
  .gear-modal { align-items: center; padding: 24px; }
  /* Desktop: everything fits, no scrolling. The dialog is one grid:
     head spans the top, gallery left, info + actions right. */
  .gear-modal__dialog {
    position: relative;
    max-width: 1140px;
    width: calc(100% - 48px);
    max-height: 92vh;
    overflow-y: auto;              /* booking fields can extend the column */
    border-bottom: var(--bw) solid var(--color-border);
    box-shadow: var(--shadow-hard-lg);
    padding: clamp(24px, 3vw, 36px);
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    grid-template-rows: auto 1fr auto;
    grid-template-areas:
      "head    head"
      "gallery info"
      "gallery booking";
    gap: 18px clamp(28px, 3.5vw, 48px);
  }
  .gear-modal__grid { display: contents; }
  .gear-modal__head { grid-area: head; margin: 0; }
  .gear-modal__gallery { grid-area: gallery; width: fit-content; }
  .gear-modal__info { grid-area: info; }
  .gear-modal__main {
    height: min(46vh, 500px);       /* sized to the viewport so nothing overflows */
    width: auto;
    aspect-ratio: 4 / 5;
  }
  .gear-modal__thumbs { flex-wrap: wrap; max-width: calc(min(46vh, 500px) * 0.8); }
  .gear-modal__thumb { width: 64px; height: 80px; }
  .gear-modal__head h3 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); }
  .gear-modal__close { position: absolute; top: 18px; right: 18px; float: none; }
  .gear-modal__booking {
    grid-area: booking;
    align-self: end;
    margin-top: 0;
    padding-top: 0;
    border-top: 0;
  }
}

/* Main image zooms into the lightbox */
.gear-modal__main { cursor: zoom-in; }

/* ---------- 16c. Poster lightbox ---------- */
.gear-lightbox {
  position: fixed; inset: 0; z-index: 300;
  display: flex; align-items: center; justify-content: center;
  background: rgba(0, 0, 0, 0.9);
  opacity: 0; pointer-events: none;
  transition: opacity 220ms var(--ease-out);
}
.gear-lightbox.is-open { opacity: 1; pointer-events: auto; }
.gear-lightbox__img {
  max-width: min(92vw, 900px);
  max-height: 86dvh;
  width: auto; height: auto;
  object-fit: contain;
  border: var(--bw) solid var(--color-border);
  background: var(--color-white);
  box-shadow: var(--shadow-hard-lg);
}
.gear-lightbox__close {
  position: absolute; top: 16px; right: 16px;
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px;
  background: var(--color-primary); color: var(--color-white);
  border: var(--bw) solid var(--color-border);
  box-shadow: var(--shadow-hard);
  transition: transform var(--t-fast), box-shadow var(--t-fast);
}
.gear-lightbox__close:active { transform: translate(3px, 3px) scale(0.96); box-shadow: 0 0 0 0 var(--color-border); }
.gear-lightbox__close svg { width: 22px; height: 22px; }
.gear-lightbox__nav {
  position: absolute; top: 50%;
  transform: translateY(-50%);
  display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px;
  background: var(--color-bg); color: var(--color-text);
  border: var(--bw) solid var(--color-border);
  box-shadow: var(--shadow-hard);
  transition: transform var(--t-fast), box-shadow var(--t-fast), background-color var(--t-base);
}
.gear-lightbox__nav svg { width: 24px; height: 24px; }
.gear-lightbox__nav--prev { left: clamp(8px, 3vw, 40px); }
.gear-lightbox__nav--next { right: clamp(8px, 3vw, 40px); }
.gear-lightbox__nav:active { transform: translateY(-50%) scale(0.92); box-shadow: 0 0 0 0 var(--color-border); }
@media (hover: hover) and (pointer: fine) {
  .gear-lightbox__nav:hover { background: var(--color-accent); }
}
.gear-lightbox__count {
  position: absolute; bottom: 18px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-label); font-size: 0.85rem; font-weight: 700;
  background: var(--color-text); color: var(--color-white);
  border: 2px solid var(--color-white);
  padding: 6px 14px;
}

/* ---------- 16d. Google reviews ---------- */
.reviews {
  background: var(--color-bg-alt);
  border-top: var(--bw) solid var(--color-border);
  border-bottom: var(--bw) solid var(--color-border);
}
.reviews__head { text-align: center; }
.reviews__head .sticker { margin-bottom: 14px; }
.reviews__stars-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--color-white);
}
.reviews__stars-badge .stars { color: var(--color-accent-dark); letter-spacing: 2px; }
.reviews__sub {
  margin-top: 12px;
  color: var(--color-text-muted);
  font-size: var(--fs-body-lg);
}
.reviews__track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: min(82%, 320px);
  gap: clamp(12px, 2vw, 24px);
  margin-top: clamp(28px, 4vw, 52px);
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
  /* no scroll-snap: the strip auto-scrolls at a constant speed */
  padding: 6px 4px 14px;
}
.reviews__track::-webkit-scrollbar { display: none; }
@media (min-width: 768px) {
  .reviews__track { grid-auto-columns: 340px; }
}
.review-card {
  display: flex; flex-direction: column; gap: 10px;
  background: var(--color-white);
  border: var(--bw) solid var(--color-border);
  box-shadow: var(--shadow-hard);
  padding: clamp(14px, 2vw, 20px);
}
.review-card:nth-child(4n+2) { transform: rotate(0.7deg); }
.review-card:nth-child(4n+3) { transform: rotate(-0.7deg); }
.review-card__top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.review-card__stars {
  color: var(--color-accent-dark);
  font-size: 1.05rem;
  letter-spacing: 3px;
  line-height: 1;
}
.review-card__g {
  flex-shrink: 0;
  width: 26px; height: 26px;
}
.review-card__text {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  display: -webkit-box;
  -webkit-line-clamp: 8;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.review-card__meta {
  margin-top: auto;
  display: flex; justify-content: space-between; align-items: baseline; gap: 8px;
  border-top: 2px solid var(--color-bg-alt);
  padding-top: 10px;
}
.review-card__name { font-family: var(--font-heading); font-weight: 800; font-size: 0.95rem; }
.review-card__time { font-family: var(--font-label); font-size: 0.7rem; color: var(--color-text-muted); white-space: nowrap; }
.reviews__hint {
  display: block;
  text-align: center;
  margin-top: 4px;
  font-family: var(--font-label);
  font-size: 0.7rem;
  color: var(--color-text-muted);
}
.reviews__cta { text-align: center; margin-top: clamp(20px, 3vw, 32px); }

/* ---------- 16e. Customer gallery page ---------- */
.gallery { padding-block: clamp(32px, 5vw, 64px); }
.gallery__grid {
  columns: 2;
  column-gap: clamp(12px, 2vw, 24px);
}
@media (min-width: 768px)  { .gallery__grid { columns: 3; } }
@media (min-width: 1200px) { .gallery__grid { columns: 4; } }
.gallery-item {
  break-inside: avoid;
  margin-bottom: clamp(12px, 2vw, 24px);
  background: var(--color-white);
  border: var(--bw) solid var(--color-border);
  box-shadow: var(--shadow-hard);
  padding: clamp(6px, 1vw, 10px);
  cursor: zoom-in;
  transition: transform var(--t-base), box-shadow var(--t-base);
}
.gallery-item:nth-child(5n+2) { transform: rotate(0.6deg); }
.gallery-item:nth-child(5n+4) { transform: rotate(-0.6deg); }
.gallery-item:active { transform: scale(0.97); }
.gallery-item img {
  width: 100%; height: auto;
  border: 2px solid var(--color-border);
}
@media (hover: hover) and (pointer: fine) {
  .gallery-item:hover { transform: rotate(0deg) translate(-2px, -4px); box-shadow: var(--shadow-hard-lg); }
}

/* ---------- 17. Motion / reveal states ---------- */
.reveal { opacity: 0; transform: translateY(24px); }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
}
