/* Koh Chang Taxi — island ferry: ocean blue, sunshine-yellow actions, CSS wave edges. System fonts only. */
:root {
  --ocean: #0a5a9c; --ocean-2: #084b85; --deep: #06355f;
  --sun: #ffc93c; --sun-2: #ffb700; --sun-edge: #d99f00;
  --sky: #eef6fd; --tint: #e3f0fb;
  --ink: #0d2236; --ink-2: #2d4458; --ink-3: #4f6477;
  --line: #cfe0ef; --ok: #0b7a43;
  --wa: #25d366; --wa-ink: #06301a; --ln: #06c755; --ln-ink: #052e16;
  --r: 14px;
  --lift: 0 8px 24px rgba(10,90,156,.07);
  --s: 11px;
  --wave: radial-gradient(calc(var(--s) * 1.28) at 50% calc(1.8 * var(--s)), #000 99%, #0000 101%) calc(50% - 2 * var(--s)) 0 / calc(4 * var(--s)) 100%, radial-gradient(calc(var(--s) * 1.28) at 50% calc(-.8 * var(--s)), #0000 99%, #000 101%) 50% var(--s) / calc(4 * var(--s)) 100% repeat-x;
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Noto Sans Thai", "Leelawadee UI", Thonburi, Tahoma, sans-serif;
  --round: ui-rounded, var(--font);
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 72px; }
body { margin: 0; font: 16px/1.55 var(--font); font-variant-numeric: tabular-nums; color: var(--ink); background: var(--sky); }
:lang(th) body { line-height: 1.7; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ocean-2); }
h1, h2, h3 { font-family: var(--round); line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.01em; text-wrap: balance; }
:lang(th) h1, :lang(th) h2, :lang(th) h3 { line-height: 1.38; letter-spacing: 0; }
p { margin: 0 0 1em; }
.wrap { width: min(100% - 32px, 1200px); margin-inline: auto; }
.narrow { max-width: 860px; }
.nb { white-space: nowrap; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -9999px; top: 8px; z-index: 60; background: #fff; padding: 8px 12px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid #1d7fd0; outline-offset: 2px; }
[hidden] { display: none !important; }
.logo, .lang, .menu a, .m-book, .book, .rate, .guides ul a, .btn, .foot-call a, .foot ul a, .dock a, .quick a { text-decoration: none; }

/* masthead */
.mast { background: var(--ocean); color: #fff; position: sticky; top: 0; z-index: 30; box-shadow: 0 1px 0 rgba(255,255,255,.08); }
.mast-in { display: flex; align-items: center; gap: 10px; min-height: 58px; }
.logo { display: flex; align-items: center; gap: 10px; color: #fff; min-width: 0; }
.logo img { width: 40px; height: 40px; flex: none; border-radius: 11px; box-shadow: 0 0 0 2px rgba(255,255,255,.28); }
.logo b { display: block; font-family: var(--round); font-weight: 800; font-size: 1.06rem; line-height: 1.15; white-space: nowrap; }
.logo i { display: block; font-style: normal; font-size: .74rem; color: #d3e6f7; white-space: nowrap; line-height: 1.25; }
.menu { display: none; }
.lang { margin-left: auto; color: #fff; border: 1.5px solid rgba(255,255,255,.5); border-radius: 999px; padding: 4px 12px; font-weight: 800; font-size: .86rem; }
.m-wa { display: grid; place-items: center; width: 40px; height: 40px; flex: none; border-radius: 50%; background: var(--wa); color: var(--wa-ink); }
.m-wa svg { width: 22px; height: 22px; }
.m-book { display: none; }
@media (min-width: 1000px) {
  .mast-in { min-height: 64px; gap: 14px; }
  .menu { display: flex; gap: 22px; margin-left: auto; }
  .menu a { color: #e6f1fb; font-weight: 650; font-size: .95rem; }
  .menu a:hover { color: #fff; text-decoration: underline; text-underline-offset: 6px; }
  .lang { margin-left: 8px; }
  .m-book { display: inline-flex; background: var(--sun); color: var(--ink); font-weight: 850; padding: 9px 18px; border-radius: 999px; }
  .m-book:hover { background: var(--sun-2); }
}

/* hero: photo, ocean panel, the booking card */
.hero { position: relative; background: var(--sky); }
.hero-pic img { width: 100%; height: 150px; object-fit: cover; object-position: 50% 50%; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr); padding-bottom: 16px; }
.hero-copy { margin: 0 -16px; padding: 12px 16px 46px; background: var(--ocean); color: #fff; }
.eyebrow { display: none; }
.hero h1 { font-size: clamp(1.5rem, 6.3vw, 2.6rem); font-weight: 850; line-height: 1.12; margin: 0; color: #fff; }
:lang(th) .hero h1 { font-size: clamp(1.38rem, 5.8vw, 2.35rem); line-height: 1.32; }
/* phone: the fare rides on the photo */
.anchor { position: absolute; left: 12px; top: 10px; margin: 0; padding: 5px 12px 6px; border-radius: 12px; background: var(--sun); color: var(--ink); font-size: .86rem; font-weight: 750; line-height: 1.25; box-shadow: 0 6px 16px rgba(4,38,67,.3); }
.anchor .a1 { display: block; font-size: .72rem; font-weight: 800; }
.anchor b { font-size: 1.22rem; }
.anchor .a3 { display: none; }
.hero-proof { padding-top: 12px; }
.usp { display: flex; flex-wrap: wrap; gap: 4px 14px; list-style: none; margin: 0; padding: 0; font-size: .86rem; font-weight: 700; color: var(--ink-2); }
.usp li { display: flex; align-items: center; gap: 4px; }
.usp svg { width: 17px; height: 17px; flex: none; color: var(--ok); }
.trust { margin: 4px 0 0; font-size: .78rem; color: #d7e9f8; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.trust b { color: #fff; font-weight: 800; }
.stars { color: var(--sun); letter-spacing: 1px; }
.t-d { display: none; }

/* the card */
.bk { position: relative; margin-top: -34px; background: #fff; color: var(--ink); border-radius: var(--r); padding: 12px; box-shadow: 0 14px 40px rgba(4,38,67,.26); }
.dir { display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 4px; background: var(--sky); border-radius: 12px; }
.dir button { font: inherit; font-weight: 800; font-size: .88rem; line-height: 1.2; border: 0; border-radius: 9px; padding: 8px 6px; background: transparent; color: var(--ink-2); cursor: pointer; display: flex; align-items: center; justify-content: center; gap: 6px; }
.dir button svg { width: 17px; height: 17px; flex: none; }
.dir button[aria-pressed="true"] { background: var(--ocean); color: #fff; box-shadow: 0 2px 8px rgba(10,90,156,.3); }
.lbl { display: block; margin: 8px 0 4px; font-size: .74rem; font-weight: 800; color: var(--ink-3); text-transform: uppercase; letter-spacing: .05em; padding: 0; }
:lang(th) .lbl { text-transform: none; letter-spacing: 0; font-size: .84rem; margin-top: 8px; }
/* four pick-ups: two by two on a phone, a little tighter so the Book button stays above
   the dock (the name keeps its line height: Thai marks above and below must not be cut);
   four across from 460px, as before */
.orgs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
.org { font: inherit; display: grid; justify-items: start; text-align: left; padding: 4px 9px 5px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; color: var(--ink); min-width: 0; line-height: 1.25; }
.org span { font-size: .76rem; letter-spacing: -.01em; font-weight: 750; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.org b { font-size: 1.04rem; line-height: 1.1; }
@media (min-width: 460px) {
  .orgs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .org { padding: 6px 7px 7px; }
  .org b { line-height: inherit; }
}
.org[aria-pressed="true"] { border-color: var(--ocean); background: var(--tint); box-shadow: inset 0 0 0 1.5px var(--ocean); }
.dest { display: flex; align-items: center; gap: 6px; margin: 7px 0 0; font-size: .8rem; font-weight: 650; color: var(--ink-2); }
.dest svg { width: 16px; height: 16px; flex: none; color: var(--ocean); }
.cars { border: 0; margin: 0; padding: 0; min-width: 0; }
.car3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.car { position: relative; display: grid; justify-items: center; padding: 5px 4px 6px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; cursor: pointer; text-align: center; line-height: 1.2; min-width: 0; }
.car input { position: absolute; opacity: 0; pointer-events: none; }
.car svg { width: 40px; height: 20px; color: var(--ocean); }
.car span { font-weight: 800; font-size: .86rem; }
.car small { font-size: .68rem; color: var(--ink-3); font-weight: 650; }
.car b { font-size: .98rem; margin-top: 1px; }
.car:has(input:checked) { border-color: var(--ocean); background: var(--tint); box-shadow: inset 0 0 0 1.5px var(--ocean); }
.car:has(input:focus-visible) { outline: 3px solid #1d7fd0; outline-offset: 1px; }
.when { display: grid; grid-template-columns: 1.3fr 1fr; gap: 8px; }
.when label { display: block; min-width: 0; }
input, select, textarea { font: inherit; font-size: 16px; color: var(--ink); background: #fff; border: 1.5px solid var(--line); border-radius: 10px; padding: 9px 10px; width: 100%; min-width: 0; }
input:focus, select:focus, textarea:focus { border-color: var(--ocean); outline: 3px solid rgba(10,90,156,.2); outline-offset: 0; }
.bk input[type="date"], .bk input[type="time"] { height: 44px; padding: 8px 10px; }
.go { width: 100%; margin-top: 10px; font: inherit; font-family: var(--round); font-size: 1.1rem; font-weight: 850; color: var(--ink); background: var(--sun); border: 0; border-radius: 14px; padding: 12px 16px; cursor: pointer; box-shadow: 0 4px 0 var(--sun-edge); display: flex; justify-content: center; gap: 8px; }
.go:hover { background: var(--sun-2); }
.go:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--sun-edge); }
.go:disabled { cursor: not-allowed; filter: saturate(.55); }
.eta { margin: 9px 0 0; font-size: .8rem; font-weight: 700; color: var(--ocean-2); text-align: center; }
.fine { margin: 2px 0 0; font-size: .76rem; color: var(--ink-3); text-align: center; }

@media (min-width: 1000px) {
  .hero { background: var(--deep); }
  .hero-pic { position: absolute; inset: 0; }
  .hero-pic img { height: 100%; object-position: 60% 60%; }
  .hero::after { content: ""; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(90deg, rgba(6,53,95,.94) 0%, rgba(6,53,95,.88) 28%, rgba(6,53,95,.5) 44%, rgba(6,53,95,0) 58%); }
  .hero-grid { position: relative; z-index: 1; grid-template-columns: 520px; padding: 26px 0 28px; }
  .hero-copy { margin: 0; padding: 0; background: none; }
  .eyebrow { display: block; margin: 0 0 8px; font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--sun); }
  :lang(th) .eyebrow { letter-spacing: .02em; }
  .hero h1 { font-size: 2.5rem; }
  :lang(th) .hero h1 { font-size: 2.2rem; }
  .anchor { position: static; margin: 6px 0 0; padding: 0; background: none; box-shadow: none; border-radius: 0; color: #d7e9f8; font-size: 1.05rem; font-weight: 400; }
  .anchor .a1 { display: inline; font-size: inherit; font-weight: inherit; }
  .anchor b { color: var(--sun); font-size: 1.12em; }
  .anchor .a3 { display: inline; }
  .bk { margin-top: 16px; padding: 14px 16px 12px; }
  .usp { display: grid; grid-template-columns: auto auto; justify-content: start; gap: 4px 22px; color: #fff; }
  .usp svg { color: var(--sun); }
  .trust { margin-top: 6px; font-size: .9rem; white-space: normal; }
  .t-d { display: inline; }
  .t-m { display: none; }
}

/* wave edges (pure CSS mask) */
.wv { height: calc(2 * var(--s)); background: var(--ocean); margin-bottom: -1px;
  -webkit-mask: var(--wave); mask: var(--wave); }
.wv-down { transform: scaleY(-1); margin: -1px 0 0; }

/* section heads */
.sec-head .kick { margin: 0 0 4px; font-size: .78rem; font-weight: 850; letter-spacing: .08em; text-transform: uppercase; color: var(--ocean); }
:lang(th) .sec-head .kick { letter-spacing: 0; font-size: .86rem; }
.sec-head h2 { font-size: clamp(1.45rem, 3.4vw, 2.1rem); font-weight: 850; margin: 0 0 6px; }
.sec-head p { margin: 0; color: var(--ink-3); max-width: 46rem; }

/* fares, both directions */
.fares { padding: 30px 0 36px; }
.runs { display: grid; gap: 14px; margin-top: 18px; }
.run { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; box-shadow: var(--lift); }
.run header { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: var(--tint); }
.run .code { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 50%; background: var(--ocean); color: #fff; font-weight: 900; font-size: .8rem; letter-spacing: .04em; box-shadow: 0 0 0 3px #fff, 0 0 0 5px var(--sun); }
.run .code svg { width: 22px; height: 22px; }
.run h3 { margin: 0; font-size: 1.04rem; }
.run header p { margin: 0; font-size: .86rem; color: var(--ink-3); }
.leg { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 8px 10px; padding: 12px 16px 14px; border-top: 1px dashed var(--line); }
.leg-h { margin: 0; font-size: .92rem; font-weight: 800; color: var(--ocean-2); }
.p3 { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin: 0; }
.p3 div { background: var(--sky); border-radius: 10px; padding: 6px 4px; text-align: center; }
.p3 dt { font-size: .72rem; font-weight: 800; color: var(--ink-3); text-transform: uppercase; }
:lang(th) .p3 dt { text-transform: none; font-size: .8rem; }
.p3 dd { margin: 0; font-size: 1.04rem; font-weight: 850; }
.book { grid-row: 1; grid-column: 2; display: flex; align-items: center; justify-content: center; gap: 6px; background: var(--sun); color: var(--ink); font-weight: 850; font-size: .92rem; border-radius: 999px; padding: 7px 18px; box-shadow: 0 2px 0 var(--sun-edge); }
.book:hover { background: var(--sun-2); }
/* four places: two cards a row, four on a wide screen; a one-line name's header grows so
   the fares line up across the row */
@media (min-width: 700px) {
  .runs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .run { display: flex; flex-direction: column; }
  .run header { flex-grow: 1; }
}
@media (min-width: 1200px) { .runs { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ferry basics (the ocean band) */
.ferry-body { background: var(--ocean); color: #fff; padding: 22px 0 34px; }
.ferry .sec-head .kick { color: var(--sun); }
.ferry .sec-head h2 { color: #fff; }
.ferry-list { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 10px; }
.ferry-list li { display: grid; grid-template-columns: 42px 1fr; gap: 12px; align-items: start; padding: 14px; border-radius: var(--r); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2); }
.ferry-list svg { width: 42px; height: 42px; padding: 9px; border-radius: 50%; background: var(--sun); color: var(--ink); }
.ferry-list b { display: block; font-size: 1.02rem; color: #fff; }
.ferry-list span { font-size: .93rem; color: #d7e9f8; }
.ferry-note { margin: 16px 0 0; color: #d7e9f8; }
.ferry-note a { color: var(--sun); font-weight: 800; white-space: nowrap; }
@media (min-width: 760px) { .ferry-list { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .ferry-list { grid-template-columns: repeat(4, 1fr); } }

/* fleet */
.fleet { padding: 32px 0 36px; }
.fleet-grid { display: grid; gap: 16px; margin-top: 18px; align-items: center; }
.fleet-pic img { width: 100%; border-radius: var(--r); aspect-ratio: 1400 / 594; object-fit: cover; }
.cars3 { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.cars3 li { display: grid; grid-template-columns: 60px 1fr auto; column-gap: 12px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 12px 14px; }
.cars3 svg { grid-row: 1 / span 3; width: 58px; height: 29px; color: var(--ocean); }
.cars3 h3 { margin: 0; font-size: 1.02rem; }
.cars3 p { margin: 0; font-size: .86rem; color: var(--ink-3); grid-column: 2; }
.cars3 .from { grid-column: 3; grid-row: 1 / span 3; text-align: right; font-weight: 700; }
.cars3 .from span { display: block; font-size: 1.18rem; font-weight: 850; color: var(--ink); }
@media (min-width: 900px) { .fleet-grid { grid-template-columns: 1.2fr 1fr; } }

/* how it works */
.how { padding: 32px 0 36px; background: #fff; }
.steps3 { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 12px; }
.steps3 li { position: relative; padding: 16px 16px 16px 70px; border-radius: var(--r); background: var(--sky); }
.steps3 .n { position: absolute; left: 16px; top: 16px; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--ocean); color: #fff; font-weight: 900; box-shadow: 0 0 0 4px var(--sky), 0 0 0 7px var(--sun); }
.steps3 h3 { margin: 0 0 4px; font-size: 1.04rem; }
.steps3 p { margin: 0; color: var(--ink-3); }
@media (min-width: 900px) { .steps3 { grid-template-columns: repeat(3, 1fr); } }

/* included + reviews */
.proof { padding: 32px 0 36px; }
.proof-grid { display: grid; gap: 24px; }
.proof h2 { font-size: 1.4rem; margin: 0 0 10px; }
.ticks { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ticks li { display: flex; align-items: flex-start; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; font-weight: 650; }
.ticks svg { width: 20px; height: 20px; flex: none; margin-top: 2px; padding: 2px; border-radius: 50%; background: var(--ok); color: #fff; }
.revs > p { margin: 0 0 12px; color: var(--ink-3); }
.rates { display: grid; gap: 8px; }
.rate { display: grid; grid-template-columns: 1fr auto; column-gap: 12px; align-items: center; padding: 12px 16px; border-radius: 12px; background: var(--ocean); color: #fff; }
.rate b { font-size: 1.05rem; }
.rate strong { grid-column: 2; grid-row: 1; font-size: 1.35rem; color: var(--sun); }
@media (min-width: 900px) { .proof-grid { grid-template-columns: 1fr 1fr; gap: 36px; } }

/* faq */
.faq { padding: 32px 0 36px; background: #fff; }
.qa { display: grid; gap: 8px; margin-top: 16px; }
.qa details { border: 1px solid var(--line); border-radius: 12px; background: var(--sky); padding: 0 16px; }
.qa summary { position: relative; cursor: pointer; list-style: none; font-weight: 800; padding: 14px 30px 14px 0; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after { content: ""; position: absolute; right: 4px; top: 50%; width: 9px; height: 9px; border-right: 2.5px solid var(--ocean); border-bottom: 2.5px solid var(--ocean); transform: translateY(-70%) rotate(45deg); }
.qa details[open] summary::after { transform: translateY(-20%) rotate(-135deg); }
.qa details p { margin: 0 0 14px; color: var(--ink-2); }

/* guide links */
.guides { padding: 28px 0 8px; }
.guides-in { display: grid; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 18px; }
.guides h2 { margin: 0 0 4px; font-size: 1.25rem; }
.guides p { margin: 0; color: var(--ink-3); }
.guides ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.guides li { display: flex; }
.guides ul a { flex: 1; display: block; padding: 10px 12px; border-radius: 10px; background: var(--sky); color: var(--ocean-2); font-weight: 750; }
.guides .all { color: var(--ocean-2); font-weight: 800; }
@media (min-width: 700px) { .guides ul { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .guides-in { grid-template-columns: 1fr 2fr; align-items: start; } .guides ul { grid-template-columns: 1fr 1fr 1fr; } .guides .all { grid-column: 2; } }

/* closing band */
.closer { padding: 22px 0 40px; }
.closer-in { display: grid; gap: 14px; padding: 24px 20px 34px; border-radius: 20px; background: var(--ocean); color: #fff; position: relative; overflow: hidden; }
.closer-in::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 22px; background: var(--ocean-2);
  -webkit-mask: var(--wave); mask: var(--wave); }
.closer h2 { margin: 0 0 4px; font-size: clamp(1.35rem, 3vw, 1.9rem); color: #fff; }
.closer p { margin: 0; color: #d7e9f8; }
.acts { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; }
.acts.col { display: grid; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 850; border-radius: 12px; padding: 12px 18px; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn.sun { background: var(--sun); color: var(--ink); }
.btn.wa { background: var(--wa); color: var(--wa-ink); }
.btn.ln { background: var(--ln); color: var(--ln-ink); }
.btn.ghost { background: #fff; color: var(--ocean-2); border: 1.5px solid var(--line); }
@media (min-width: 900px) { .closer-in { grid-template-columns: 1fr auto; align-items: center; padding: 30px 34px 40px; } }

/* footer */
.foot .wv { background: var(--deep); }
.foot-body { background: var(--deep); color: #cfe4f6; padding: 22px 0 104px; font-size: .92rem; }
.foot-grid { display: grid; gap: 22px; }
.foot-id p { margin: 12px 0 0; }
.foot-call { display: flex; flex-wrap: wrap; gap: 8px; }
.foot-call a { display: inline-flex; align-items: center; gap: 6px; padding: 7px 12px; border-radius: 999px; background: rgba(255,255,255,.1); color: #fff; font-weight: 700; font-size: .88rem; }
.foot-call svg { width: 16px; height: 16px; }
.foot h2 { margin: 0 0 8px; font-size: .95rem; color: #fff; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.foot ul a { color: #e6f1fb; }
.smile { display: grid; gap: 6px; justify-items: start; margin-top: 24px; }
.smile p { margin: 0; }
.smile a { color: #fff; font-weight: 700; }
.smile span { margin: 0 8px; color: #8fb5d8; }
.op { margin: 20px 0 0; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.16); font-size: .84rem; color: #b9d3ea; }
@media (min-width: 900px) { .foot-grid { grid-template-columns: 1.6fr 1fr 1fr; } .foot-body { padding-bottom: 36px; } }

/* the dock (mobile) */
.dock { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 6px; padding: 6px 8px calc(6px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.97); border-top: 1px solid var(--line); border-radius: 18px 18px 0 0; box-shadow: 0 -6px 24px rgba(4,38,67,.22); }
.dock a { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 11px 6px; border-radius: 13px; font-weight: 850; font-size: .92rem; }
.dock svg { width: 18px; height: 18px; flex: none; }
.d-book { background: var(--sun); color: var(--ink); font-family: var(--round); font-size: 1rem !important; }
.d-wa { background: var(--wa); color: var(--wa-ink); }
.d-line { background: var(--ln); color: var(--ln-ink); }
@media (min-width: 1000px) { .dock { display: none; } }

/* booking, contact, 404 */
.bkp { padding-bottom: 36px; }
.bkp-top { background: var(--ocean); color: #fff; padding: 16px 0 46px; }
.crumbs { margin: 0 0 6px; font-size: .84rem; color: #d3e6f7; }
.crumbs a { color: #fff; }
.bkp-top h1 { margin: 0 0 6px; font-size: clamp(1.6rem, 5vw, 2.4rem); font-weight: 850; color: #fff; }
.intro { margin: 0; max-width: 46rem; color: #d7e9f8; }
.bkp-grid { position: relative; display: grid; gap: 14px; margin-top: -30px; }
.sheet { min-width: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 16px; box-shadow: var(--lift); }
.sheet h2 { display: flex; align-items: center; gap: 8px; margin: 0 0 10px; font-size: 1.1rem; }
.sheet h2 .n { display: grid; place-items: center; width: 26px; height: 26px; flex: none; border-radius: 50%; background: var(--ocean); color: #fff; font-size: .85rem; }
.sheet h2 svg { width: 20px; height: 20px; color: var(--ocean); }
.h2b { margin-top: 8px !important; }
.summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 12px; padding: 12px 14px; border-radius: 12px; background: var(--deep); color: #fff; }
.summary b { display: block; font-size: 1rem; }
.summary small { display: block; color: #cfe4f6; }
.amt { font-size: 1.5rem; font-weight: 900; color: var(--sun); white-space: nowrap; }
.form { display: grid; gap: 12px; }
.form label, .fl { display: grid; gap: 4px; font-size: .88rem; font-weight: 750; color: var(--ink-2); min-width: 0; }
.form .eta { margin: -4px 0 0; text-align: left; }
.two { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }
@media (max-width: 519px) { .two:not(.keep) { grid-template-columns: minmax(0, 1fr); } }
.hint { font-size: .8rem; font-weight: 500; color: var(--ink-3); }
.ph { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 6px; }
.ph:has(select[hidden]) { grid-template-columns: minmax(0, 1fr); }
.alert { border-radius: 10px; padding: 12px 14px; }
.alert.good { background: #e7f7ee; border: 1px solid #9fd8b6; color: #0b3d22; }
.alert.bad { background: #fdecee; border: 1px solid #f2b6c0; color: #6d0c1f; }
.alert .code { font-size: 1.15em; }
.cf-turnstile { min-height: 66px; }
.side { display: grid; gap: 12px; align-content: start; min-width: 0; }
.side p { margin: 0; color: var(--ink-2); }
.chat .acts { margin-top: 10px; }
.nexts { margin: 0; padding-left: 20px; display: grid; gap: 6px; color: var(--ink-2); }
.quick { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 6px; }
.quick a { display: flex; justify-content: space-between; gap: 8px; padding: 10px 12px; border-radius: 10px; background: var(--sky); color: var(--ink); font-weight: 700; }
.quick b { color: var(--ocean-2); }
.nf { padding: 22px 0 10px; }
@media (min-width: 1000px) {
  .bkp-grid { grid-template-columns: minmax(0, 1fr) 340px; align-items: start; }
  .trip, .bkp-grid > .form { grid-column: 1; }
  .side { grid-column: 2; grid-row: 1 / span 2; position: sticky; top: 84px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* iPhone gives date and time inputs an intrinsic width of their own, which can
   push a two-column row wider than the screen. Let them fill their column and
   shrink with it. The wrapper is a one-column grid, so cap its track too. */
input[type="date"], input[type="time"] {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}
input[type="date"]::-webkit-date-and-time-value,
input[type="time"]::-webkit-date-and-time-value { text-align: left; }
:is(label, div, p):has(> input[type="date"]),
:is(label, div, p):has(> input[type="time"]) { grid-template-columns: minmax(0, 1fr); min-width: 0; }

/* The Turnstile box is 300px wide. On a 320px phone (an SE, or Display Zoom)
   that is wider than the form, so the page scrolled sideways; scale it there. */
@media (max-width: 359px) {
  /* zoom, not transform: a transform leaves the 300px box in the layout */
  .cf-turnstile { zoom: .86; max-width: 100%; }
}
