/* ==========================================================================
   Avid Borneo — site styles
   Brand colours come from the Avid Borneo logo (ironwood brown, proboscis
   orange, rainforest green, cream). All colours are tokens; edit them here.
   ========================================================================== */

:root {
  /* Brand */
  --brown-900: #3A140D;
  --brown: #521D14;
  --orange: #D2421A;          /* buttons / fills (white text 4.6:1) */
  --orange-text: #B8360F;     /* small orange text on paper (5.5:1) */
  --orange-300: #FF773A;      /* accents on dark backgrounds */
  --green: #1C4A2E;
  --green-900: #12301E;
  --cream: #FDDCAE;

  /* Surfaces & text */
  --paper: #FBF6EE;
  --sand: #F3EADB;
  --card: #FFFFFF;
  --ink: #2B1A14;
  --muted: #6E5A50;
  --line: #E7DCCB;

  /* Type */
  --font-display: "Archivo", "Arial Black", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Shape & depth */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --shadow-sm: 0 1px 2px rgb(58 20 13 / .06), 0 2px 8px rgb(58 20 13 / .06);
  --shadow-md: 0 8px 24px rgb(58 20 13 / .10);
  --shadow-lg: 0 24px 48px rgb(58 20 13 / .16);

  /* Layout */
  --container: 1200px;
  --gutter: clamp(16px, 4vw, 32px);
  --section: clamp(72px, 10vw, 128px);

  /* Motion */
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --t-fast: 160ms;
  --t-med: 280ms;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-stretch: 112%;
  line-height: 1.08;
  letter-spacing: -0.015em;
  margin: 0;
  text-wrap: balance;
}
p { margin: 0; }
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.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;
}
.icon { width: 1.25em; height: 1.25em; flex: none; stroke: currentColor; fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.icon-fill { fill: currentColor; stroke: none; }

:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }
.on-dark :focus-visible, .on-dark:focus-visible { outline-color: var(--cream); }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 1000;
  background: var(--brown); color: #fff; padding: 12px 18px; border-radius: var(--r-sm);
  text-decoration: none; font-weight: 600; transition: top var(--t-fast);
}
.skip-link:focus { top: 16px; }

/* ---------- Eyebrow: echoes the spaced "B O R N E O" in the logo ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: .78rem; font-weight: 600; letter-spacing: .32em; text-transform: uppercase;
  color: var(--orange-text);
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: currentColor; border-radius: 2px; }
.on-dark .eyebrow { color: var(--orange-300); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px; border-radius: 999px; border: 2px solid transparent;
  font-weight: 600; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background-color var(--t-fast), color var(--t-fast), border-color var(--t-fast), transform var(--t-fast) var(--ease-out);
  touch-action: manipulation;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: #B8360F; }
.btn-dark { background: var(--brown); color: #fff; }
.btn-dark:hover { background: var(--brown-900); }
.btn-ghost { border-color: var(--line); background: var(--card); color: var(--brown); }
.btn-ghost:hover { border-color: var(--brown); }
.btn-cream { background: var(--cream); color: var(--brown-900); }
.btn-cream:hover { background: #fff; }
.btn-whatsapp { background: #1F7A4D; color: #fff; }
.btn-whatsapp:hover { background: #17603C; }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 16px 0 auto; z-index: 100; pointer-events: none;
}
.nav-bar {
  pointer-events: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto;
  background: rgb(255 255 255 / .94); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
  border-radius: 999px; padding: 8px 8px 8px 20px; box-shadow: var(--shadow-sm);
  transition: box-shadow var(--t-med);
}
.site-header.is-scrolled .nav-bar { box-shadow: var(--shadow-md); }
.brand { display: inline-flex; align-items: center; }
.brand img { height: 44px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px; border-radius: 999px;
  text-decoration: none; font-weight: 500; font-size: .95rem; color: var(--ink);
  transition: background-color var(--t-fast), color var(--t-fast);
}
.nav-links a:hover { background: var(--sand); }
.nav-links a[aria-current="page"], .nav-links a.is-active { color: var(--orange-text); }
.nav-cta { display: flex; align-items: center; gap: 8px; }
.nav-toggle {
  display: none; width: 48px; height: 48px; border-radius: 50%; border: 0; background: var(--sand);
  color: var(--brown); cursor: pointer; align-items: center; justify-content: center;
}

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .nav-cta .btn { display: none; }
  .nav-menu {
    position: absolute; top: calc(100% + 8px); left: var(--gutter); right: var(--gutter);
    background: var(--card); border-radius: var(--r-lg); padding: 12px; box-shadow: var(--shadow-lg);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity var(--t-fast), transform var(--t-fast) var(--ease-out), visibility 0s linear var(--t-fast);
  }
  .nav-menu.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
  .nav-links { flex-direction: column; align-items: stretch; }
  .nav-links a { min-height: 52px; font-size: 1.05rem; }
  .nav-menu .btn { display: flex; margin-top: 8px; width: 100%; }
}
@media (min-width: 961px) { .nav-menu .menu-only { display: none; } }

/* ---------- Hero ---------- */
.hero { padding: 12px 12px 0; }
.hero-frame {
  position: relative; isolation: isolate; overflow: hidden;
  min-height: min(92dvh, 860px); border-radius: var(--r-xl);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 140px var(--gutter) clamp(120px, 14vw, 150px);
  color: #fff;
}
.hero-frame > img {
  position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center 30%;
}
.hero-frame::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgb(18 48 30 / .35) 0%, rgb(18 48 30 / 0) 30%),
    linear-gradient(0deg, rgb(30 12 8 / .82) 0%, rgb(30 12 8 / .35) 45%, rgb(30 12 8 / 0) 70%);
}
.hero-inner { width: min(100%, var(--container)); margin-inline: auto; }

/* Homepage hero: keep the landscape bright; shade only behind the text */
.home-hero .hero-frame > img { object-position: 50% 24%; }
.home-hero .hero-frame::after {
  background:
    /* soft pool of shade behind the headline, lead and search */
    radial-gradient(ellipse 72% 92% at 14% 58%, rgb(14 22 17 / .6) 0%, rgb(14 22 17 / .4) 45%, rgb(14 22 17 / 0) 74%),
    /* gentle fade where the stats cards overlap */
    linear-gradient(0deg, rgb(20 16 12 / .30) 0%, rgb(20 16 12 / 0) 22%);
}
@media (max-width: 760px) {
  /* text spans the full width on phones: shade from the bottom up, peak stays clear */
  .home-hero .hero-frame > img { object-position: 46% 18%; }
  .home-hero .hero-frame::after {
    background: linear-gradient(0deg, rgb(14 22 17 / .72) 0%, rgb(14 22 17 / .5) 50%, rgb(14 22 17 / .32) 80%, rgb(14 22 17 / .18) 100%);
  }
}
.hero .eyebrow { color: var(--cream); text-shadow: 0 1px 14px rgb(20 12 8 / .85), 0 0 3px rgb(20 12 8 / .7); }
.hero h1, .hero-lead { text-shadow: 0 2px 24px rgb(30 12 8 / .35); }
.hero h1 {
  margin-top: 18px; font-size: clamp(2.6rem, 7.4vw, 6rem); font-weight: 800; font-stretch: 118%;
  max-width: 12ch; letter-spacing: -0.03em;
}
.hero h1 em { font-style: normal; color: var(--orange-300); }
.hero-lead { margin-top: 18px; max-width: 46ch; font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: rgb(255 255 255 / .9); }

