/* ==========================================================================
   TourFlow — customer-facing booking site
   Reuses the design tokens from style.css and adds the storefront layer.
   ========================================================================== */

body.cust {
  background: #fff;
  color: var(--ink-800);
}

/* ---------------- header ---------------- */
.cust-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.9);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.cust-header-inner {
  max-width: 1180px; margin: 0 auto; padding: 0 22px;
  height: 66px; display: flex; align-items: center; gap: 14px;
}
.cust-brand { display: flex; align-items: center; gap: 10px; font-weight: 750; font-size: 17px; letter-spacing: -.02em; }
.cust-brand .mark {
  width: 32px; height: 32px; border-radius: 10px; display: grid; place-items: center;
  background: linear-gradient(135deg, var(--site-primary), var(--site-accent));
  box-shadow: 0 4px 12px rgba(79,70,229,.35);
}
.cust-nav-links { margin-left: 26px; display: flex; gap: 22px; }
.cust-nav-links a { font-size: 14px; font-weight: 550; color: var(--ink-600); cursor: pointer; }
.cust-nav-links a:hover, .cust-nav-links a.on { color: var(--ink-900); }
.cust-header .right { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.cust-burger { display: none; width: 38px; height: 38px; border: 1px solid var(--border); background: #fff;
  border-radius: var(--r-sm); align-items: center; justify-content: center; cursor: pointer; }
.cust-mobile-menu { display: none; border-top: 1px solid var(--border); padding: 10px 22px 16px; }
.cust-mobile-menu.open { display: block; }
.cust-mobile-menu a { display: block; padding: 10px 0; font-weight: 600; border-bottom: 1px solid var(--ink-100); }

.btn-site {
  background: var(--site-primary); border-color: var(--site-primary); color: #fff;
  box-shadow: 0 2px 8px rgba(79,70,229,.32);
}
.btn-site:hover { filter: brightness(1.07); background: var(--site-primary); border-color: var(--site-primary); }

/* ---------------- hero ---------------- */
.cust-hero {
  position: relative; overflow: hidden; color: #fff;
  background: linear-gradient(135deg, var(--site-primary), var(--site-accent));
  padding: 82px 22px 96px;
}
.cust-hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(900px 420px at 12% 8%, rgba(255,255,255,.22), transparent 60%),
    radial-gradient(700px 380px at 88% 88%, rgba(0,0,0,.24), transparent 62%);
}
.cust-hero-inner { position: relative; max-width: 1180px; margin: 0 auto; }
.hero-badge {
  display: inline-flex; align-items: center; gap: 7px;
  background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.28);
  padding: 5px 13px; border-radius: var(--r-full); font-size: 12.5px; font-weight: 600;
  backdrop-filter: blur(6px);
}
.cust-hero h1 {
  color: #fff; font-size: 50px; line-height: 1.06; letter-spacing: -.035em;
  margin: 18px 0 14px; max-width: 15ch;
}
.cust-hero p.lede { font-size: 17.5px; opacity: .93; max-width: 56ch; line-height: 1.55; }
.hero-stats { display: flex; gap: 34px; margin-top: 34px; flex-wrap: wrap; }
.hero-stats .hs b { display: block; font-size: 25px; font-weight: 750; letter-spacing: -.02em; }
.hero-stats .hs span { font-size: 12.5px; opacity: .85; }

.search-panel {
  display: flex; gap: 10px; background: #fff; border-radius: var(--r-md);
  padding: 10px; box-shadow: var(--shadow-lg); margin-top: 34px; max-width: 880px;
}
.search-panel .sp-field { flex: 1 1 0; padding: 4px 10px; border-right: 1px solid var(--border); min-width: 0; }
.search-panel .sp-field:last-of-type { border-right: 0; }
.search-panel label { display: block; font-size: 10.5px; text-transform: uppercase; letter-spacing: .07em;
  color: var(--ink-500); font-weight: 700; margin-bottom: 2px; }
.search-panel input, .search-panel select {
  width: 100%; border: 0; outline: none; font-size: 14px; color: var(--ink-900); background: transparent;
}

