/* Shared structure for every template: layout, components, accessibility, mobile bar.
   Templates set the look (colors come from the operator's branding as CSS variables). */
:root {
  --ink: #101817; --ink-2: #4d5d5f; --line: rgb(16 24 23 / .12); --surface: #ffffff;
  --r: 20px; --wrap: 1240px; --pad: clamp(16px, 4vw, 40px); --ease: cubic-bezier(.16, 1, .3, 1);
  --font-body: system-ui, -apple-system, "Segoe UI", "Noto Sans Thai", Roboto, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16.5px/1.6 var(--font-body); -webkit-font-smoothing: antialiased; overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
picture { display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.1; margin: 0; letter-spacing: -.02em; text-wrap: balance; }
p { margin: 0; }
:lang(th) h1, :lang(th) h2, :lang(th) h3 { line-height: 1.35; letter-spacing: 0; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad); }
.narrow { max-width: 820px; }
.muted { color: var(--ink-2); }
.small { font-size: 14px; }
.lead { color: var(--ink-2); font-size: 18px; margin-top: 12px; max-width: 60ch; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: #fff; padding: 8px 14px; border-radius: 999px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.big { font-size: 56px; color: var(--ink-2); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 48px; padding: .75em 1.35em;
  border-radius: var(--radius-btn); border: 1px solid transparent; font: 600 16px/1.1 var(--font-body); text-decoration: none; cursor: pointer;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background-color .2s; white-space: nowrap; }
