/* ═══════════════════════════════════════════════════════════════
   Phuket Experiences — brand system
   ═══════════════════════════════════════════════════════════════ */
:root {
  --ocean: #063B4C;
  --ocean-900: #05303d;
  --teal: #00A6A6;
  --teal-600: #018c8c;
  --aqua: #48D7D0;
  --sky: #3CBCEF;
  --coral: #F2387A;
  --coral-600: #d92765;
  --sunset: #FF9F43;
  --sand: #FFF7EA;
  --white: #FFFFFF;
  --ink: #0c2a33;
  --ink-soft: #3f5b63;
  --line: #e7ebe9;
  --shadow-sm: 0 2px 8px rgba(6, 59, 76, .06);
  --shadow-md: 0 12px 32px rgba(6, 59, 76, .12);
  --shadow-lg: 0 28px 64px rgba(6, 59, 76, .18);
  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --radius-pill: 999px;
  --container: 1200px;
  --gradient-sea: linear-gradient(135deg, #063B4C 0%, #00A6A6 55%, #48D7D0 100%);
  --gradient-sunset: linear-gradient(120deg, #FF9F43 0%, #F2387A 100%);
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  line-height: 1.6;
  font-size: 16px;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--teal-600); text-decoration: none; }
a:hover { color: var(--coral); }
h1, h2, h3, h4 { line-height: 1.15; color: var(--ocean); font-weight: 700; margin: 0 0 .4em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.7rem, 3.2vw, 2.6rem); letter-spacing: -.015em; }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
p { margin: 0 0 1rem; }
.display { font-family: var(--font-display); font-weight: 600; }
small { font-size: .82rem; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(48px, 8vw, 100px) 0; }
.section--tight { padding: clamp(36px, 5vw, 64px) 0; }
.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  text-transform: uppercase; letter-spacing: .18em; font-size: .72rem; font-weight: 700;
  color: var(--teal-600); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--coral); border-radius: 2px; }
.center .eyebrow::after { content: ""; width: 26px; height: 2px; background: var(--coral); border-radius: 2px; }
.lede { font-size: 1.12rem; color: var(--ink-soft); }
.muted { color: var(--ink-soft); }
.text-center { text-align: center; }

/* ── buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: inherit; font-weight: 700; font-size: .98rem;
  padding: 14px 26px; border-radius: var(--radius-pill); border: 2px solid transparent;
  cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  text-align: center; line-height: 1;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--gradient-sunset); color: #fff; box-shadow: 0 12px 26px rgba(242, 56, 122, .34); }
.btn-primary:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 18px 34px rgba(242, 56, 122, .42); }
.btn-teal { background: var(--teal); color: #fff; box-shadow: 0 12px 26px rgba(0, 166, 166, .3); }
.btn-teal:hover { color: #fff; transform: translateY(-2px); background: var(--teal-600); }
.btn-ghost { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.5); }
.btn-ghost:hover { background: rgba(255,255,255,.24); color: #fff; }
.btn-outline { background: #fff; color: var(--ocean); border-color: var(--line); }
.btn-outline:hover { border-color: var(--teal); color: var(--teal-600); }
.btn-block { width: 100%; }
.btn-lg { padding: 17px 34px; font-size: 1.05rem; }
.btn-sm { padding: 10px 18px; font-size: .86rem; }
.btn[disabled] { opacity: .55; cursor: not-allowed; transform: none; }

/* ── utility bar ─────────────────────────────────────────── */
.utilbar {
  background: var(--ocean); color: #cdeef0; font-size: .8rem;
}
.utilbar .container { display: flex; align-items: center; justify-content: space-between; height: 40px; gap: 16px; }
.utilbar .tagline { display: flex; align-items: center; gap: 8px; opacity: .9; }
.utilbar nav { display: flex; align-items: center; gap: 20px; }
.utilbar a { color: #cdeef0; font-weight: 600; }
.utilbar a:hover { color: #fff; }
.utilbar .pill { background: rgba(255,255,255,.12); padding: 3px 10px; border-radius: var(--radius-pill); }

/* ── main nav ────────────────────────────────────────────── */
.nav {
  position: sticky; top: 0; z-index: 60; background: rgba(255,255,255,.92);
  backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid var(--line);
}
.nav .container { display: flex; align-items: center; gap: 28px; height: 74px; }
.brand { display: flex; align-items: center; gap: 12px; font-weight: 800; color: var(--ocean); font-size: 1.18rem; letter-spacing: -.01em; }
.brand .mark {
  width: 40px; height: 40px; border-radius: 13px; background: var(--gradient-sea);
  display: grid; place-items: center; color: #fff; font-size: 1.15rem; box-shadow: var(--shadow-sm);
}
.brand small { display: block; font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--teal-600); font-weight: 700; }
.nav-links { display: flex; align-items: center; gap: 6px; margin-left: 8px; }
.nav-links a {
  color: var(--ink); font-weight: 600; font-size: .96rem; padding: 9px 14px; border-radius: var(--radius-pill);
  transition: background .15s, color .15s;
}
.nav-links a:hover, .nav-links a.active { background: var(--sand); color: var(--ocean); }
.nav-actions { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.icon-btn {
  position: relative; width: 44px; height: 44px; border-radius: 14px; border: 1px solid var(--line);
  background: #fff; display: grid; place-items: center; color: var(--ocean); cursor: pointer;
}
.icon-btn:hover { border-color: var(--teal); color: var(--teal-600); }
.icon-btn .badge {
  position: absolute; top: -6px; right: -6px; background: var(--coral); color: #fff;
  font-size: .68rem; font-weight: 800; min-width: 19px; height: 19px; border-radius: 10px;
  display: grid; place-items: center; padding: 0 4px;
}
.nav-toggle { display: none; }

/* ── hero ────────────────────────────────────────────────── */
.hero { position: relative; color: #fff; isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(6,59,76,.35) 0%, rgba(6,59,76,.55) 60%, rgba(6,59,76,.82) 100%);
}
.hero__inner { padding: clamp(70px, 12vw, 150px) 0 40px; }
.hero h1 { color: #fff; max-width: 15ch; text-shadow: 0 3px 24px rgba(0,0,0,.28); }
.hero .sawasdee {
  font-family: var(--font-display); font-style: italic; font-size: clamp(1.3rem,2.4vw,1.9rem);
  color: var(--aqua); margin-bottom: 8px; display: block;
}
.hero p.lede { color: #eafaff; max-width: 46ch; font-size: 1.15rem; }

/* booking widget */
.book-widget {
  margin-top: 34px; background: rgba(255,255,255,.96); border-radius: var(--radius-lg);
  padding: 18px; box-shadow: var(--shadow-lg); display: grid;
  grid-template-columns: repeat(3, 1fr) auto; gap: 12px; color: var(--ink);
}
.book-widget label { display: block; font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 800; color: var(--teal-600); margin: 0 0 6px 4px; }
.book-widget .field { background: var(--sand); border-radius: var(--radius-sm); padding: 10px 14px; }
.book-widget select, .book-widget input {
  width: 100%; border: none; background: transparent; font-family: inherit; font-size: .98rem;
  color: var(--ink); font-weight: 600; outline: none;
}
.book-widget .btn { align-self: stretch; }

.trust-row { display: flex; flex-wrap: wrap; gap: 10px 26px; margin-top: 26px; }
.trust-row span { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: .92rem; color: #eafaff; }
.trust-row .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--aqua); }

/* ── cards / tours ───────────────────────────────────────── */
.grid { display: grid; gap: 26px; }
.grid.cols-4 { grid-template-columns: repeat(4, 1fr); }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }

.tour-card {
  background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm);
  border: 1px solid var(--line); display: flex; flex-direction: column;
  transition: transform .22s ease, box-shadow .22s ease;
}
.tour-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.tour-card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.tour-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.tour-card:hover .tour-card__media img { transform: scale(1.06); }
.tour-card__badge {
  position: absolute; left: 14px; top: 14px; background: rgba(255,255,255,.94); color: var(--ocean);
  font-size: .74rem; font-weight: 800; padding: 6px 12px; border-radius: var(--radius-pill);
  text-transform: uppercase; letter-spacing: .04em;
}
.fav {
  position: absolute; right: 12px; top: 12px; width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.92); border: none; display: grid; place-items: center; cursor: pointer;
  color: var(--coral); font-size: 1.05rem; transition: transform .15s, background .15s;
}
.fav:hover { transform: scale(1.1); }
.fav.is-on { background: var(--coral); color: #fff; }
.tour-card__body { padding: 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.tour-card__meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .82rem; color: var(--ink-soft); font-weight: 600; }
.tour-card h3 { margin: 0; font-size: 1.16rem; }
.tour-card h3 a { color: var(--ocean); }
.tour-card h3 a:hover { color: var(--teal-600); }
.stars { color: var(--sunset); font-weight: 800; font-size: .86rem; display: inline-flex; gap: 5px; align-items: center; }
.stars small { color: var(--ink-soft); font-weight: 600; }
.tour-card__desc { font-size: .9rem; color: var(--ink-soft); margin: 0; flex: 1; }
.tour-card__foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; padding-top: 6px; border-top: 1px dashed var(--line); }
.price { font-weight: 800; color: var(--ocean); font-size: 1.28rem; }
.price small { display: block; font-size: .72rem; color: var(--ink-soft); font-weight: 600; }