/* ---------------- sections ---------------- */
.cust-section { padding: 72px 22px; }
.cust-section.alt { background: var(--ink-50); }
.cust-wrap { max-width: 1180px; margin: 0 auto; }
.section-head { display: flex; align-items: flex-end; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.section-head h2 { font-size: 31px; letter-spacing: -.028em; }
.section-head p { color: var(--ink-500); margin-top: 6px; font-size: 15px; }
.eyebrow {
  font-size: 11.5px; text-transform: uppercase; letter-spacing: .1em;
  font-weight: 750; color: var(--site-primary);
}

.act-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 24px; }
.exp-card {
  border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden;
  background: #fff; cursor: pointer; display: flex; flex-direction: column;
  transition: box-shadow .2s, transform .2s;
}
.exp-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.exp-media { height: 178px; position: relative; display: grid; place-items: center; }
.exp-media .emo { font-size: 54px; filter: drop-shadow(0 4px 12px rgba(0,0,0,.28)); }
.exp-media .tagline {
  position: absolute; left: 12px; top: 12px; background: rgba(255,255,255,.92);
  padding: 3px 10px; border-radius: var(--r-full); font-size: 11.5px; font-weight: 700; color: var(--ink-800);
}
.exp-media .price-pill {
  position: absolute; right: 12px; bottom: 12px; background: #fff;
  padding: 5px 11px; border-radius: var(--r-full); font-size: 13.5px; font-weight: 750;
  box-shadow: var(--shadow-md);
}
.exp-body { padding: 17px; display: flex; flex-direction: column; gap: 9px; flex: 1; }
.exp-body h3 { font-size: 17px; letter-spacing: -.015em; }
.exp-body .desc { font-size: 13.5px; color: var(--ink-500); line-height: 1.55; flex: 1; }
.exp-meta { display: flex; gap: 14px; font-size: 12.5px; color: var(--ink-500); flex-wrap: wrap; }
.stars { color: #f59e0b; font-weight: 700; }

.feature-row { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 26px; }
.feature { display: flex; gap: 13px; }
.feature .fi {
  width: 38px; height: 38px; border-radius: 11px; flex: 0 0 auto; display: grid; place-items: center;
  background: color-mix(in srgb, var(--site-primary) 12%, white); color: var(--site-primary);
}
.feature b { display: block; margin-bottom: 3px; }
.feature p { font-size: 13.5px; color: var(--ink-500); line-height: 1.55; }

/* ---------------- detail ---------------- */
.detail-split { display: grid; grid-template-columns: minmax(0,1.55fr) minmax(0,1fr); gap: 34px; align-items: start; }
.detail-hero {
  height: 300px; border-radius: var(--r-lg); display: grid; place-items: center;
  font-size: 84px; margin-bottom: 26px; position: relative; overflow: hidden;
}
.detail-hero::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(700px 300px at 30% 20%, rgba(255,255,255,.2), transparent 60%);
}
.book-summary {
  position: sticky; top: 90px; border: 1px solid var(--border); border-radius: var(--r-lg);
  box-shadow: var(--shadow-md); padding: 22px; background: #fff;
}
.highlight-list li { display: flex; gap: 10px; padding: 7px 0; font-size: 14px; align-items: flex-start; }
.highlight-list li svg { color: var(--ok-600); flex: 0 0 auto; margin-top: 3px; }

/* ---------------- booking flow ---------------- */
.book-layout { display: grid; grid-template-columns: minmax(0,1fr) 350px; gap: 30px; align-items: start; }
.steps-rail { display: flex; gap: 6px; margin-bottom: 28px; }
.step-pip { flex: 1 1 0; min-width: 74px; }
.step-pip .bar { height: 4px; border-radius: 4px; background: var(--ink-200); }
.step-pip.done .bar, .step-pip.on .bar { background: var(--site-primary); }
.step-pip .lb { font-size: 11.5px; font-weight: 650; color: var(--ink-400); margin-top: 7px; }
.step-pip.on .lb, .step-pip.done .lb { color: var(--ink-800); }

.mini-cal { display: grid; grid-template-columns: repeat(7, 1fr); gap: 5px; }
.mini-cal .dow { text-align: center; font-size: 11px; font-weight: 700; color: var(--ink-400); padding-bottom: 4px; }
.mini-cal button {
  aspect-ratio: 1; border: 1px solid var(--border); background: #fff; border-radius: 9px;
  font-size: 13.5px; font-weight: 600; cursor: pointer; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 2px; padding: 0;
}
.mini-cal button:hover:not(:disabled) { border-color: var(--site-primary); color: var(--site-primary); }
.mini-cal button.on { background: var(--site-primary); border-color: var(--site-primary); color: #fff; }
.mini-cal button:disabled { opacity: .34; cursor: not-allowed; background: var(--ink-50); }
.mini-cal button .av { font-size: 9px; font-weight: 700; color: var(--ok-600); }
.mini-cal button.on .av { color: rgba(255,255,255,.85); }
.mini-cal .blank { aspect-ratio: 1; }

.time-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 11px; }
.time-opt {
  border: 1.5px solid var(--border); border-radius: var(--r); padding: 13px; cursor: pointer;
  text-align: left; background: #fff; transition: all .13s;
}
.time-opt:hover:not(:disabled) { border-color: var(--site-primary); }
.time-opt.on { border-color: var(--site-primary); background: color-mix(in srgb, var(--site-primary) 7%, white); }
.time-opt:disabled { opacity: .5; cursor: not-allowed; background: var(--ink-50); }
.time-opt .t { font-size: 15.5px; font-weight: 700; }
.time-opt .s { font-size: 12px; color: var(--ok-600); font-weight: 650; margin-top: 2px; }
.time-opt.low .s { color: var(--warn-600); }
.time-opt:disabled .s { color: var(--ink-400); }