.btn i { font-size: 1.25em; }
.btn:active { transform: scale(.97); }
.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-accent:hover { transform: translateY(-2px); box-shadow: 0 12px 26px -14px var(--accent); }
.btn-ghost { background: transparent; color: inherit; border-color: currentColor; }
.btn-wa { background: #1ebe5b; color: #fff; }
.btn-line { background: #06c755; color: #fff; }
.btn-sm { min-height: 40px; padding: .55em 1.05em; font-size: 15px; }
.contact-buttons { display: flex; flex-wrap: wrap; gap: 10px; }
.contact-buttons.stack { flex-direction: column; }
.contact-buttons.stack .btn { width: 100%; }

/* ---------- ribbons ---------- */
.preview-ribbon, .demo-ribbon { position: relative; z-index: 60; padding: 8px var(--pad); font-size: 14px; text-align: center; }
.preview-ribbon { background: #fff1d6; color: #7a4d00; }
.preview-ribbon a { margin-left: 8px; font-weight: 600; }
.demo-ribbon { background: #e7eceb; color: #33474b; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 40; background: color-mix(in srgb, var(--paper) 88%, transparent);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; gap: 20px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; min-width: 0; margin-right: auto; }
.brand-logo img { height: 40px; width: auto; object-fit: contain; }
.brand-mark { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--accent-ink); font: 800 18px/1 var(--font-display); }
.brand-name { font: 700 18px/1.1 var(--font-display); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.main-nav { display: flex; gap: 22px; }
.main-nav a { text-decoration: none; font-weight: 500; opacity: .85; }
.main-nav a:hover { opacity: 1; }
.header-end { display: flex; align-items: center; gap: 10px; }
.lang-switch label { display: inline-flex; align-items: center; gap: 4px; padding: 0 10px; height: 40px; border-radius: 999px; border: 1px solid var(--line); cursor: pointer; }
.lang-switch select { border: 0; background: none; font: 600 14px/1 var(--font-body); color: inherit; appearance: none; cursor: pointer; }
.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line); background: none; font-size: 22px; color: inherit; cursor: pointer; }

/* ---------- sections ---------- */
.section { padding-block: clamp(56px, 8vw, 110px); }
.section-head { margin-bottom: 32px; }
.section-head h2 { font-size: clamp(30px, 4vw, 50px); }
.more { margin-top: 28px; text-align: center; }
.page-head { padding-top: clamp(36px, 6vw, 72px); }
.page-head h1 { font-size: clamp(34px, 5vw, 60px); }
.empty { color: var(--ink-2); margin-bottom: 16px; }

.hero { position: relative; min-height: min(88dvh, 820px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--brand); }
.hero-media, .hero-shade { position: absolute; inset: 0; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s ease; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-slide.is-on { opacity: 1; }
.hero-shade { background: linear-gradient(180deg, rgb(0 0 0 / .35) 0%, rgb(0 0 0 / 0) 35%, rgb(0 0 0 / .65) 100%); }
.hero-copy { position: relative; padding-block: 120px 64px; }
.eyebrow { display: inline-flex; align-items: center; gap: 6px; font: 600 14px/1 var(--font-body); letter-spacing: .06em; text-transform: uppercase; opacity: .92; margin-bottom: 16px; }
.hero-title { font-size: clamp(38px, 6.4vw, 88px); line-height: 1; max-width: 14ch; }
.hero-sub { margin-top: 18px; max-width: 52ch; font-size: clamp(16px, 1.4vw, 19px); opacity: .95; }
.hero .contact-buttons { margin-top: 28px; }

.tour-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.tour-card { display: flex; flex-direction: column; border-radius: var(--r); overflow: hidden; background: var(--surface); text-decoration: none;
  border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.tour-card:hover { transform: translateY(-4px); box-shadow: 0 22px 44px -28px rgb(0 0 0 / .45); }
.tour-card-media { aspect-ratio: 4 / 3; background: color-mix(in srgb, var(--brand) 20%, #ddd); overflow: hidden; }
.tour-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.tour-card:hover .tour-card-media img { transform: scale(1.05); }
.tour-card-body { display: grid; gap: 8px; padding: 18px; }
.tour-card-meta { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 5px; padding: 4px 10px; border-radius: 999px; background: color-mix(in srgb, var(--accent) 12%, transparent); font-size: 13px; font-weight: 600; }
.tour-card-title { font: 700 21px/1.2 var(--font-display); }
.tour-card-text { color: var(--ink-2); font-size: 15px; }
.tour-card-price { font: 800 19px/1.2 var(--font-display); margin-top: 4px; }
.tour-card-price small { font: 500 13px/1 var(--font-body); color: var(--ink-2); }

.why-grid, .trust-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.why-item, .trust-item { padding: 24px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.why-item i, .trust-item i { font-size: 34px; color: var(--accent); }
.why-item h3, .trust-item h3 { font-size: 20px; margin-top: 12px; }
.why-item p, .trust-item p { color: var(--ink-2); margin-top: 6px; }
.trust-item { display: flex; gap: 14px; }
.trust-item h3 { margin-top: 0; }

.dest-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.dest { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 3 / 4; color: #fff; text-decoration: none; background: var(--brand); }
.dest img { width: 100%; height: 100%; object-fit: cover; }
.dest::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgb(0 0 0 / .7)); }
.dest span { position: absolute; z-index: 1; left: 16px; bottom: 14px; font: 700 20px/1.2 var(--font-display); }

.boat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.boat-card { display: grid; border-radius: var(--r); overflow: hidden; background: var(--surface); border: 1px solid var(--line); text-decoration: none; }
.boat-media { aspect-ratio: 16 / 10; background: #ddd; }
.boat-media img { width: 100%; height: 100%; object-fit: cover; }
.boat-body { display: grid; gap: 6px; padding: 16px; }
.boat-body strong { font: 700 20px/1.2 var(--font-display); }

.google-box { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 22px; padding: 20px 24px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); margin-bottom: 22px; }
.g-logo { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--paper); font-size: 28px; }
.g-title { font-weight: 600; color: var(--ink-2); }
.g-score { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.g-score strong { font: 800 32px/1 var(--font-display); }
.g-actions { margin-left: auto; display: flex; gap: 10px; flex-wrap: wrap; }
.stars { display: inline-flex; gap: 2px; color: #f5a623; font-size: 19px; }
.review-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.review-card { margin: 0; padding: 22px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); display: grid; gap: 12px; align-content: start; }
.review-top { display: flex; justify-content: space-between; gap: 10px; align-items: center; flex-wrap: wrap; }
.review-source { font-size: 13px; color: var(--ink-2); display: inline-flex; gap: 4px; align-items: center; }
.review-card blockquote { margin: 0; font-size: 16px; }
.review-card figcaption { font-weight: 600; font-size: 15px; }
.review-card figcaption span { color: var(--ink-2); font-weight: 400; }
.review-card figcaption a { display: block; font-weight: 500; font-size: 14px; margin-top: 4px; color: var(--ink-2); }

.gallery-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 10px; }
.gallery-grid figure { margin: 0; border-radius: 14px; overflow: hidden; aspect-ratio: 1; background: #ddd; position: relative; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; }
.gallery-grid figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 4px 8px; font-size: 11px; background: rgb(0 0 0 / .45); color: #fff; }

.faq-list { display: grid; gap: 10px; }
.faq-item { border-radius: 16px; background: var(--surface); border: 1px solid var(--line); }
.faq-item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 16px; padding: 18px 20px; font-weight: 600; font-size: 17px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item[open] summary i { transform: rotate(45deg); }
.faq-item summary i { transition: transform .3s var(--ease); color: var(--accent); }
.faq-item p { padding: 0 20px 18px; color: var(--ink-2); }

.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; align-items: start; }
.contact-grid h2 { font-size: clamp(30px, 4vw, 48px); }
.contact-ctas { margin-top: 24px; }
.contact-facts { margin: 0; display: grid; gap: 16px; padding: 24px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); }
.contact-facts dt { font-size: 13px; color: var(--ink-2); }
.contact-facts dd { margin: 2px 0 0; font-weight: 600; }

.cta-band { background: var(--brand); color: var(--brand-ink); padding-block: clamp(44px, 6vw, 72px); }
.cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta-inner h2 { font-size: clamp(26px, 3.4vw, 40px); }
.cta-inner p { opacity: .9; margin-top: 8px; }

/* ---------- tour page ---------- */
.tour-hero { position: relative; min-height: 52vh; display: flex; align-items: flex-end; color: #fff; background: var(--brand); overflow: hidden; }
.tour-hero-media { position: absolute; inset: 0; }
.tour-hero-media img { width: 100%; height: 100%; object-fit: cover; }
.tour-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgb(0 0 0 / .2), rgb(0 0 0 / .7)); }
.tour-hero-copy { position: relative; z-index: 1; padding-block: 90px 40px; }
.tour-hero-copy h1 { font-size: clamp(32px, 5vw, 64px); max-width: 18ch; }
.tour-hero-copy .lead { color: #fff; opacity: .92; }
.crumbs { font-size: 14px; opacity: .9; margin-bottom: 14px; }
.crumbs a { text-decoration: none; }
.tour-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: clamp(24px, 4vw, 56px); padding-block: 40px 90px; align-items: start; }
.tour-main h2 { font-size: 26px; margin: 36px 0 14px; }
.facts { list-style: none; margin: 0 0 24px; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; }
.facts li { display: flex; gap: 10px; align-items: flex-start; padding: 14px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line); }
.facts i { font-size: 22px; color: var(--accent); }
.facts small { display: block; color: var(--ink-2); font-size: 12.5px; }
.prose p + p { margin-top: 12px; }
.itinerary { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; border-left: 2px solid var(--line); padding-left: 18px; }
.itinerary time { font-weight: 700; margin-right: 10px; color: var(--accent); }
.incl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ticks li { display: flex; gap: 8px; }
.ticks i { color: #1e8a4a; font-size: 19px; margin-top: 2px; }
.ticks.no i { color: var(--ink-2); }
.book-box { position: sticky; top: 90px; display: grid; gap: 12px; padding: 22px; border-radius: var(--r); background: var(--surface); border: 1px solid var(--line); box-shadow: 0 24px 50px -34px rgb(0 0 0 / .5); }
.book-box-price strong { font: 800 30px/1.1 var(--font-display); }
.book-box-price small { color: var(--ink-2); }
.status-page { text-align: center; padding-block: 90px; display: grid; gap: 14px; justify-items: center; }
.legal { padding-block: 50px 80px; }
.legal h1 { font-size: clamp(30px, 4vw, 44px); margin-bottom: 18px; }
.legal h2 { font-size: 21px; margin: 26px 0 8px; }
.legal p, .legal li { color: var(--ink-2); }

/* ---------- footer ---------- */
.site-footer { padding-block: 48px 110px; border-top: 1px solid var(--line); background: var(--surface); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 32px; }
.footer-brand { font: 700 20px/1.2 var(--font-display); margin-bottom: 8px; }
.footer-title { font-weight: 700; margin-bottom: 10px; }
.footer-list, .social { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.footer-list a { display: inline-flex; gap: 8px; align-items: center; text-decoration: none; color: var(--ink-2); }
.footer-list a:hover { color: var(--ink); }
.social { display: flex; gap: 10px; margin-top: 14px; font-size: 22px; }
.copyright { margin-top: 28px; font-size: 13px; color: var(--ink-2); }

/* ---------- mobile contact bar (always one tap away) ---------- */
.mobile-bar { display: none; }
@media (max-width: 860px) {
  .main-nav { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--paper); border-bottom: 1px solid var(--line); padding: 8px var(--pad); }
  .main-nav.is-open { display: flex; }
  .main-nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .menu-toggle { display: grid; place-items: center; }
  .header-cta { display: none; }
  .brand-name { max-width: 46vw; }
  .contact-grid, .tour-layout, .footer-grid, .incl-grid { grid-template-columns: 1fr; }
  .book-box { position: static; }
  .mobile-bar { position: fixed; inset: auto 0 0; z-index: 50; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr;
    background: var(--surface); border-top: 1px solid var(--line); padding-bottom: env(safe-area-inset-bottom); box-shadow: 0 -10px 30px -20px rgb(0 0 0 / .4); }
  .mobile-bar a { display: grid; justify-items: center; gap: 2px; padding: 9px 4px 10px; text-decoration: none; font-size: 12px; font-weight: 600; min-height: 56px; }
  .mobile-bar i { font-size: 22px; }
  .mobile-bar .mb-book { background: var(--accent); color: var(--accent-ink); }
  .hero-copy { padding-block: 90px 44px; }
}

/* ---------- motion ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.is-in, .no-js .reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- booking page ---------- */
.book-page { background: var(--paper); }
.book-top { display: flex; justify-content: space-between; align-items: center; gap: 16px; height: 72px; color: var(--ink); }
.book { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 620px); gap: clamp(20px, 4vw, 56px); align-items: start; padding-bottom: 80px; }
.book-hero { position: sticky; top: 24px; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 5; background: var(--brand); box-shadow: 0 24px 50px -34px rgb(0 0 0 / .45); }
.book-hero img { width: 100%; height: 100%; object-fit: cover; animation: drift 14s ease-out both; }
.book-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r); padding: clamp(20px, 3vw, 36px); box-shadow: 0 24px 50px -34px rgb(0 0 0 / .45); }
.book-title { font-size: clamp(30px, 3.4vw, 44px); line-height: 1.05; font-weight: 800; }
.stepper { list-style: none; margin: 22px 0 26px; padding: 0; display: flex; gap: 6px; flex-wrap: wrap; }
.stepper li { display: flex; align-items: center; gap: 8px; padding: 6px 12px 6px 6px; border-radius: 999px; background: var(--paper); color: var(--ink-2); font: 600 13px/1 var(--font-body); }
.stepper li span { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line); font-size: 12px; }
.stepper li.on { background: color-mix(in srgb, var(--accent) 16%, transparent); color: var(--ink); }
.stepper li.on span { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.stepper li.done span { background: var(--brand); border-color: var(--brand); color: #fff; }
.book-demo { display: flex; gap: 10px; padding: 12px 14px; border-radius: 14px; background: color-mix(in srgb, var(--accent) 16%, transparent); margin-bottom: 18px; font-size: 14.5px; }
.book-demo i { color: var(--accent); font-size: 20px; margin-top: 1px; }
.view-in { animation: fadeUp .5s var(--ease) both; }
.book-h { font-size: 24px; font-weight: 700; margin-bottom: 16px; }
.chosen { display: flex; align-items: center; gap: 8px; margin: -6px 0 18px; }
.trip-pick { display: grid; gap: 12px; }
.pick { display: grid; grid-template-columns: 120px 1fr; gap: 16px; align-items: center; padding: 10px; border-radius: 18px; border: 1.5px solid var(--line);
  background: var(--surface); color: var(--ink); text-align: left; cursor: pointer; font: inherit; transition: border-color .25s, transform .35s var(--ease), box-shadow .35s var(--ease); }
.pick:hover { border-color: var(--accent); transform: translateY(-2px); box-shadow: 0 24px 50px -34px rgb(0 0 0 / .45); }
.pick.is-on { border-color: var(--accent); box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent) 20%, transparent); }
.pick img { width: 120px; height: 90px; object-fit: cover; border-radius: 12px; }
.pick-body { display: grid; gap: 4px; }
.pick-body strong { font: 700 18px/1.2 var(--font-display); }
.pick-price { font: 800 18px/1 var(--font-display); margin-top: 4px; }
.pick-price small { font: 500 13px/1 var(--font-body); color: var(--ink-2); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
.fld { display: grid; gap: 8px; align-content: start; }
.fld > span:first-child { font: 600 14px/1.2 var(--font-body); color: var(--ink); }
.fld input:not([type="checkbox"]), .fld textarea { font: 400 16px/1.4 var(--font-body); padding: 13px 14px; border-radius: 14px; border: 1px solid var(--line);
  background: var(--paper); color: var(--ink); width: 100%; }
.fld input:focus, .fld textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent) 18%, transparent); }
.fld .control input { border: 0; padding: 0; background: none; box-shadow: none; }
.fld-err { color: #b3261e; font-size: 13px; }
.span2 { grid-column: 1 / -1; }
.stepper-ctl { justify-content: space-between; padding: 0 6px; }
.stepper-ctl button { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--surface); color: var(--ink); cursor: pointer; display: grid; place-items: center;
  box-shadow: 0 1px 0 var(--line), 0 2px 8px -4px rgb(0 0 0 / .25); }