.pill-tag {
  display: inline-block; background: var(--sand); color: var(--teal-600); font-weight: 700;
  font-size: .78rem; padding: 5px 12px; border-radius: var(--radius-pill);
}
.avail { font-size: .78rem; font-weight: 800; padding: 4px 10px; border-radius: var(--radius-pill); }
.avail.available { background: #e3f7ef; color: #0a7d54; }
.avail.limited { background: #fff1e0; color: #b5641b; }
.avail.sold_out, .avail.closed { background: #fde5ec; color: var(--coral-600); }

/* ── trust / payment showcase ────────────────────────────── */
.value-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.value {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 24px;
  box-shadow: var(--shadow-sm);
}
.value .ic { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; font-size: 1.2rem; background: var(--sand); color: var(--teal-600); margin-bottom: 12px; }
.value h4 { margin: 0 0 6px; }
.value p { margin: 0; font-size: .88rem; color: var(--ink-soft); }

.payment-showcase {
  background: var(--gradient-sea); color: #fff; border-radius: var(--radius-lg); padding: clamp(26px, 4vw, 44px);
  position: relative; overflow: hidden;
}
.payment-showcase::before {
  content: ""; position: absolute; right: -80px; top: -80px; width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(72,215,208,.5), transparent 70%);
}
.payment-showcase h3 { color: #fff; }
.payment-showcase .cap-list { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 0; }
.cap-chip {
  background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28); color: #fff;
  padding: 8px 15px; border-radius: var(--radius-pill); font-size: .84rem; font-weight: 600;
}
.badge-secured {
  display: inline-flex; align-items: center; gap: 10px; background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.24); border-radius: var(--radius); padding: 12px 18px; margin-top: 20px;
  font-size: .85rem;
}

/* ── how it works ────────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: step; }
.step { text-align: center; position: relative; }
.step .num {
  width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 20px; background: var(--gradient-sunset);
  color: #fff; display: grid; place-items: center; font-weight: 800; font-size: 1.4rem; box-shadow: var(--shadow-sm);
}
.step h4 { margin: 0 0 4px; }
.step p { font-size: .88rem; color: var(--ink-soft); margin: 0; }

/* ── newsletter CTA ──────────────────────────────────────── */
.cta-sunset {
  position: relative; color: #fff; border-radius: var(--radius-lg); overflow: hidden; isolation: isolate;
  padding: clamp(44px, 8vw, 90px) clamp(24px, 5vw, 70px);
}
.cta-sunset img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta-sunset::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(120deg, rgba(242,56,122,.82), rgba(255,159,67,.6)); }
.cta-sunset h2 { color: #fff; max-width: 16ch; }
.newsletter-form { display: flex; gap: 12px; max-width: 480px; margin-top: 18px; flex-wrap: wrap; }
.newsletter-form input {
  flex: 1; min-width: 200px; border: none; border-radius: var(--radius-pill); padding: 15px 22px;
  font-family: inherit; font-size: 1rem;
}

/* ── footer ──────────────────────────────────────────────── */
.footer { background: var(--ocean); color: #b7dde1; padding: 64px 0 30px; margin-top: 40px; }
.footer a { color: #b7dde1; }
.footer a:hover { color: #fff; }
.footer__grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 34px; }
.footer h5 { color: #fff; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin: 0 0 14px; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; font-size: .9rem; }
.footer__bottom {
  border-top: 1px solid rgba(255,255,255,.12); margin-top: 40px; padding-top: 22px;
  display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; font-size: .82rem;
}
.pay-brands { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; }
.pay-brands span {
  background: rgba(255,255,255,.1); border-radius: 8px; padding: 6px 10px; font-weight: 700; font-size: .74rem; color: #fff;
}
.secured-cybs {
  display: inline-flex; flex-direction: column; gap: 2px; background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.16); border-radius: 12px; padding: 10px 16px;
}
.secured-cybs strong { color: #fff; font-size: .84rem; }
.secured-cybs small { color: #8fc4ca; letter-spacing: .04em; }

/* ── forms / inputs ──────────────────────────────────────── */
.field-group { margin-bottom: 18px; }
.field-group label { display: block; font-weight: 700; font-size: .88rem; margin-bottom: 7px; color: var(--ocean); }
.input, select.input, textarea.input {
  width: 100%; border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: 13px 15px;
  font-family: inherit; font-size: .98rem; color: var(--ink); background: #fff; transition: border-color .15s, box-shadow .15s;
}
.input:focus, select.input:focus, textarea.input:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 4px rgba(0,166,166,.12); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field-error { color: var(--coral-600); font-size: .82rem; margin-top: 5px; font-weight: 600; }
.help-text { font-size: .82rem; color: var(--ink-soft); margin-top: 5px; }

/* ── layout helpers ──────────────────────────────────────── */
.split { display: grid; grid-template-columns: 1.7fr 1fr; gap: 34px; align-items: start; }
.panel {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-sm);
}
.panel + .panel { margin-top: 22px; }
.summary-card { position: sticky; top: 96px; }
.line-item { display: flex; gap: 14px; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.line-item img { width: 78px; height: 62px; border-radius: 10px; object-fit: cover; }
.line-item .li-body { flex: 1; font-size: .9rem; }
.total-row { display: flex; justify-content: space-between; padding: 8px 0; font-size: .95rem; }
.total-row.grand { font-weight: 800; font-size: 1.25rem; color: var(--ocean); border-top: 2px solid var(--line); margin-top: 8px; padding-top: 14px; }

/* ── badges / status ─────────────────────────────────────── */
.status {
  display: inline-flex; align-items: center; gap: 7px; font-weight: 800; font-size: .78rem;
  padding: 5px 12px; border-radius: var(--radius-pill); text-transform: capitalize;
}
.status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.status.pending, .status.initiated, .status.authentication_pending { background: #fff1e0; color: #b5641b; }
.status.confirmed, .status.captured, .status.authenticated, .status.completed { background: #e3f7ef; color: #0a7d54; }
.status.authorized { background: #e4f1fb; color: #1667a8; }
.status.cancelled, .status.declined, .status.failed { background: #fde5ec; color: var(--coral-600); }
.status.refunded, .status.refund_pending { background: #efe8fb; color: #6c40c4; }

/* ── demo console ────────────────────────────────────────── */
.demo-hero { background: var(--gradient-sea); color: #fff; border-radius: var(--radius-lg); padding: clamp(28px,4vw,44px); }
.demo-hero h1 { color: #fff; }
.demo-hero p { color: #d7f5f6; max-width: 60ch; }
.flow-select { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.flow-opt {
  border: 2px solid var(--line); border-radius: var(--radius); padding: 18px; cursor: pointer; background: #fff;
  transition: border-color .15s, box-shadow .15s, transform .15s;
}
.flow-opt:hover { border-color: var(--aqua); }
.flow-opt.selected { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(0,166,166,.12); }
.flow-opt .tag { font-size: .68rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 800; color: var(--coral); }
.flow-opt h4 { margin: 6px 0; }
.flow-opt p { font-size: .84rem; color: var(--ink-soft); margin: 0; }
.toggle-row { display: flex; flex-wrap: wrap; gap: 10px; }
.toggle {
  display: inline-flex; align-items: center; gap: 8px; background: var(--sand); border: 1px solid var(--line);
  padding: 9px 14px; border-radius: var(--radius-pill); font-weight: 700; font-size: .84rem; cursor: pointer;
}
.toggle input { accent-color: var(--teal); }

/* timeline */
.timeline { position: relative; margin: 8px 0; padding-left: 34px; }
.timeline::before { content: ""; position: absolute; left: 12px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.tl-item { position: relative; padding: 12px 0 16px; }
.tl-item::before {
  content: ""; position: absolute; left: -27px; top: 16px; width: 16px; height: 16px; border-radius: 50%;
  background: #fff; border: 3px solid var(--teal);
}
.tl-item.api::before { border-color: var(--sky); }
.tl-item.shopper::before { border-color: var(--coral); }
.tl-item.issuer::before { border-color: var(--sunset); }
.tl-actor { font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 800; color: var(--ink-soft); }
.tl-item h4 { margin: 3px 0; font-size: 1.02rem; }
.tl-item p { margin: 0; font-size: .9rem; color: var(--ink-soft); }
.tl-meta { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.tl-meta code { background: var(--sand); border-radius: 7px; padding: 3px 8px; font-size: .78rem; color: var(--ocean); }
pre.code {
  background: #062e39; color: #d6f6f4; border-radius: var(--radius-sm); padding: 16px; overflow-x: auto;
  font-size: .8rem; line-height: 1.55; margin: 10px 0 0;
}
.disclose { margin-top: 8px; }
.disclose summary { cursor: pointer; font-weight: 700; font-size: .84rem; color: var(--teal-600); }

/* flow diagram */
.flow-diagram { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 16px; }
.flow-node {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 10px 14px;
  font-weight: 700; font-size: .84rem; color: var(--ocean); box-shadow: var(--shadow-sm);
}
.flow-arrow { color: var(--aqua); font-weight: 800; }

/* microform hosted fields */
.mf-field {
  border: 1.5px solid var(--line); border-radius: var(--radius-sm); padding: 12px 15px; background: #fff;
  height: 48px; transition: border-color .15s, box-shadow .15s;
}
.mf-field.focused { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(0,166,166,.12); }
.mf-field.invalid { border-color: var(--coral); }

.saved-card {
  display: flex; align-items: center; gap: 14px; border: 2px solid var(--line); border-radius: var(--radius-sm);
  padding: 14px 16px; cursor: pointer; margin-bottom: 10px;
}
.saved-card.selected { border-color: var(--teal); box-shadow: 0 0 0 4px rgba(0,166,166,.1); }
.card-logo {
  width: 46px; height: 30px; border-radius: 6px; background: var(--ocean); color: #fff; display: grid;
  place-items: center; font-size: .62rem; font-weight: 800; letter-spacing: .04em;
}

/* alerts */
.alert { border-radius: var(--radius-sm); padding: 14px 18px; font-size: .9rem; font-weight: 600; margin-bottom: 16px; }
.alert-error { background: #fde5ec; color: var(--coral-600); border: 1px solid #f6c9d8; }
.alert-info { background: #e4f5f5; color: var(--teal-600); border: 1px solid #bfe6e6; }
.alert-success { background: #e3f7ef; color: #0a7d54; border: 1px solid #bce9d5; }

/* modal */
.modal-backdrop {
  position: fixed; inset: 0; background: rgba(6,59,76,.6); backdrop-filter: blur(3px);
  display: flex; align-items: center; justify-content: center; z-index: 200; padding: 20px;
}
.modal {
  background: #fff; border-radius: var(--radius); max-width: 460px; width: 100%; padding: 26px;
  box-shadow: var(--shadow-lg);
}
.modal.wide { max-width: 560px; }
#tds-challenge-frame { width: 100%; height: 420px; border: 1px solid var(--line); border-radius: var(--radius-sm); }

/* sticky mobile CTA */
.sticky-cta {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 70; background: #fff;
  border-top: 1px solid var(--line); padding: 12px 16px; box-shadow: 0 -8px 24px rgba(6,59,76,.12);
  align-items: center; justify-content: space-between; gap: 12px;
}

/* misc */
.chip-row { display: flex; flex-wrap: wrap; gap: 8px; }
.hr { height: 1px; background: var(--line); border: 0; margin: 22px 0; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; font-size: .92rem; }
.kv dt { color: var(--ink-soft); font-weight: 600; }
.kv dd { margin: 0; font-weight: 700; color: var(--ocean); text-align: right; }
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 10px; border-radius: var(--radius); overflow: hidden; }
.gallery img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1; }
.gallery img:first-child { aspect-ratio: 3 / 2; grid-row: span 2; }
.icon-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.icon-list li { display: flex; gap: 10px; font-size: .95rem; }
.icon-list li::before { content: "✓"; color: var(--teal); font-weight: 800; }
.icon-list.no li::before { content: "✕"; color: var(--coral); }
.itin { list-style: none; padding: 0; margin: 0; }
.itin li { display: grid; grid-template-columns: 88px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.itin .t { font-weight: 800; color: var(--teal-600); font-size: .9rem; }
.badge-round { background: var(--sand); border-radius: var(--radius-pill); padding: 6px 14px; font-weight: 700; font-size: .82rem; color: var(--ocean); }

/* ═══ responsive ═══ */
@media (max-width: 1080px) {
  .grid.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .value-grid, .steps { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; }
  .summary-card { position: static; }
}
@media (max-width: 860px) {
  .nav-links { display: none; }
  .nav-toggle { display: grid; }
  .nav.open .nav-links {
    display: flex; flex-direction: column; position: absolute; top: 74px; left: 0; right: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 14px; gap: 4px;
  }
  .nav.open .nav-links a { width: 100%; }
  .utilbar .tagline { display: none; }
  .book-widget { grid-template-columns: 1fr 1fr; }
  .book-widget .btn { grid-column: 1 / -1; }
  .grid.cols-3, .grid.cols-2 { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .gallery img:first-child { grid-column: 1 / -1; grid-row: auto; }
  .steps, .value-grid { grid-template-columns: 1fr; }
  .sticky-cta { display: flex; }
  body.page-tour-detail { padding-bottom: 76px; }
}
@media (max-width: 560px) {
  .grid.cols-4 { grid-template-columns: 1fr; }
  .book-widget { grid-template-columns: 1fr; }
  .container { padding: 0 18px; }
  .footer__grid { grid-template-columns: 1fr; }
  .itin li { grid-template-columns: 1fr; gap: 4px; }
}

@media print {
  .nav, .utilbar, .footer, .sticky-cta, .no-print { display: none !important; }
  body { background: #fff; }
}