.trip-search {
  margin-top: 32px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) auto; gap: 6px;
  background: rgb(255 255 255 / .96); color: var(--ink); border-radius: 22px; padding: 6px; max-width: 860px;
  box-shadow: var(--shadow-lg);
}
.trip-search .field { display: flex; flex-direction: column; justify-content: center; padding: 8px 16px; border-radius: 16px; position: relative; min-width: 0; }
.trip-search select { width: 100%; text-overflow: ellipsis; }
.trip-search .field + .field::before {
  content: ""; position: absolute; left: -3px; top: 14px; bottom: 14px; width: 1px; background: var(--line);
}
.trip-search label { display: flex; align-items: center; gap: 6px; font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.trip-search select {
  appearance: none; border: 0; background: transparent; padding: 4px 22px 4px 0; min-height: 32px;
  font-weight: 600; font-size: 1rem; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23521D14' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right center; background-size: 16px;
}
.trip-search select:focus-visible { outline-offset: 6px; }
.trip-search .btn { min-height: 56px; border-radius: 16px; padding: 0 28px; }

@media (max-width: 760px) {
  .hero { padding: 8px 8px 0; }
  .hero-frame { border-radius: var(--r-lg); padding-top: 120px; }
  .trip-search { grid-template-columns: 1fr 1fr; }
  .trip-search .field:first-child { grid-column: 1 / -1; }
  .trip-search .field + .field::before { display: none; }
  .trip-search .btn { grid-column: 1 / -1; }
}

/* ---------- Stats (overlaps hero, like the reference) ---------- */
.stats {
  position: relative; z-index: 2; margin-top: clamp(-80px, -7vw, -56px); margin-bottom: 0; padding: 0; list-style: none;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px;
}
.stat {
  background: var(--card); border-radius: var(--r-md); padding: 22px 20px; text-align: center; box-shadow: var(--shadow-md);
}
.stat strong { display: block; font-family: var(--font-display); font-stretch: 115%; font-size: clamp(1.6rem, 3vw, 2.25rem); font-weight: 800; color: var(--brown); line-height: 1.1; font-variant-numeric: tabular-nums; }
.stat span { display: block; margin-top: 6px; font-size: .88rem; color: var(--muted); }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Sections ---------- */
.section { padding-block: var(--section); }
.section-head { display: grid; grid-template-columns: 1.1fr .9fr; gap: 24px 48px; align-items: end; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head h2 { margin-top: 14px; font-size: clamp(2rem, 4.4vw, 3.25rem); font-weight: 800; color: var(--brown); }
.section-head p { color: var(--muted); max-width: 46ch; justify-self: end; }
.section-head.center { grid-template-columns: 1fr; text-align: center; justify-items: center; }
.section-head.center p { justify-self: center; }
@media (max-width: 760px) {
  .section-head { grid-template-columns: 1fr; }
  .section-head p { justify-self: start; }
}

/* ---------- Destinations mosaic ---------- */
.dest-grid { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: clamp(220px, 24vw, 300px); gap: 14px; }
.dest {
  position: relative; overflow: hidden; border-radius: var(--r-md); grid-column: span 4;
  color: #fff; text-decoration: none; isolation: isolate; background: var(--brown);
}
.dest.wide { grid-column: span 8; }
.dest img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform 700ms var(--ease-out); }
.dest::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgb(30 12 8 / .78), rgb(30 12 8 / 0) 58%); }
.dest:hover img { transform: scale(1.05); }
.dest-body { position: absolute; left: 20px; right: 20px; bottom: 18px; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.dest-body small { display: flex; align-items: center; gap: 6px; font-size: .82rem; color: rgb(255 255 255 / .85); }
.dest-body h3 { margin-top: 4px; font-size: clamp(1.15rem, 1.8vw, 1.45rem); font-weight: 700; }
.dest-arrow {
  width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: rgb(255 255 255 / .18); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  transition: background-color var(--t-fast), color var(--t-fast);
}
.dest:hover .dest-arrow { background: var(--cream); color: var(--brown); }
@media (max-width: 860px) {
  .dest, .dest.wide { grid-column: span 6; }
  .dest.wide:first-child { grid-column: span 12; }
}
@media (max-width: 560px) {
  .dest-grid { grid-auto-rows: 240px; }
  .dest, .dest.wide, .dest.wide:first-child { grid-column: span 12; }
}

/* ---------- Explore Borneo: interactive map ---------- */
.explore { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, .85fr); gap: clamp(24px, 4vw, 56px); align-items: center; margin-bottom: 28px; }
.map-card { position: relative; background: #E4EDE6; border-radius: var(--r-xl); padding: clamp(14px, 2vw, 22px); overflow: hidden; }
.region-tabs { position: relative; z-index: 1; display: inline-flex; gap: 4px; padding: 4px; background: rgb(255 255 255 / .85); border-radius: 999px; box-shadow: var(--shadow-sm); }
.region-tab {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border: 0; border-radius: 999px;
  background: transparent; font-weight: 600; color: var(--brown); cursor: pointer;
  transition: background-color var(--t-fast), color var(--t-fast);
}
.region-tab:hover { background: var(--sand); }
.region-tab[aria-selected="true"][data-region="sabah"] { background: var(--orange); color: #fff; }
.region-tab[aria-selected="true"][data-region="sarawak"] { background: var(--green); color: #fff; }
.dot { width: 10px; height: 10px; border-radius: 50%; flex: none; box-shadow: 0 0 0 2px #fff; }
.dot-sabah { background: var(--orange); }
.dot-sarawak { background: var(--green); }

.borneo-map { display: block; width: 100%; height: auto; margin-top: -18px; }
.borneo-map .sea { font: italic 500 12px var(--font-body); fill: #6F8C7C; letter-spacing: .06em; }
.borneo-map .land-other { fill: #F1E9DB; stroke: #D6C6AD; stroke-width: .8; }
.borneo-map .country { font: 600 8.5px var(--font-body); letter-spacing: .32em; fill: #A8957A; }
.borneo-map .country.small { text-anchor: middle; font-size: 7px; letter-spacing: .2em; }
.borneo-map .region { cursor: pointer; }
.borneo-map .region path { stroke: #fff; stroke-width: 1.2; stroke-linejoin: round; transition: fill var(--t-med), filter var(--t-med); }
.borneo-map .region-sabah path { fill: #EDB9A3; }
.borneo-map .region-sarawak path { fill: #A8C3B0; }
.borneo-map .region-sabah:hover path { fill: #E48F6C; }
.borneo-map .region-sarawak:hover path { fill: #6F9A7E; }
.borneo-map[data-active="sabah"] .region-sabah path { fill: var(--orange); filter: drop-shadow(0 6px 10px rgb(82 29 20 / .25)); }
.borneo-map[data-active="sarawak"] .region-sarawak path { fill: var(--green); filter: drop-shadow(0 6px 10px rgb(18 48 30 / .3)); }
.borneo-map .state-label {
  font-family: var(--font-display); font-stretch: 118%; font-weight: 800; font-size: 17px; letter-spacing: .26em; text-anchor: middle;
  fill: var(--brown); opacity: .55; pointer-events: none; transition: fill var(--t-med), opacity var(--t-med);
}
.borneo-map[data-active="sabah"] .region-sabah .state-label,
.borneo-map[data-active="sarawak"] .region-sarawak .state-label { fill: #fff; opacity: .95; }

.borneo-map .pins { pointer-events: none; }
.borneo-map .pin { opacity: 0; transform-box: fill-box; transform-origin: center; transform: translateY(4px); transition: opacity 220ms var(--ease-out), transform 220ms var(--ease-out); }
.borneo-map[data-active="sabah"] .pins-sabah .pin,
.borneo-map[data-active="sarawak"] .pins-sarawak .pin { opacity: 1; transform: none; transition-delay: calc(var(--i) * 45ms + 120ms); }
.borneo-map .pin-halo { fill: #fff; opacity: .45; }
.borneo-map .pin-dot { fill: var(--brown-900); stroke: #fff; stroke-width: 1.5; }
.borneo-map .pin text { font: 600 12.5px var(--font-body); fill: var(--ink); paint-order: stroke; stroke: rgb(255 255 255 / .9); stroke-width: 3px; stroke-linejoin: round; }
.borneo-map[data-active="sarawak"] .pins-sarawak .pin text,
.borneo-map[data-active="sabah"] .pins-sabah .pin text { fill: var(--ink); }

.map-hint { margin: 2px 0 0 6px; display: flex; align-items: center; gap: 6px; font-size: .82rem; color: #4F6B5C; }
.map-hint .icon { width: 16px; height: 16px; }

.region-panel { animation: fade-in var(--t-med) var(--ease-out); }
.region-panel[hidden], .region-gallery[hidden] { display: none; }
.region-panel h3 { margin-top: 12px; font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; color: var(--brown); }
.region-panel > p { margin-top: 14px; color: var(--muted); max-width: 46ch; }
.region-facts { margin: 22px 0 26px; display: grid; gap: 0; border-top: 1px solid var(--line); }
.region-facts div { display: grid; grid-template-columns: 110px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.region-facts dt { font-size: .78rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); padding-top: 2px; }
.region-facts dd { margin: 0; font-weight: 600; color: var(--ink); }
#panel-sarawak .eyebrow { color: var(--green); }
.btn-sarawak { background: var(--green); color: #fff; }
.btn-sarawak:hover { background: var(--green-900); }
.region-gallery:not([hidden]) { animation: fade-in 360ms var(--ease-out); }

@media (max-width: 900px) {
  .explore { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .map-card { border-radius: var(--r-lg); padding: 12px; }
  .borneo-map { margin-top: 0; }
  .borneo-map .sea, .borneo-map .country { display: none; }
  .borneo-map .pin text { font-size: 15px; stroke-width: 3.5px; }
  .region-tabs { display: flex; }
  .region-tab { flex: 1; justify-content: center; }
}

/* ---------- How it works ---------- */
.how { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.how-media { position: relative; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 5; }
.how-media img { width: 100%; height: 100%; object-fit: cover; }
.how-note {
  position: absolute; left: 16px; right: 16px; bottom: 16px; background: rgb(255 255 255 / .95);
  border-radius: var(--r-md); padding: 16px 18px; display: flex; gap: 14px; align-items: center; box-shadow: var(--shadow-md);
}
.how-note img { width: 56px; height: 56px; border-radius: 50%; object-fit: contain; background: var(--sand); flex: none; }
.how-note p { font-size: .92rem; color: var(--muted); }
.how-note strong { color: var(--brown); display: block; font-size: 1rem; }
.how h2 { margin-top: 14px; font-size: clamp(2rem, 4.4vw, 3.25rem); font-weight: 800; color: var(--brown); }
.how-lead { margin-top: 14px; color: var(--muted); max-width: 48ch; }
.steps { list-style: none; margin: 28px 0 0; padding: 0; display: grid; gap: 8px; counter-reset: step; }
.step {
  display: grid; grid-template-columns: 48px 1fr; gap: 16px; padding: 18px; border-radius: var(--r-md);
  border: 1px solid transparent; transition: background-color var(--t-med), border-color var(--t-med), box-shadow var(--t-med);
}
.step:hover, .step.is-active { background: var(--card); border-color: var(--line); box-shadow: var(--shadow-sm); }
.step-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--sand); color: var(--brown); }
.step.is-active .step-icon { background: var(--orange); color: #fff; }
.step h3 { font-family: var(--font-body); font-stretch: 100%; font-size: 1.08rem; font-weight: 700; letter-spacing: 0; color: var(--ink); }
.step p { margin-top: 4px; font-size: .94rem; color: var(--muted); }
@media (max-width: 860px) {
  .how { grid-template-columns: 1fr; }
  .how-media { aspect-ratio: 4 / 3; }
}

/* ---------- How it works: booking journey ---------- */
.how-intro { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 64px); align-items: center; }
.how-intro .how-media { aspect-ratio: 3 / 2; }
.how-intro .how-media > img { object-position: center 35%; }
.how-copy h2 { margin-top: 14px; font-size: clamp(2rem, 4.4vw, 3.25rem); font-weight: 800; color: var(--brown); }
.how-points { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 10px; }
.how-points li { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--ink); }
.how-points .icon { width: 22px; height: 22px; padding: 3px; border-radius: 50%; background: #E7F4EC; color: #1F7A4D; stroke-width: 2.5; }

.journey { list-style: none; margin: clamp(40px, 6vw, 64px) 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; position: relative; }
.journey::before {
  /* the dashed route joining the four numbers */
  content: ""; position: absolute; top: 24px; left: 12.5%; right: 12.5%; height: 0;
  border-top: 2px dashed rgb(210 66 26 / .45); z-index: 0;
}
.journey-step { position: relative; display: flex; flex-direction: column; z-index: 1; }
.journey-marker { display: flex; justify-content: center; }
.journey-num {
  width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center;
  background: var(--orange); color: #fff; font-family: var(--font-display); font-stretch: 115%; font-weight: 800; font-size: 1.3rem;
  box-shadow: 0 0 0 8px var(--paper), var(--shadow-md);
}
.journey-card {
  flex: 1; margin-top: 20px; display: flex; flex-direction: column; gap: 10px; padding: 22px; border-radius: var(--r-lg);
  background: var(--card); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: box-shadow var(--t-med), transform var(--t-med) var(--ease-out), border-color var(--t-med);
}
.journey-step:hover .journey-card { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: transparent; }
.journey-icon { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: var(--sand); color: var(--brown); }
.journey-icon .icon { width: 22px; height: 22px; }
.journey-time { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px; border-radius: 999px; background: #FBE3D9; color: #8A2A0C; font-size: .78rem; font-weight: 600; }
.journey-time .icon { width: 14px; height: 14px; }
.journey-card h3 { font-size: 1.2rem; font-weight: 800; color: var(--brown); }
.journey-card p { font-size: .95rem; color: var(--muted); }
.journey-link { margin-top: auto; padding-top: 6px; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; font-weight: 600; color: var(--orange-text); text-decoration: none; }
.journey-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.journey-link .icon { transition: transform var(--t-fast) var(--ease-out); }
.journey-link:hover .icon { transform: translateX(3px); }

.journey-cta {
  margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px;
  padding: 22px 26px; border-radius: var(--r-xl); background: var(--sand);
}
.journey-cta p { font-size: 1.05rem; color: var(--ink); }
.journey-cta strong { color: var(--brown); }
.journey-cta-actions { display: flex; flex-wrap: wrap; gap: 10px; }

@media (max-width: 960px) {
  .how-intro { grid-template-columns: 1fr; }
  .journey { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 28px; }
  .journey::before { display: none; }
}
@media (max-width: 600px) {
  /* vertical timeline */
  .journey { grid-template-columns: 1fr; gap: 0; }
  .journey-step { display: grid; grid-template-columns: 50px minmax(0, 1fr); gap: 0 16px; padding-bottom: 20px; }
  .journey-step:not(:last-child)::before { content: ""; position: absolute; left: 24px; top: 50px; bottom: 0; border-left: 2px dashed rgb(210 66 26 / .45); }
  .journey-marker { display: block; }
  .journey-card { margin-top: 0; padding: 18px; }
  .journey-cta { padding: 20px; }
  .journey-cta-actions, .journey-cta-actions .btn { width: 100%; }
}

/* ---------- Packages ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.chip {
  min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); background: var(--card);
  font-weight: 600; font-size: .92rem; cursor: pointer; color: var(--ink);
  transition: background-color var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.chip:hover { border-color: var(--brown); }
.chip[aria-pressed="true"] { background: var(--brown); border-color: var(--brown); color: #fff; }

.pkg-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.pkg {
  position: relative; display: flex; flex-direction: column; background: var(--card); border-radius: var(--r-lg);
  overflow: hidden; box-shadow: var(--shadow-sm); transition: box-shadow var(--t-med), transform var(--t-med) var(--ease-out);
}
.pkg:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.pkg[hidden] { display: none; }
.pkg-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand); }
.pkg-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease-out); }
.pkg:hover .pkg-media img { transform: scale(1.05); }
.pkg-tags { position: absolute; top: 14px; left: 14px; right: 14px; display: flex; justify-content: space-between; gap: 8px; }
.tag {
  display: inline-flex; align-items: center; gap: 5px; padding: 6px 12px; border-radius: 999px;
  font-size: .8rem; font-weight: 600; background: rgb(255 255 255 / .94); color: var(--ink); white-space: nowrap;
}
.tag .icon { width: 14px; height: 14px; }
.tag-star .icon { fill: #E8A21A; stroke: #E8A21A; }
.tag-feature { background: var(--orange); color: #fff; }
.pkg-body { display: flex; flex-direction: column; gap: 10px; padding: 20px 22px 22px; flex: 1; }
.pkg-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: .85rem; color: var(--muted); }
.pkg-meta span { display: inline-flex; align-items: center; gap: 6px; }
.pkg h3 { font-size: 1.3rem; font-weight: 700; color: var(--brown); }
.pkg h3 a { text-decoration: none; }
.pkg h3 a::after { content: ""; position: absolute; inset: 0; border-radius: inherit; }
.pkg p { font-size: .94rem; color: var(--muted); }
.pkg-foot { margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--line); display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.price small { display: block; font-size: .78rem; color: var(--muted); }
.price strong { font-family: var(--font-display); font-stretch: 112%; font-size: 1.45rem; font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; }
.price strong span { font-size: .85rem; font-weight: 600; }
.pkg-go { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--orange-text); font-size: .95rem; }
.pkg-go .icon { transition: transform var(--t-fast) var(--ease-out); }
.pkg:hover .pkg-go .icon { transform: translateX(4px); }
.pkg-empty { grid-column: 1 / -1; text-align: center; padding: 40px; background: var(--card); border-radius: var(--r-lg); color: var(--muted); }
.center-cta { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 36px; }
@media (max-width: 960px) { .pkg-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .pkg-grid { grid-template-columns: 1fr; } }

/* ---------- DMC services (green band) ---------- */
.dmc { background: var(--green); color: #fff; border-radius: var(--r-xl); margin-inline: 12px; position: relative; overflow: hidden; isolation: isolate; }
.dmc::before {
  /* leaf swoosh from the logo's "A", enlarged as a watermark */
  content: ""; position: absolute; right: -120px; top: -80px; width: 640px; height: 640px; z-index: -1; opacity: .07;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Cpath fill='%23FDDCAE' d='M2 92C18 62 42 44 72 40c9-1 18 0 26 4-12 0-22 3-31 10C50 68 32 92 2 92z'/%3E%3C/svg%3E") no-repeat center / contain;
}
.dmc .section-head h2 { color: #fff; }
.dmc .section-head p { color: rgb(255 255 255 / .82); }
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgb(255 255 255 / .14); border-radius: var(--r-lg); overflow: hidden; }
.svc { background: var(--green); padding: clamp(24px, 3vw, 36px); transition: background-color var(--t-med); }
.svc:hover { background: var(--green-900); }
.svc-icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: rgb(253 220 174 / .14); color: var(--cream); }
.svc h3 { margin-top: 18px; font-size: 1.2rem; font-weight: 700; }
.svc p { margin-top: 8px; color: rgb(255 255 255 / .8); font-size: .95rem; }
.dmc-cta { margin-top: 36px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 28px; border-radius: var(--r-lg); background: rgb(0 0 0 / .18); }
.dmc-cta p { color: rgb(255 255 255 / .9); max-width: 52ch; }
.dmc-cta strong { color: var(--cream); }
.licence { font-size: .82rem; letter-spacing: .06em; color: rgb(255 255 255 / .7); margin-top: 6px; }
@media (max-width: 960px) { .svc-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .svc-grid { grid-template-columns: 1fr; } .dmc { margin-inline: 8px; border-radius: var(--r-lg); } }

/* ---------- Testimonials ---------- */
.reviews { display: grid; grid-template-columns: 300px 1fr; gap: clamp(24px, 6vw, 80px); align-items: start; }
.reviews-side h2 { margin-top: 14px; font-size: clamp(1.8rem, 3.6vw, 2.6rem); font-weight: 800; color: var(--brown); }
.rating-big { margin-top: 20px; display: flex; align-items: center; gap: 12px; }
.rating-big strong { font-family: var(--font-display); font-stretch: 115%; font-size: 2.6rem; font-weight: 800; color: var(--ink); }
.stars { display: inline-flex; gap: 2px; color: #E8A21A; }
.stars .icon { fill: currentColor; stroke: currentColor; width: 18px; height: 18px; }
.rating-big small { display: block; color: var(--muted); font-size: .85rem; }
.carousel { position: relative; }
.quote { display: none; }
.quote.is-active { display: block; animation: fade-in var(--t-med) var(--ease-out); }
.quote blockquote {
  margin: 0; font-family: var(--font-display); font-stretch: 100%; font-weight: 500;
  font-size: clamp(1.25rem, 2.4vw, 1.75rem); line-height: 1.4; letter-spacing: -0.01em; color: var(--ink);
}
.quote blockquote::before { content: "\201C"; display: block; font-size: 4rem; line-height: .6; color: var(--orange); margin-bottom: 12px; font-weight: 800; }
.quote figcaption { margin-top: 24px; display: flex; align-items: center; gap: 14px; }
.avatar { width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; font-weight: 700; background: var(--cream); color: var(--brown); flex: none; }
.quote figcaption strong { display: block; }
.quote figcaption span { font-size: .88rem; color: var(--muted); }
.carousel-controls { margin-top: 28px; display: flex; align-items: center; gap: 10px; }
.icon-btn {
  width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); color: var(--brown);
  display: grid; place-items: center; cursor: pointer; transition: background-color var(--t-fast), color var(--t-fast), border-color var(--t-fast);
}
.icon-btn:hover { background: var(--brown); border-color: var(--brown); color: #fff; }
.carousel-count { margin-left: 8px; font-size: .9rem; color: var(--muted); font-variant-numeric: tabular-nums; }
@keyframes fade-in { from { opacity: 0; transform: translateY(6px); } to { opacity: 1; transform: none; } }
@media (max-width: 860px) { .reviews { grid-template-columns: 1fr; } }

/* ---------- Stories (blog) ---------- */
.story-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.story { position: relative; background: var(--card); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); transition: box-shadow var(--t-med); }
.story:hover { box-shadow: var(--shadow-md); }
.story-media { aspect-ratio: 16 / 10; overflow: hidden; background: var(--sand); }
.story-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease-out); }
.story:hover .story-media img { transform: scale(1.05); }
.story-body { padding: 20px 22px 24px; }
.story time { font-size: .82rem; color: var(--muted); }
.story h3 { margin-top: 8px; font-size: 1.2rem; font-weight: 700; color: var(--ink); }
.story h3 a { text-decoration: none; }
.story h3 a::after { content: ""; position: absolute; inset: 0; }
.story p { margin-top: 8px; color: var(--muted); font-size: .94rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
@media (max-width: 960px) { .story-grid { grid-template-columns: repeat(2, 1fr); } .story-grid:not(.story-grid-all) .story:last-child { display: none; } }
@media (max-width: 620px) { .story-grid { grid-template-columns: 1fr; } .story:last-child { display: block; } }

/* ---------- Enquiry ---------- */
.enquire { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(24px, 4vw, 48px); align-items: stretch; }
.enquire-side {
  background: var(--sand); border-radius: var(--r-xl); padding: clamp(28px, 4vw, 44px); display: flex; flex-direction: column; gap: 20px;
}
.enquire-side h2 { margin-top: 14px; font-size: clamp(1.9rem, 3.8vw, 2.8rem); font-weight: 800; color: var(--brown); }
.enquire-side > div > p { margin-top: 12px; color: var(--muted); }
.mascot { width: min(240px, 70%); margin: auto auto 0; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.contact-list a, .contact-list span { display: flex; align-items: center; gap: 12px; min-height: 44px; text-decoration: none; font-weight: 500; }
.contact-list a:hover { color: var(--orange-text); }
.contact-list .icon { color: var(--orange-text); }

.form-card { background: var(--card); border-radius: var(--r-xl); padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow-sm); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.form-field label, .form-field legend { display: block; font-weight: 600; font-size: .92rem; margin-bottom: 8px; padding: 0; }
.req { color: var(--orange-text); }
.form-field input, .form-field select, .form-field textarea {
  width: 100%; min-height: 50px; padding: 12px 16px; border-radius: var(--r-sm); border: 1.5px solid var(--line); background: var(--paper);
  transition: border-color var(--t-fast), background-color var(--t-fast), box-shadow var(--t-fast);
}
.form-field textarea { min-height: 120px; resize: vertical; }
.form-field input:hover, .form-field select:hover, .form-field textarea:hover { border-color: #CDBCA6; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { outline: none; border-color: var(--brown); background: #fff; box-shadow: 0 0 0 4px rgb(82 29 20 / .12); }
.form-field .hint { margin-top: 6px; font-size: .82rem; color: var(--muted); }
.form-field .error { margin-top: 6px; font-size: .85rem; color: #B42318; font-weight: 500; display: none; align-items: center; gap: 6px; }
.form-field.has-error input, .form-field.has-error select, .form-field.has-error textarea { border-color: #B42318; }
.form-field.has-error .error { display: flex; }
fieldset.form-field { border: 0; margin: 0; padding: 0; min-width: 0; }
.check-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.check-chips label { margin: 0; font-weight: 500; }
.check-chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.check-chips span {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 16px; border-radius: 999px;
  border: 1.5px solid var(--line); background: var(--paper); cursor: pointer; font-size: .92rem;
  transition: background-color var(--t-fast), border-color var(--t-fast), color var(--t-fast);
}
.check-chips span .icon { width: 16px; height: 16px; display: none; }
.check-chips input:checked + span { background: var(--brown); color: #fff; border-color: var(--brown); }
.check-chips input:checked + span .icon { display: inline; }
.check-chips input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }
.phone-group { display: grid; grid-template-columns: minmax(0, 220px) minmax(0, 1fr); gap: 8px; }
.phone-group select { padding-right: 8px; font-size: .92rem; }
.date-group { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 18px; }
.date-group input { min-width: 0; width: 100%; }
.form-field .sub-label { font-size: .82rem; font-weight: 600; color: var(--muted); margin-bottom: 6px; }
.form-field input[type="date"] { cursor: pointer; }
.form-field .flex-check { display: flex; align-items: center; gap: 10px; margin: 12px 0 0; min-height: 44px; font-weight: 500; font-size: .95rem; cursor: pointer; }
.flex-check input { width: 20px; height: 20px; min-height: 0; accent-color: var(--brown); flex: none; }
.other-wrap { margin-top: 12px; }
@media (max-width: 560px) {
  .phone-group { grid-template-columns: minmax(0, 150px) minmax(0, 1fr); }
}
@media (max-width: 420px) {
  .date-group { grid-template-columns: 1fr; }
}
.form-actions { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 16px; }
.form-actions p { font-size: .85rem; color: var(--muted); flex: 1 1 220px; }
.form-status { margin-top: 18px; padding: 14px 16px; border-radius: var(--r-sm); background: #E7F4EC; color: #14532D; font-weight: 500; display: none; }
.form-status.is-visible { display: block; }
.error-summary { margin-bottom: 20px; padding: 14px 16px; border-radius: var(--r-sm); background: #FEF3F2; color: #912018; display: none; }
.error-summary.is-visible { display: block; }
.error-summary ul { margin: 6px 0 0; padding-left: 20px; }
.error-summary a { color: inherit; font-weight: 600; }
@media (max-width: 900px) { .enquire { grid-template-columns: 1fr; } .mascot { width: 180px; } }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { margin: 12px; margin-top: var(--section); border-radius: var(--r-xl); background: var(--brown-900); color: rgb(255 255 255 / .82); padding: clamp(40px, 6vw, 72px) 0 28px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 32px; }
.footer-brand .logo-tile { display: inline-block; background: var(--paper); border-radius: var(--r-md); padding: 10px 14px; }
.footer-brand .logo-tile img { height: 56px; width: auto; }
.footer-brand p { margin-top: 16px; font-size: .92rem; max-width: 30ch; }
.site-footer h3 { font-family: var(--font-body); font-stretch: 100%; font-size: .78rem; letter-spacing: .24em; text-transform: uppercase; font-weight: 600; color: var(--orange-300); margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.site-footer ul a { display: inline-flex; align-items: center; min-height: 36px; text-decoration: none; font-size: .94rem; transition: color var(--t-fast); }
.site-footer ul a:hover { color: var(--cream); }
.newsletter p { font-size: .92rem; }
.newsletter form { margin-top: 14px; display: flex; gap: 6px; background: rgb(255 255 255 / .08); border-radius: 999px; padding: 5px; }
.newsletter input { flex: 1; min-width: 0; border: 0; background: transparent; padding: 0 14px; color: #fff; min-height: 44px; }
.newsletter input::placeholder { color: rgb(255 255 255 / .6); }
.newsletter input:focus { outline: none; }
.newsletter form:focus-within { box-shadow: 0 0 0 2px var(--cream); }
.newsletter .btn { min-height: 44px; padding: 0 18px; }
.newsletter .note { margin-top: 8px; font-size: .82rem; min-height: 1.2em; color: var(--cream); }
.socials { display: flex; gap: 8px; margin-top: 18px; }
.socials a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgb(255 255 255 / .08); transition: background-color var(--t-fast), color var(--t-fast); }
.socials a:hover { background: var(--cream); color: var(--brown-900); }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgb(255 255 255 / .12); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-size: .85rem; color: rgb(255 255 255 / .7); }
.footer-bottom a { color: inherit; }
.footer-tagline { letter-spacing: .3em; text-transform: uppercase; font-size: .75rem; color: var(--orange-300); }
/* keep the tagline clear of the floating WhatsApp button */
.footer-bottom { padding-right: 84px; }
@media (max-width: 560px) { .footer-bottom { padding-right: 72px; } }
.footer-legal { flex-basis: 100%; font-size: .82rem; color: rgb(255 255 255 / .75); letter-spacing: .02em; }
@media (max-width: 1024px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } .footer-brand, .newsletter { grid-column: span 3; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand, .newsletter { grid-column: 1 / -1; } .site-footer { margin: 8px; margin-top: var(--section); border-radius: var(--r-lg); } }

/* ---------- WhatsApp floating button ---------- */
.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 90; width: 60px; height: 60px; border-radius: 50%;
  display: grid; place-items: center; background: #1F7A4D; color: #fff; box-shadow: var(--shadow-lg);
  transition: transform var(--t-fast) var(--ease-out), background-color var(--t-fast);
}
.wa-float:hover { background: #17603C; transform: scale(1.06); }
.wa-float svg { width: 30px; height: 30px; fill: currentColor; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 600ms var(--ease-out), transform 600ms var(--ease-out); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ==========================================================================
   Package detail page
   ========================================================================== */
.page-top { padding-top: 104px; }
.gallery { display: grid; grid-template-columns: 1fr 2fr 1fr; grid-template-rows: repeat(2, clamp(150px, 17vw, 230px)); gap: 10px; padding-inline: 12px; }
.gallery figure { margin: 0; border-radius: var(--r-md); overflow: hidden; background: var(--sand); }
.gallery img { width: 100%; height: 100%; object-fit: cover; }
.gallery .g-main { grid-column: 2; grid-row: 1 / 3; }
.gallery .g-1 { grid-column: 1; grid-row: 1; }
.gallery .g-2 { grid-column: 1; grid-row: 2; }
.gallery .g-3 { grid-column: 3; grid-row: 1; }
.gallery .g-4 { grid-column: 3; grid-row: 2; }
@media (max-width: 760px) {
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 240px 130px; padding-inline: 8px; }
  .gallery .g-main { grid-column: 1 / -1; grid-row: 1; }
  .gallery .g-1 { grid-column: 1; grid-row: 2; }
  .gallery .g-3 { grid-column: 2; grid-row: 2; }
  .gallery .g-2, .gallery .g-4 { display: none; }
}

.gallery.gallery-3 { grid-template-columns: 2fr 1fr; }
.gallery.gallery-3 .g-main { grid-column: 1; grid-row: 1 / 3; }
.gallery.gallery-3 .g-1 { grid-column: 2; grid-row: 1; }
.gallery.gallery-3 .g-3 { grid-column: 2; grid-row: 2; }
.gallery.gallery-1 { grid-template-columns: 1fr; }
.gallery.gallery-1 .g-main { grid-column: 1; grid-row: 1 / 3; }
@media (max-width: 760px) {
  .gallery.gallery-3 { grid-template-columns: 1fr 1fr; }
  .gallery.gallery-3 .g-main { grid-column: 1 / -1; grid-row: 1; }
  .gallery.gallery-3 .g-1 { grid-column: 1; grid-row: 2; }
  .gallery.gallery-3 .g-3 { grid-column: 2; grid-row: 2; }
  .gallery.gallery-1 { grid-template-rows: 260px; }
  .gallery.gallery-1 .g-main { grid-row: 1; }
}
.h1-sub { display: block; font-size: .55em; font-weight: 700; color: var(--muted); margin-top: 6px; letter-spacing: -0.01em; }
.old-price { color: var(--muted); font-weight: 600; }
.draft-banner { margin: 0 0 14px; padding: 12px 16px; border-radius: var(--r-sm); background: #FFF4D6; color: #6B4A00; font-weight: 500; }
.draft-banner.is-live { background: #E7F4EC; color: #14532D; }
.draft-banner a { font-weight: 700; color: inherit; }
.related { margin-top: clamp(56px, 8vw, 96px); }
.related h2 { margin-bottom: 20px; }
.not-found { text-align: center; padding: 48px 0 24px; display: grid; justify-items: center; gap: 16px; }
.not-found img { width: 200px; }
.not-found h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 800; color: var(--brown); }
.not-found p { color: var(--muted); max-width: 46ch; }

.breadcrumb { margin-top: 28px; font-size: .88rem; color: var(--muted); }
.breadcrumb ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.breadcrumb li + li::before { content: "/"; margin-right: 6px; color: var(--line); }
.breadcrumb a { text-decoration: none; }
.breadcrumb a:hover { color: var(--orange-text); text-decoration: underline; }

.trip-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(28px, 5vw, 64px); align-items: start; margin-top: 20px; }
.trip-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.trip-tags .tag { background: var(--sand); }
.trip-main h1 { margin-top: 16px; font-size: clamp(2.1rem, 5vw, 3.6rem); font-weight: 800; color: var(--brown); }
.trip-intro { margin-top: 18px; display: grid; gap: 14px; color: var(--muted); font-size: 1.05rem; max-width: 65ch; }
.facts { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: var(--r-md); background: var(--card); }
.fact { display: flex; gap: 12px; align-items: center; padding: 16px 18px; }
.fact + .fact { border-left: 1px solid var(--line); }
.fact .icon { color: var(--orange-text); width: 22px; height: 22px; }
.fact small { display: block; font-size: .78rem; color: var(--muted); }
.fact strong { display: block; font-size: .95rem; }
@media (max-width: 760px) {
  .facts { grid-template-columns: 1fr 1fr; }
  .fact:nth-child(3) { border-left: 0; }
  .fact:nth-child(n+3) { border-top: 1px solid var(--line); }
}
.trip-section { margin-top: 48px; }
.trip-section h2 { font-size: clamp(1.5rem, 2.8vw, 2rem); font-weight: 800; color: var(--brown); }
.trip-section > p { margin-top: 14px; color: var(--muted); max-width: 65ch; }
.trip-section > p + p { margin-top: 12px; }

.itinerary { margin-top: 20px; display: grid; gap: 10px; }
.day { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.day summary {
  list-style: none; cursor: pointer; display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 16px;
  padding: 16px 18px; min-height: 64px;
}
.day summary::-webkit-details-marker { display: none; }
.day-num { font-family: var(--font-display); font-stretch: 115%; font-weight: 800; font-size: .82rem; letter-spacing: .08em; background: var(--sand); color: var(--brown); border-radius: 999px; padding: 6px 12px; white-space: nowrap; }
.day[open] .day-num { background: var(--orange); color: #fff; }
.day summary strong { font-size: 1.02rem; }
.day summary .icon { color: var(--muted); transition: transform var(--t-med) var(--ease-out); }
.day[open] summary .icon { transform: rotate(180deg); }
.day-body { padding: 0 18px 18px 18px; color: var(--muted); display: grid; gap: 10px; }
.day-body ul { margin: 0; padding-left: 20px; }
.day-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; font-size: .86rem; }
.day-meta span { display: inline-flex; align-items: center; gap: 6px; }
.day-meta .icon { width: 16px; height: 16px; }

.incl-grid { margin-top: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.incl { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); padding: 20px 22px; }
.incl h3 { font-family: var(--font-body); font-stretch: 100%; font-size: 1rem; font-weight: 700; letter-spacing: 0; }
.incl ul { list-style: none; margin: 12px 0 0; padding: 0; display: grid; gap: 10px; }
.incl li { display: flex; gap: 10px; align-items: flex-start; font-size: .95rem; }
.incl li .icon { margin-top: 2px; width: 18px; height: 18px; }
.incl.yes .icon { color: #1F7A4D; }
.incl.no .icon { color: #B42318; }
@media (max-width: 620px) { .incl-grid { grid-template-columns: 1fr; } }

.book-card { position: sticky; top: 100px; background: var(--card); border-radius: var(--r-lg); padding: 26px; box-shadow: var(--shadow-md); border: 1px solid var(--line); }
.book-badge { display: inline-block; background: var(--brown); color: #fff; font-size: .72rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; padding: 6px 10px; border-radius: 6px; }
.book-card h2 { margin-top: 14px; font-size: 1.6rem; font-weight: 800; color: var(--ink); }
.book-route { color: var(--muted); }
.book-price { margin-top: 16px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px; }
.book-price strong { font-family: var(--font-display); font-stretch: 115%; font-size: 2.6rem; font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; }
.book-price small { color: var(--muted); }
.book-list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; font-size: .92rem; }
.book-list li { display: flex; gap: 10px; align-items: center; }
.book-list .icon { color: var(--orange-text); width: 18px; height: 18px; }
.book-perks { margin-top: 20px; display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); border-radius: var(--r-md); }
.book-perks div { padding: 14px 6px; text-align: center; }
.book-perks div + div { border-left: 1px solid var(--line); }
.book-perks .icon { color: var(--brown); width: 22px; height: 22px; margin: 0 auto; }
.book-perks strong { display: block; margin-top: 6px; font-size: .9rem; }
.book-perks small { display: block; font-size: .76rem; color: var(--muted); }
.book-actions { margin-top: 20px; display: grid; gap: 10px; }
.book-note { margin-top: 12px; font-size: .8rem; color: var(--muted); text-align: center; }
@media (max-width: 960px) {
  .trip-layout { grid-template-columns: 1fr; }
  .book-card { position: static; }
}

/* Mobile sticky booking bar on the package page */
.book-bar { display: none; }
@media (max-width: 960px) {
  .book-bar {
    position: fixed; left: 8px; right: 8px; bottom: 8px; z-index: 95; display: flex; align-items: center; justify-content: space-between; gap: 12px;
    background: var(--card); border-radius: var(--r-md); padding: 10px 10px 10px 18px; box-shadow: var(--shadow-lg); border: 1px solid var(--line);
  }
  .book-bar strong { font-family: var(--font-display); font-stretch: 112%; font-size: 1.25rem; }
  .book-bar small { display: block; font-size: .75rem; color: var(--muted); }
  .has-book-bar .wa-float { bottom: 92px; }
  .has-book-bar .site-footer { margin-bottom: 96px; }
}

/* ==========================================================================
   Tours listing page
   ========================================================================== */
.page-hero .hero-frame { min-height: clamp(380px, 52vh, 520px); padding-bottom: clamp(48px, 7vw, 80px); }
.page-hero h1 { font-size: clamp(2.4rem, 6vw, 4.5rem); max-width: 14ch; }

.tour-filters {
  margin-top: 20px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: clamp(16px, 2.4vw, 24px); box-shadow: var(--shadow-sm);
  display: grid; grid-template-columns: auto 1fr; gap: 20px 24px; align-items: end;
}
.tour-filters fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }

/* Region switch: All Borneo / Sabah / Sarawak */
.segmented { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; background: var(--sand); border-radius: 999px; align-self: end; }
.segmented label { position: relative; }
.segmented input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.segmented label > span {
  display: inline-flex; align-items: center; gap: 8px; min-height: 46px; padding: 0 20px; border-radius: 999px;
  font-weight: 600; cursor: pointer; color: var(--brown); transition: background-color var(--t-fast), color var(--t-fast), box-shadow var(--t-fast);
}
.segmented label > span:hover { background: rgb(255 255 255 / .6); }
.segmented b { font-weight: 600; font-size: .78rem; min-width: 24px; padding: 2px 7px; border-radius: 999px; background: rgb(82 29 20 / .1); text-align: center; font-variant-numeric: tabular-nums; }
.segmented input:checked + span { background: var(--brown); color: #fff; box-shadow: var(--shadow-sm); }
.segmented input:checked + span b { background: rgb(255 255 255 / .2); }
.segmented input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }

.filter-selects { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; justify-self: end; width: min(100%, 460px); }
.filter-selects label { font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.filter-selects select { min-height: 48px; cursor: pointer; }
.cat-filter { grid-column: 1 / -1; padding-top: 18px !important; border-top: 1px dashed var(--line) !important; }
.cat-filter legend { float: left; width: 100%; margin-bottom: 10px; font-size: .8rem; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.cat-filter .check-chips { clear: both; }
.check-chips label { position: relative; }

.results-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 16px; margin: 28px 0 18px; }
.results-bar p { font-weight: 600; color: var(--ink); }
.link-btn {
  border: 0; background: none; padding: 0 4px; min-height: 44px; cursor: pointer; font-weight: 600; color: var(--orange-text);
  text-decoration: underline; text-underline-offset: 3px;
}
.link-btn:hover { color: var(--brown); }
.link-btn[hidden] { display: none; }

.region-pill { padding: 2px 10px; border-radius: 999px; font-size: .76rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.region-sabah { background: #FBE3D9; color: #8A2A0C; }
.region-sarawak { background: #DDEBE2; color: var(--green); }
.pkg-cats { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.pkg-cats li { font-size: .76rem; padding: 3px 10px; border-radius: 999px; background: var(--paper); border: 1px solid var(--line); color: var(--muted); }

#tour-empty { margin-top: 8px; }
#tour-empty p { margin-bottom: 18px; }
.empty-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }

.custom-band {
  margin-top: clamp(48px, 7vw, 80px); display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 20px 28px;
  background: var(--sand); border-radius: var(--r-xl); padding: clamp(20px, 3vw, 32px) clamp(20px, 4vw, 40px);
}
.custom-band img { width: 120px; height: auto; }
.custom-band h2 { font-size: clamp(1.4rem, 2.6vw, 1.9rem); font-weight: 800; color: var(--brown); }
.custom-band p { margin-top: 6px; color: var(--muted); max-width: 56ch; }

@media (max-width: 860px) {
  .tour-filters { grid-template-columns: 1fr; }
  .filter-selects { justify-self: stretch; width: 100%; }
  .custom-band { grid-template-columns: 1fr; text-align: center; justify-items: center; }
}
@media (max-width: 480px) {
  .segmented { display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; }
  .segmented label > span { width: 100%; justify-content: center; gap: 6px; padding: 0 6px; }
  .segmented .hide-sm { display: none; }
  .filter-selects { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Stories (blog)
   ========================================================================== */
.story-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px; font-size: .82rem; color: var(--muted); }
.story-meta > * + *::before { content: "·"; margin-right: 12px; color: var(--line); }
.story-topic { font-weight: 700; color: var(--orange-text); letter-spacing: .04em; }
.story-grid-all { row-gap: 24px; }
.story-grid-all .story h2 { margin-top: 8px; font-size: 1.2rem; font-weight: 700; color: var(--ink); }
.story-grid-all .story h2 a { text-decoration: none; }
.story-grid-all .story h2 a::after { content: ""; position: absolute; inset: 0; }
.story h3 a:hover, .story h2 a:hover { color: var(--orange-text); }

.story-tools { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin: 20px 0 28px; }
.topic-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-link {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 16px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--card); font-weight: 600; font-size: .92rem; text-decoration: none; color: var(--ink);
  transition: border-color var(--t-fast), background-color var(--t-fast), color var(--t-fast);
}
.chip-link b { font-size: .76rem; font-weight: 600; padding: 1px 7px; border-radius: 999px; background: var(--sand); }
.chip-link:hover { border-color: var(--brown); }
.chip-link.is-active { background: var(--brown); border-color: var(--brown); color: #fff; }
.chip-link.is-active b { background: rgb(255 255 255 / .2); }
.story-search { display: flex; gap: 6px; flex: 0 1 340px; }
.story-search input { flex: 1; min-width: 0; min-height: 48px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--card); }
.story-search input:focus { outline: none; border-color: var(--brown); box-shadow: 0 0 0 4px rgb(82 29 20 / .12); }
.story-search .btn { min-height: 48px; width: 48px; padding: 0; }
.results-note { margin-bottom: 18px; color: var(--muted); }
.results-note a { color: var(--orange-text); font-weight: 600; }

.story-lead {
  position: relative; display: grid; grid-template-columns: 1.25fr 1fr; background: var(--card); border-radius: var(--r-xl);
  overflow: hidden; box-shadow: var(--shadow-sm); margin-bottom: 28px; transition: box-shadow var(--t-med);
}
.story-lead:hover { box-shadow: var(--shadow-lg); }
.story-lead-media { min-height: 320px; overflow: hidden; }
.story-lead-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease-out); }
.story-lead:hover .story-lead-media img { transform: scale(1.04); }
.story-lead-body { padding: clamp(24px, 4vw, 44px); display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.story-lead h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); font-weight: 800; color: var(--brown); }
.story-lead h2 a { text-decoration: none; }
.story-lead h2 a::after { content: ""; position: absolute; inset: 0; }
.story-lead p { color: var(--muted); }
@media (max-width: 760px) { .story-lead { grid-template-columns: 1fr; } .story-lead-media { min-height: 220px; } }

.pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px; margin-top: 36px; }
.pagination a { display: inline-grid; place-items: center; min-width: 44px; min-height: 44px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--card); text-decoration: none; font-weight: 600; }
.pagination a:hover { border-color: var(--brown); }
.pagination a.is-active { background: var(--brown); border-color: var(--brown); color: #fff; }

/* Article */
.article-head { max-width: 820px; margin: 18px 0 24px; }
.article-head h1 { font-size: clamp(2.1rem, 5vw, 3.6rem); font-weight: 800; color: var(--brown); }
.article-dek { margin-top: 14px; font-size: clamp(1.05rem, 1.6vw, 1.25rem); color: var(--muted); max-width: 60ch; }
.article-meta { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: .9rem; color: var(--muted); }
.article-meta > * + *::before { content: "·"; margin-right: 12px; color: var(--line); }
.article-hero { margin: 0; border-radius: var(--r-xl); overflow: hidden; aspect-ratio: 21 / 9; background: var(--sand); }
.article-hero img { width: 100%; height: 100%; object-fit: cover; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: clamp(28px, 5vw, 72px); margin-top: clamp(28px, 4vw, 48px); align-items: start; }

.prose { max-width: 70ch; font-size: 1.08rem; line-height: 1.75; }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { margin-top: 1.9em; font-size: clamp(1.45rem, 2.6vw, 1.85rem); font-weight: 800; color: var(--brown); scroll-margin-top: 100px; }
.prose h3 { margin-top: 1.5em; font-size: 1.25rem; font-weight: 700; color: var(--ink); scroll-margin-top: 100px; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .4em; }
.prose li::marker { color: var(--orange-text); }
.prose a { color: var(--orange-text); text-underline-offset: 3px; font-weight: 500; }
.prose blockquote { margin-left: 0; padding: 18px 22px; border-left: 4px solid var(--orange); background: var(--sand); border-radius: 0 var(--r-md) var(--r-md) 0; font-weight: 500; }
.prose figure { margin-left: 0; margin-right: 0; }
.prose figure img { border-radius: var(--r-md); }
.prose figcaption { margin-top: 8px; font-size: .88rem; color: var(--muted); }
.article-faq { margin-top: 2.4em !important; display: grid; gap: 10px; }
.article-faq h2 { margin-top: 0; margin-bottom: 4px; }
.article-faq summary { grid-template-columns: 1fr auto; }
.article-faq .day-body p { margin: 0; }
.tag-list { list-style: none; padding: 0 !important; display: flex; flex-wrap: wrap; gap: 8px; margin-top: 2em !important; }
.tag-list a { display: inline-flex; align-items: center; min-height: 36px; padding: 0 12px; border-radius: 999px; background: var(--sand); font-size: .88rem; text-decoration: none; color: var(--brown); font-weight: 500; }
.tag-list a:hover { background: var(--cream); }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 1.6em !important; padding-top: 1.4em; border-top: 1px solid var(--line); }
.share > span:first-child { font-weight: 600; margin-right: 6px; font-size: .95rem; }
.share .icon-btn { display: inline-grid; place-items: center; }
.copy-note { font-size: .88rem; color: var(--green); font-weight: 600; }

.article-aside { position: sticky; top: 100px; display: grid; gap: 20px; }
.toc { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px 22px; }
.toc h2 { font-family: var(--font-body); font-stretch: 100%; font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); font-weight: 600; margin-bottom: 10px; }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.toc a { display: block; padding: 6px 0; text-decoration: none; color: var(--ink); font-weight: 500; font-size: .95rem; line-height: 1.4; }
.toc a:hover { color: var(--orange-text); }
.toc .toc-3 a { padding-left: 14px; font-size: .9rem; color: var(--muted); }
.aside-cta { background: var(--sand); border-radius: var(--r-lg); padding: 22px; display: grid; gap: 10px; text-align: center; }
.aside-cta img { width: 120px; margin: 0 auto; }
.aside-cta h2 { font-size: 1.25rem; font-weight: 800; color: var(--brown); }
.aside-cta p { color: var(--muted); font-size: .95rem; margin-bottom: 4px; }
@media (max-width: 960px) {
  .article-layout { grid-template-columns: 1fr; }
  .article-aside { position: static; order: -1; }
  .aside-cta { display: none; }
  .article-hero { aspect-ratio: 16 / 9; border-radius: var(--r-lg); }
}

/* ==========================================================================
   Contact us page
   ========================================================================== */
.contact-ways { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; margin-top: 24px; }
.way {
  position: relative; display: flex; flex-direction: column; gap: 4px; padding: 22px; border-radius: var(--r-lg);
  background: var(--card); box-shadow: var(--shadow-sm); text-decoration: none; color: var(--ink);
  transition: box-shadow var(--t-med), transform var(--t-med) var(--ease-out);
}
a.way:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.way-icon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; background: var(--sand); color: var(--brown); margin-bottom: 10px; }
.way-icon .icon { width: 24px; height: 24px; }
.way-label { font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.way strong { font-family: var(--font-display); font-stretch: 105%; font-size: 1.12rem; font-weight: 700; color: var(--brown); overflow-wrap: anywhere; }
.way-note { font-size: .88rem; color: var(--muted); }
.way strong.way-email { overflow-wrap: normal; word-break: normal; font-size: 1.02rem; }
.way-whatsapp { background: #1F7A4D; color: #fff; }
.way-whatsapp .way-icon { background: rgb(255 255 255 / .16); color: #fff; }
.way-whatsapp .way-label, .way-whatsapp .way-note { color: rgb(255 255 255 / .85); }
.way-whatsapp strong { color: #fff; }
@media (max-width: 1100px) { .contact-ways { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .contact-ways { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .contact-ways { grid-template-columns: 1fr; } }

.social-band { margin-top: clamp(40px, 6vw, 64px); display: grid; grid-template-columns: .8fr 1.2fr; gap: 24px 40px; align-items: center; }
.social-band h2 { margin-top: 12px; font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 800; color: var(--brown); }
.social-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.social-card {
  display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 14px; padding: 16px 18px; min-height: 72px;
  border-radius: var(--r-md); background: var(--card); border: 1px solid var(--line); text-decoration: none; color: var(--ink);
  transition: border-color var(--t-fast), box-shadow var(--t-med);
}
.social-card:hover { border-color: var(--brown); box-shadow: var(--shadow-md); }
.social-card strong { display: block; }
.social-card small { display: block; color: var(--muted); font-size: .84rem; }
.social-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; color: #fff; }
.social-facebook .social-icon { background: #1877F2; }
.social-instagram .social-icon { background: linear-gradient(45deg, #F58529, #DD2A7B 55%, #8134AF); }
.social-tiktok .social-icon { background: #111; }
.social-line .social-icon { background: #06C755; --icon-cutout: #06C755; }
/* LINE logo: the lettering takes the colour of whatever is behind the icon */
.icon-line { --icon-cutout: var(--paper); }
.socials .icon-line { --icon-cutout: var(--brown-900); }
.socials a:hover .icon-line { --icon-cutout: var(--cream); }
.way-icon .icon-line, .contact-list .icon-line { --icon-cutout: var(--sand); }
.way-line .way-icon { background: #06C755; color: #fff; }
.way-line .way-icon .icon-line { --icon-cutout: #06C755; }
.social-go { color: var(--muted); transition: transform var(--t-fast) var(--ease-out); }
.social-card:hover .social-go { transform: translate(2px, -2px); color: var(--brown); }
@media (max-width: 860px) { .social-band { grid-template-columns: 1fr; } }
@media (max-width: 480px) { .social-cards { grid-template-columns: 1fr; } }

.hours h3 { font-family: var(--font-body); font-stretch: 100%; font-size: 1rem; font-weight: 700; letter-spacing: 0; }
.hours h3 small { font-weight: 500; color: var(--muted); font-size: .82rem; }
.hours dl { margin: 10px 0 0; display: grid; gap: 0; border-top: 1px solid rgb(82 29 20 / .12); }
.hours dl div { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid rgb(82 29 20 / .12); font-size: .94rem; }
.hours dt { color: var(--muted); }
.hours dd { margin: 0; font-weight: 600; text-align: right; }
.trade-note { background: rgb(255 255 255 / .6); border-radius: var(--r-md); padding: 14px 16px; font-size: .92rem; }
.trade-note p { margin-top: 4px; color: var(--muted); }

.map-section { margin-bottom: 8px; }
.map-actions { display: flex; justify-content: center; margin: 16px 0 0; }
.map-frame { width: 100%; border-radius: var(--r-xl); overflow: hidden; background: var(--sand); aspect-ratio: 21 / 8; min-height: 280px; }
.map-frame iframe { width: 100%; height: 100%; border: 0; display: block; }
@media (max-width: 640px) { .map-frame { aspect-ratio: 4 / 3; border-radius: var(--r-lg); } }

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

/* Info pages (FAQ, terms, payment, privacy) */
.info-head { margin-top: 12px; }
.info-head h1 { margin-top: 12px; }
.page-faq { margin-top: 1.2em !important; }
mark.placeholder { background: #FFF1B8; color: #5C4300; padding: 0 4px; border-radius: 4px; font-weight: 600; }
/* QR codes in page text: show at a scannable, not page-filling, size */
.prose figure img[alt*="QR"] { max-width: 320px; border-radius: var(--r-md); box-shadow: var(--shadow-sm); }