.qty-row {
  display: flex; align-items: center; gap: 14px; padding: 15px 0; border-bottom: 1px solid var(--ink-100);
}
.qty-ctl { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.qty-btn {
  width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--border-strong);
  background: #fff; font-size: 17px; cursor: pointer; display: grid; place-items: center; color: var(--ink-700);
}
.qty-btn:hover:not(:disabled) { border-color: var(--site-primary); color: var(--site-primary); }
.qty-btn:disabled { opacity: .4; cursor: not-allowed; }
.qty-val { width: 26px; text-align: center; font-weight: 700; font-size: 16px; }

.waiver-box {
  max-height: 230px; overflow-y: auto; border: 1px solid var(--border); border-radius: var(--r);
  padding: 16px; font-size: 13.5px; line-height: 1.68; color: var(--ink-600); background: var(--ink-50);
}
.sig-pad {
  border: 2px dashed var(--border-strong); border-radius: var(--r); height: 96px;
  display: grid; place-items: center; cursor: crosshair; background: #fff; position: relative;
}
.sig-pad.signed { border-style: solid; border-color: var(--ok-600); background: var(--ok-50); }
.sig-name { font-family: 'Segoe Script', 'Brush Script MT', cursive; font-size: 27px; color: var(--ink-800); }

.pay-opt {
  display: flex; align-items: center; gap: 12px; border: 1.5px solid var(--border);
  border-radius: var(--r); padding: 14px; cursor: pointer; transition: all .13s; background: #fff;
}
.pay-opt:hover { border-color: var(--site-primary); }
.pay-opt.on { border-color: var(--site-primary); background: color-mix(in srgb, var(--site-primary) 6%, white); }
.pay-opt .radio {
  width: 18px; height: 18px; border-radius: 50%; border: 2px solid var(--border-strong); flex: 0 0 auto;
  display: grid; place-items: center;
}
.pay-opt.on .radio { border-color: var(--site-primary); }
.pay-opt.on .radio::after { content: ''; width: 9px; height: 9px; border-radius: 50%; background: var(--site-primary); }

.summary-line { display: flex; justify-content: space-between; font-size: 13.5px; padding: 5px 0; }
.summary-total {
  display: flex; justify-content: space-between; align-items: baseline;
  padding-top: 13px; margin-top: 10px; border-top: 1px solid var(--border);
  font-size: 21px; font-weight: 750;
}

.confirm-hero {
  text-align: center; padding: 46px 22px;
  background: linear-gradient(135deg, var(--ok-50), #fff); border-radius: var(--r-lg);
  border: 1px solid var(--ok-100);
}
.confirm-check {
  width: 68px; height: 68px; border-radius: 50%; background: var(--ok-600); color: #fff;
  display: grid; place-items: center; margin: 0 auto 18px;
  animation: pop .35s cubic-bezier(.34,1.5,.64,1);
}

/* ---------------- footer ---------------- */
.cust-footer { background: var(--ink-900); color: var(--ink-300); padding: 54px 22px 30px; margin-top: 20px; }
.cust-foot-grid { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.cust-footer h4 { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: .07em; margin-bottom: 13px; }
.cust-footer a, .cust-footer p { font-size: 13.5px; color: #94a3b8; display: block; padding: 4px 0; line-height: 1.6; }
.cust-footer a:hover { color: #fff; }
.foot-bottom {
  max-width: 1180px; margin: 34px auto 0; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.1);
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: 12.5px; color: #64748b;
}

.demo-ribbon {
  background: var(--ink-900); color: #fcd34d; text-align: center;
  padding: 7px 16px; font-size: 12.5px; font-weight: 600;
}
.demo-ribbon a { color: #fff; text-decoration: underline; }