.stepper-ctl output { font: 700 20px/1 var(--font-display); }
.stepper-ctl output.bump { animation: bump .35s var(--ease); }
.opts { border: 0; padding: 0; margin: 20px 0 0; display: grid; gap: 8px; }
.opts legend { font: 600 14px/1.2 var(--font-body); margin-bottom: 8px; }
.opt { display: grid; grid-template-columns: auto 1fr auto; gap: 10px; align-items: center; padding: 12px 14px; border-radius: 14px; border: 1px solid var(--line); cursor: pointer; }
.opt input, .check input { width: 18px; height: 18px; accent-color: var(--accent); }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; }
.check a { color: var(--ink); }
.total-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.total-row strong { font: 800 28px/1 var(--font-display); letter-spacing: -.02em; }
.note { display: flex; gap: 8px; align-items: flex-start; margin-top: 16px; padding: 12px 14px; border-radius: 14px; background: var(--paper); font-size: 15px; }
.note i { font-size: 19px; color: var(--accent); margin-top: 1px; }
.note.err { background: #fde2dc; color: #8a2a12; }
.note.err i { color: #b3261e; }
.note.ok { background: #dcf3e4; color: #145c30; }
.note.ok i { color: #1e8a4a; }
.small { font-size: 13.5px; }
.center { text-align: center; }
.nav-row { display: flex; justify-content: space-between; gap: 12px; margin-top: 26px; }
.btn[disabled] { opacity: .45; cursor: not-allowed; transform: none; box-shadow: none; }
.btn.wide { width: 100%; justify-content: center; margin-top: 20px; }
.btn.is-loading { position: relative; color: transparent; }
.btn.is-loading::after { content: ""; position: absolute; inset: 0; margin: auto; width: 20px; height: 20px; border-radius: 50%;
  border: 2.5px solid var(--accent-ink); border-right-color: transparent; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.sum { display: grid; grid-template-columns: max-content 1fr; gap: 10px 18px; margin: 4px 0 8px; padding: 18px; border-radius: 16px; background: var(--paper); }
.sum dt { color: var(--ink-2); }
.sum dd { margin: 0; text-align: right; }
.result { text-align: center; padding: 10px 0 18px; }
.result h2 { font: 800 26px/1.15 var(--font-display); margin-top: 12px; }
.lead-sm { margin-top: 8px; color: var(--ink-2); }
.tick { display: inline-grid; place-items: center; width: 76px; height: 76px; border-radius: 50%; background: #dcf3e4; color: #1e8a4a; font-size: 48px; animation: pop .6s var(--ease) both; }
.tick.soft { background: color-mix(in srgb, var(--accent) 16%, transparent); color: var(--accent); }
.tick.bad { background: #fde2dc; color: #b3261e; }
.pulse { display: inline-block; width: 64px; height: 64px; border-radius: 50%; border: 4px solid color-mix(in srgb, var(--accent) 16%, transparent); border-top-color: var(--accent); animation: spin 1s linear infinite; }
.retry-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 8px 0 12px; }
.line-box { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 18px; padding: 16px; border-radius: 16px; background: #eefaf1; color: #0e1a1d; }
.btn-line { background: #06c755; color: #fff; }
.btn-line:hover { transform: translateY(-2px); }
.big { font-size: 44px; color: var(--ink-2); }
@media (max-width: 900px) {
  .book { grid-template-columns: 1fr; }
  .book-hero { position: relative; top: 0; aspect-ratio: 16 / 7; }
}
@media (max-width: 560px) {
  .form-grid { grid-template-columns: 1fr; }
  .pick { grid-template-columns: 92px 1fr; }
  .pick img { width: 92px; height: 76px; }
  .stepper li { font-size: 0; padding: 4px; gap: 0; }
  .stepper li.on { font-size: 12px; padding-right: 10px; gap: 6px; }
  .line-box { flex-direction: column; align-items: stretch; text-align: center; }
  .sum { grid-template-columns: 1fr; gap: 2px; }
  .sum dd { text-align: left; margin-bottom: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .pulse, .btn.is-loading::after { animation: none !important; }
}
.book { max-width: 760px; padding-block: 32px 110px; display: block; }
.book-card { background: var(--surface); }
.quote { margin-top: 18px; padding: 16px; border-radius: 16px; background: var(--paper); }
.q-line { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; color: var(--ink-2); padding: 3px 0; }
.quote .total-row { margin-top: 10px; padding-top: 12px; }
.alt-contact { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.control { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 14px; border-radius: 14px; background: var(--paper); border: 1px solid var(--line); }
.control input { flex: 1; border: 0; background: none; font: 500 16px/1 var(--font-body); color: inherit; min-width: 0; }
.control > i { color: var(--accent); font-size: 20px; }
.pick-ph { width: 120px; height: 90px; border-radius: 12px; background: var(--paper); }
@keyframes pop { from { opacity: 0; transform: translateY(10px) scale(.94); } }
@keyframes bump { 40% { transform: scale(1.3); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(12px); } }
