/* Senu Travels Sri Lanka. Mobile first. Font: Plus Jakarta Sans for headings and text. */
:root {
  --ink: #0a1a36;
  --ink-2: #46546d;
  --lagoon: #0b2a63;
  --lagoon-2: #163d86;
  --coconut: #f2a608;
  --coconut-2: #ffbd38;
  --mist: #eef2f8;
  --line: #d8e0ec;
  --white: #fff;
  --danger: #b3261e;
  --r-sm: 8px;
  --r: 14px;
  --r-lg: 22px;
  --shadow: 0 1px 2px rgba(10, 26, 54, .06), 0 8px 24px -12px rgba(10, 26, 54, .25);
  --wrap: 1180px;
  --head: 64px;
  --display: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --sans: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--head) + 12px); }
body { margin: 0; font: 400 16px/1.6 var(--sans); color: var(--ink); background: var(--white); -webkit-tap-highlight-color: transparent; }
img { max-width: 100%; display: block; }
a { color: var(--lagoon); text-underline-offset: 3px; }
h1, h2, h3 { font-family: var(--display); font-weight: 700; line-height: 1.15; margin: 0 0 .5em; letter-spacing: -.025em; text-wrap: balance; }
h1 { font-size: clamp(2rem, 6vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 4vw, 2.4rem); }
h3 { font-size: 1.15rem; letter-spacing: -.015em; }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--coconut); outline-offset: 2px; border-radius: 4px; }
.wrap { width: min(100% - 40px, var(--wrap)); margin-inline: auto; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100; border-radius: var(--r-sm); }
.skip:focus { left: 8px; }
.muted { color: var(--ink-2); }
.lead { font-size: 1.125rem; color: var(--ink-2); max-width: 62ch; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 22px;
  border-radius: 999px; border: 1.5px solid transparent; font-weight: 600; text-decoration: none; cursor: pointer;
  transition: background .2s, color .2s, border-color .2s, transform .15s var(--ease); white-space: nowrap; user-select: none;
}
.btn:active { transform: scale(.97); }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn--sun { background: var(--coconut); color: var(--ink); }
.btn--sun:hover { background: var(--coconut-2); }
.btn--sea { background: var(--lagoon); color: #fff; }
.btn--sea:hover { background: var(--lagoon-2); }
.btn--line { border-color: var(--line); color: var(--ink); background: #fff; }
.btn--line:hover { border-color: var(--lagoon); color: var(--lagoon); }
.btn--glass { border-color: rgba(255, 255, 255, .6); color: #fff; background: rgba(10, 26, 54, .18); backdrop-filter: blur(6px); }
.btn--glass:hover { background: rgba(255, 255, 255, .16); }
.btn--wa { background: #1fa855; color: #fff; }
.btn--wa:hover { background: #18934a; }
.btn--sm { min-height: 40px; padding: 0 16px; font-size: .94rem; }
.btn--block { width: 100%; }
.link { font-weight: 600; text-decoration: none; color: var(--lagoon); }
.link:hover { text-decoration: underline; }

/* ---------- header ---------- */
.site-head { position: sticky; top: 0; z-index: 40; background: rgba(255, 255, 255, .94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); transition: background .3s, border-color .3s, color .3s; }
.site-head .wrap { height: var(--head); display: flex; align-items: center; gap: 16px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: inherit; margin-right: auto; }
.brand-mark { height: 46px; width: auto; flex: none; }
.brand-mark--light { display: none; }
.sheet .brand-mark--light { display: block; }
body.overlay:not(.scrolled) .site-head .brand-mark { display: none; }
body.overlay:not(.scrolled) .site-head .brand-mark--light { display: block; }
.foot-logo { width: 200px; height: auto; }
.qdoc-logo { width: 230px; height: auto; }
@media (max-width: 1079px) { .site-head .cur { display: none; } }
@media (max-width: 360px) { .brand small { display: none; } }
.brand b { display: block; font: 700 1.15rem/1 var(--display); }
.brand small { display: block; font-size: .74rem; color: var(--ink-2); margin-top: 3px; }
.nav { display: none; }
.nav a { color: inherit; text-decoration: none; font-weight: 500; font-size: .95rem; padding: 8px 2px; border-bottom: 2px solid transparent; }
.nav a:hover, .nav a[aria-current='page'] { border-bottom-color: var(--coconut); }
.cur { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 2px; background: #fff; }
.cur button { border: 0; background: none; padding: 5px 10px; border-radius: 999px; font-size: .8rem; font-weight: 600; cursor: pointer; color: var(--ink-2); }
.cur button[aria-pressed='true'] { background: var(--ink); color: #fff; }
.menu-btn { width: 44px; height: 44px; border: 0; background: none; border-radius: 50%; display: grid; place-items: center; cursor: pointer; }
.menu-btn span, .menu-btn span::before, .menu-btn span::after { content: ''; display: block; width: 22px; height: 2px; background: currentColor; border-radius: 2px; position: relative; transition: transform .25s var(--ease); }
.menu-btn span::before { position: absolute; top: -7px; }
.menu-btn span::after { position: absolute; top: 7px; }
.head-cta { display: none; }
/* Home: the header sits on the hero photo until you scroll */
body.overlay .site-head { position: fixed; inset: 0 0 auto; background: transparent; border-color: transparent; color: #fff; backdrop-filter: none; }
body.overlay .site-head .brand small { color: rgba(255, 255, 255, .8); }
body.overlay.scrolled .site-head { background: rgba(255, 255, 255, .95); border-color: var(--line); color: var(--ink); backdrop-filter: blur(10px); }
body.overlay.scrolled .site-head .brand small { color: var(--ink-2); }

/* phone menu */
.sheet { position: fixed; inset: 0; z-index: 60; display: grid; grid-template-rows: auto 1fr auto; background: var(--ink); color: #fff; padding: 12px 20px calc(20px + env(safe-area-inset-bottom)); transform: translateY(-100%); transition: transform .35s var(--ease); visibility: hidden; }
.sheet.open { transform: none; visibility: visible; }
.sheet-top { display: flex; justify-content: space-between; align-items: center; height: 52px; }
.sheet-top .brand small { color: rgba(255, 255, 255, .7); }
.sheet-close { width: 44px; height: 44px; border: 0; background: rgba(255, 255, 255, .1); color: #fff; border-radius: 50%; font-size: 1.4rem; cursor: pointer; }
.sheet nav { display: flex; flex-direction: column; padding-top: 18px; overflow: auto; }
.sheet nav a { color: #fff; text-decoration: none; font: 700 1.6rem/1 var(--display); padding: 13px 0; border-bottom: 1px solid rgba(255, 255, 255, .1); }
.sheet nav a[aria-current='page'] { color: var(--coconut); }
.sheet-foot { display: grid; gap: 10px; padding-top: 16px; }
@media (min-width: 1080px) {
  .nav { display: flex; gap: 22px; }
  .menu-btn { display: none; }
  .head-cta { display: inline-flex; }
}

/* ---------- hero (home) ---------- */
.hero { position: relative; min-height: max(640px, 100svh); color: #fff; display: grid; align-items: end; overflow: hidden; background: var(--ink); isolation: isolate; }
.hero-slides, .hero-slides img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-slides { z-index: -2; }
.hero-slides img { object-fit: cover; object-position: 40% 50%; opacity: 0; animation: slide 28s linear infinite; will-change: opacity, transform; }
.hero-slides img:nth-child(1) { opacity: 1; animation-name: slide-first; }
.hero-slides img:nth-child(2) { animation-delay: 7s; }
.hero-slides img:nth-child(3) { animation-delay: 14s; }
.hero-slides img:nth-child(4) { animation-delay: 21s; }
@keyframes slide-first { 0% { opacity: 1; transform: scale(1.14); } 22% { opacity: 1; } 27% { opacity: 0; transform: scale(1.02); } 95% { opacity: 0; transform: scale(1.12); } 100% { opacity: 1; transform: scale(1.14); } }
@keyframes slide { 0% { opacity: 0; transform: scale(1.12); } 4% { opacity: 1; } 25% { opacity: 1; } 29% { opacity: 0; transform: scale(1.01); } 100% { opacity: 0; } }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(180deg, rgba(10, 26, 54, .55) 0%, rgba(10, 26, 54, 0) 26%),
  linear-gradient(0deg, rgba(6, 17, 38, .92) 0%, rgba(6, 17, 38, .55) 42%, rgba(6, 17, 38, 0) 72%); }
.hero-inner { display: grid; gap: 28px; padding: calc(var(--head) + 40px) 0 32px; }
.hero-tag { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; color: rgba(255, 255, 255, .88); margin: 0 0 14px; }
.hero-tag::before { content: ''; width: 28px; height: 2px; background: var(--coconut); }
.hero h1 { max-width: 19ch; margin-bottom: 16px; }
.hero h1 .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.hero h1 .w > span { display: inline-block; transform: translateY(105%); animation: rise .9s var(--ease) forwards; }
.hero-text { font-size: 1.1rem; color: rgba(255, 255, 255, .88); max-width: 52ch; opacity: 0; animation: fade .8s .9s var(--ease) forwards; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; opacity: 0; animation: fade .8s 1.1s var(--ease) forwards; }
.hero-cta .btn { flex: 1 1 auto; }
.hero-contact { display: flex; gap: 18px; margin-top: 16px; opacity: 0; animation: fade .8s 1.3s var(--ease) forwards; }
.hero-contact a { color: #fff; font-weight: 600; text-decoration: none; display: inline-flex; gap: 8px; align-items: center; }
.hero-contact a:hover { text-decoration: underline; }
.hero-contact svg { width: 20px; height: 20px; }
@keyframes rise { to { transform: none; } }
@keyframes fade { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.hero-dots { display: flex; gap: 6px; margin-top: 4px; }
@media (min-width: 900px) {
  .hero-inner { grid-template-columns: 1.25fr .75fr; align-items: end; padding-bottom: 64px; gap: 48px; }
  .hero-cta .btn { flex: 0 0 auto; }
}

/* The ticket: the live price receipt. Used in the hero and on the planner. */
/* The two half-circle notches are real cut-outs (mask), so any background shows through them. */
.ticket { --cut: 64px; position: relative; background: #fffdf7; color: var(--ink); border-radius: var(--r); padding: 18px 20px 20px;
  -webkit-mask: radial-gradient(circle 13px at 0 var(--cut), #0000 97%, #000) left / 51% 100% no-repeat, radial-gradient(circle 13px at 100% var(--cut), #0000 97%, #000) right / 51% 100% no-repeat;
  mask: radial-gradient(circle 13px at 0 var(--cut), #0000 97%, #000) left / 51% 100% no-repeat, radial-gradient(circle 13px at 100% var(--cut), #0000 97%, #000) right / 51% 100% no-repeat; }
.ticket-wrap { filter: drop-shadow(0 18px 30px rgba(0, 0, 0, .35)); }
.ticket-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding-bottom: 14px; border-bottom: 2px dashed #e3dccb; margin-bottom: 12px; min-height: 56px; }
.ticket-head b { font: 700 1.25rem/1.15 var(--display); }
.ticket-head small { color: var(--ink-2); font-size: .82rem; }
.ticket-lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .95rem; }
.ticket-lines li { display: flex; justify-content: space-between; gap: 12px; }
.ticket-lines li span:last-child { font-variant-numeric: tabular-nums; font-weight: 600; white-space: nowrap; }
.ticket-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 14px; padding-top: 12px; border-top: 1px solid #e3dccb; }
.ticket-total span { font-weight: 600; }
.ticket-total b { font: 700 1.9rem/1 var(--display); font-variant-numeric: tabular-nums; }
.ticket-note { font-size: .8rem; color: var(--ink-2); margin: 10px 0 0; }
.hero .ticket-wrap { opacity: 0; animation: fade .9s 1.4s var(--ease) forwards; max-width: 400px; justify-self: end; width: 100%; }
.hero .ticket-lines li { opacity: 0; transform: translateX(-8px); transition: opacity .4s var(--ease), transform .4s var(--ease); }
.hero .ticket-lines li.in { opacity: 1; transform: none; }
@media (max-width: 899px) {
  .hero .ticket-wrap { justify-self: stretch; }
  .hero::before { background: linear-gradient(180deg, rgba(6, 17, 38, .7) 0%, rgba(6, 17, 38, .45) 40%, rgba(6, 17, 38, .88) 100%); }
}

/* ---------- sections ---------- */
.section { padding: 64px 0; }
.section--mist { background: var(--mist); }
.section--ink { background: var(--ink); color: #fff; }
.sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 12px 24px; margin-bottom: 28px; }
.sec-head h2 { margin: 0; }
.sec-head p { margin: 8px 0 0; color: var(--ink-2); max-width: 56ch; }
.section--ink .sec-head p { color: rgba(255, 255, 255, .75); }
@media (min-width: 900px) { .section { padding: 96px 0; } }

/* page header for inner pages */
.page-head { background: var(--mist); padding: 40px 0 32px; border-bottom: 1px solid var(--line); }
.page-head h1 { font-size: clamp(2rem, 5vw, 3.2rem); margin-bottom: 10px; }
.page-head p { color: var(--ink-2); margin: 0; max-width: 60ch; font-size: 1.08rem; }
.crumb { font-size: .88rem; color: var(--ink-2); margin-bottom: 14px; }
.crumb a { color: inherit; }

/* rails: horizontal scroll on phones, grid on desktop */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: min(82%, 320px); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px 20px 16px; margin: 0 -20px; scrollbar-width: none; overscroll-behavior-x: contain; scroll-padding-inline: 20px; }
.rail::-webkit-scrollbar { display: none; }
.rail > * { scroll-snap-align: start; }
@media (min-width: 900px) {
  .rail { grid-auto-flow: row; grid-template-columns: repeat(var(--cols, 3), 1fr); overflow: visible; padding: 0; margin: 0; }
}
.grid { display: grid; gap: 18px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 290px), 1fr)); }

/* cards */
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; }
.card-img { position: relative; aspect-ratio: 4 / 3; background: var(--mist); overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
a.card:hover .card-img img, .card:has(a.cover:hover) .card-img img { transform: scale(1.04); }
.card-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.card-body h3 { margin: 0; }
.card-body p { margin: 0; color: var(--ink-2); font-size: .95rem; }
.card-foot { margin-top: auto; padding-top: 12px; display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.chip { position: absolute; left: 12px; top: 12px; background: rgba(255, 255, 255, .94); color: var(--ink); font-weight: 600; font-size: .82rem; padding: 5px 10px; border-radius: 999px; }
.price { font-weight: 700; font-variant-numeric: tabular-nums; }
.price small { font-weight: 400; color: var(--ink-2); font-size: .82rem; }
a.card { color: inherit; text-decoration: none; }
.cover { color: inherit; text-decoration: none; }
.cover::after { content: ''; position: absolute; inset: 0; }
.card { position: relative; }
.card .btn, .card button, .card .stop { position: relative; z-index: 1; }

/* place cards: tall, name on the photo */
.place { position: relative; border-radius: var(--r); overflow: hidden; aspect-ratio: 3 / 4; color: #fff; text-decoration: none; display: flex; align-items: end; background: var(--ink); }
.place img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.place:hover img { transform: scale(1.05); }
.place::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, rgba(6, 17, 38, .85), rgba(6, 17, 38, 0) 55%); }
.place div { position: relative; z-index: 2; padding: 16px; }
.place b { display: block; font: 700 1.35rem/1.15 var(--display); }
.place small { color: rgba(255, 255, 255, .82); }

/* how it works */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 44px 1fr; gap: 4px 14px; padding: 18px; border-radius: var(--r); background: #fff; border: 1px solid var(--line); }
.steps li::before { content: counter(s); grid-row: span 2; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--lagoon); color: #fff; font: 700 1.15rem/1 var(--display); }
.steps b { font-size: 1.05rem; }
.steps span { color: var(--ink-2); font-size: .95rem; }
@media (min-width: 900px) { .steps { grid-template-columns: repeat(4, 1fr); } .steps li { grid-template-columns: 1fr; } .steps li::before { grid-row: auto; margin-bottom: 8px; } }

/* split: photo and text */
.split { display: grid; gap: 28px; align-items: center; }
.split img { border-radius: var(--r-lg); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
@media (min-width: 900px) { .split { grid-template-columns: 1fr 1fr; gap: 64px; } }
.ticks { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 8px; }
.ticks li { padding-left: 28px; position: relative; }
.ticks li::before { content: ''; position: absolute; left: 0; top: .3em; width: 18px; height: 18px; border-radius: 50%; background: var(--lagoon) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 12 4 4 8-8'/%3E%3C/svg%3E") center / 12px no-repeat; }
.ticks.no li::before { background: #c8d1de url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round'%3E%3Cpath d='M7 7l10 10M17 7 7 17'/%3E%3C/svg%3E") center / 11px no-repeat; }
.cols-2 { display: grid; gap: 8px 28px; }
@media (min-width: 700px) { .cols-2 { grid-template-columns: 1fr 1fr; } }

/* facts list on cards (seats, bags) */
.facts { display: flex; flex-wrap: wrap; gap: 6px 14px; list-style: none; padding: 0; margin: 4px 0 0; font-size: .9rem; color: var(--ink-2); }
.facts li { display: inline-flex; align-items: center; gap: 6px; }
.facts svg { width: 17px; height: 17px; color: var(--lagoon); }

/* reviews */
.review { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; display: flex; flex-direction: column; }
.review > img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.review-body { padding: 18px; display: grid; gap: 10px; }
.stars { color: var(--coconut); letter-spacing: 2px; font-size: 1.05rem; }
.who { display: flex; align-items: center; gap: 10px; }
.who img, .who .ava { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; flex: none; }
.who .ava { display: grid; place-items: center; background: var(--mist); color: var(--lagoon); font-weight: 700; }
.who small { display: block; color: var(--ink-2); }
.tag-sample { display: inline-block; font-size: .75rem; background: #fff4d6; color: #7a5400; padding: 2px 8px; border-radius: 999px; font-weight: 600; }

/* call to action band */
.cta-band { background: var(--lagoon); color: #fff; border-radius: var(--r-lg); padding: 36px 24px; display: grid; gap: 18px; position: relative; overflow: hidden; }
.cta-band h2 { margin: 0; }
.cta-band p { margin: 0; color: rgba(255, 255, 255, .85); }
.cta-band .row { display: flex; flex-wrap: wrap; gap: 10px; }
@media (min-width: 900px) { .cta-band { grid-template-columns: 1.3fr 1fr; align-items: center; padding: 48px; } .cta-band .row { justify-content: flex-end; } }

/* ---------- footer ---------- */
.site-foot { background: var(--ink); color: rgba(255, 255, 255, .82); padding: 56px 0 calc(96px + env(safe-area-inset-bottom)); margin-top: 0; }
.site-foot a { color: #fff; text-decoration: none; }
.site-foot a:hover { text-decoration: underline; }
.foot-grid { display: grid; gap: 36px; }
.foot-grid h3 { font: 700 .82rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--coconut); margin-bottom: 18px; }
.foot-about { display: grid; gap: 14px; justify-items: start; align-content: start; }
.foot-about p { margin: 0; max-width: 34ch; }
.foot-links, .foot-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.foot-contact li { display: flex; gap: 12px; align-items: flex-start; }
.foot-contact svg { width: 20px; height: 20px; flex: none; color: var(--coconut); margin-top: 2px; }
.foot-social { display: flex; gap: 10px; margin: 18px 0 0; }
.foot-social a { border: 1px solid rgba(255, 255, 255, .25); border-radius: 999px; padding: 6px 14px; font-size: .9rem; }
.btn--line-light { border-color: rgba(255, 255, 255, .35); color: #fff; background: transparent; }
.btn--line-light:hover { border-color: #fff; }
.foot-bottom { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 44px; padding-top: 22px; display: grid; gap: 10px; font-size: .88rem; color: rgba(255, 255, 255, .7); text-align: center; }
.foot-bottom p { margin: 0; }
.foot-row { display: flex; flex-wrap: wrap; gap: 6px 24px; justify-content: space-between; text-align: left; }
@media (min-width: 900px) { .foot-grid { grid-template-columns: 1.2fr .9fr .9fr 1.3fr; gap: 48px; } .site-foot { padding-bottom: 40px; } }

/* floating WhatsApp */
.wa-float { position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 45; width: 56px; height: 56px; border-radius: 50%; background: #1fa855; color: #fff; display: grid; place-items: center; box-shadow: 0 10px 24px -8px rgba(0, 0, 0, .45); transition: transform .2s var(--ease); }
.wa-float:hover { transform: scale(1.06); }
.wa-float svg { width: 30px; height: 30px; }
body[data-page='plan'] .wa-float { bottom: calc(92px + env(safe-area-inset-bottom)); }
@media (min-width: 1000px) { body[data-page='plan'] .wa-float { bottom: 24px; } }

/* ---------- forms ---------- */
.field { display: grid; gap: 6px; }
.field label, .label { font-weight: 600; font-size: .95rem; }
.field small { color: var(--ink-2); font-size: .85rem; }
input[type='text'], input[type='email'], input[type='tel'], input[type='date'], input[type='number'], select, textarea {
  width: 100%; min-height: 48px; padding: 10px 14px; border: 1.5px solid var(--line); border-radius: var(--r-sm); background: #fff; font-size: 16px; /* 16px stops iPhone zoom */
}
textarea { min-height: 110px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--lagoon); box-shadow: 0 0 0 3px rgba(11, 42, 99, .15); }
.form { display: grid; gap: 16px; }
.form-row { display: grid; gap: 16px; }
@media (min-width: 640px) { .form-row { grid-template-columns: 1fr 1fr; } }
.error { color: var(--danger); font-weight: 600; margin: 0; }
.ok-box { background: #e7f5ee; border: 1px solid #b9e2cc; border-radius: var(--r); padding: 18px; }

.stepper { display: inline-grid; grid-template-columns: 44px 52px 44px; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; background: #fff; height: 46px; }
.stepper button { border: 0; background: none; height: 100%; font-size: 1.3rem; cursor: pointer; color: var(--lagoon); border-radius: 999px; }
.stepper button:disabled { color: #b7c6c2; cursor: default; }
.stepper input { border: 0; text-align: center; padding: 0; min-height: 0; height: 100%; font-weight: 700; -moz-appearance: textfield; appearance: textfield; background: transparent; }
.stepper input::-webkit-inner-spin-button { display: none; }
.stepper input:focus { box-shadow: none; }

/* ---------- package page ---------- */
.pkg-hero { position: relative; min-height: 340px; display: flex; align-items: end; color: #fff; background: var(--ink); overflow: hidden; }
.pkg-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pkg-hero::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(0deg, rgba(6, 17, 38, .9), rgba(6, 17, 38, .1) 70%); }
.pkg-hero .wrap { position: relative; z-index: 2; padding: 80px 0 32px; }
.pkg-hero .crumb, .pkg-hero .crumb a { color: rgba(255, 255, 255, .8); }
.pkg-hero p { color: rgba(255, 255, 255, .88); max-width: 60ch; font-size: 1.08rem; margin: 0; }
.pkg-layout { display: grid; gap: 32px; }
.pkg-side { display: grid; gap: 12px; align-content: start; }
.pkg-box { border: 1px solid var(--line); border-radius: var(--r); padding: 20px; display: grid; gap: 12px; background: #fff; }
.pkg-box .big { font: 700 2.2rem/1 var(--display); }
.pkg-box dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 0; font-size: .95rem; }
.pkg-box dt { color: var(--ink-2); }
.pkg-box dd { margin: 0; font-weight: 600; }
@media (min-width: 960px) { .pkg-layout { grid-template-columns: 1fr 360px; gap: 56px; } .pkg-side { position: sticky; top: calc(var(--head) + 20px); } }
.days { list-style: none; padding: 0; margin: 0 0 32px; position: relative; }
.days::before { content: ''; position: absolute; left: 19px; top: 10px; bottom: 10px; width: 2px; background: var(--line); }
.days li { position: relative; padding: 0 0 22px 54px; }
.days li b { display: block; font-size: 1.05rem; }
.days li span { color: var(--ink-2); }
.days li i { position: absolute; left: 0; top: -4px; width: 40px; height: 40px; border-radius: 50%; background: #fff; border: 2px solid var(--lagoon); display: grid; place-items: center; font: 700 .95rem/1 var(--display); font-style: normal; color: var(--lagoon); }
.pill-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 24px; }
.pill-list li { background: var(--mist); border-radius: 999px; padding: 6px 14px; font-size: .92rem; }

/* ---------- planner ---------- */
.plan-top { background: var(--mist); border-bottom: 1px solid var(--line); padding: 28px 0 0; }
.plan-top h1 { font-size: clamp(1.9rem, 5vw, 2.8rem); margin-bottom: 6px; }
.plan-top p { color: var(--ink-2); margin: 0 0 18px; }
.pkg-note { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--coconut); border-radius: var(--r-sm); padding: 10px 14px; margin-bottom: 18px; font-size: .95rem; }
.tabs { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; margin: 0 -20px; padding: 0 20px; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { flex: none; border: 0; background: none; padding: 12px 14px 14px; font-weight: 600; color: var(--ink-2); cursor: pointer; border-bottom: 3px solid transparent; display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.tabs button i { font-style: normal; width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: .8rem; background: var(--line); color: var(--ink); }
.tabs button[aria-selected='true'] { color: var(--ink); border-bottom-color: var(--coconut); }
.tabs button[aria-selected='true'] i { background: var(--lagoon); color: #fff; }
.tabs button.done i { background: var(--coconut); }
.plan-layout { display: grid; gap: 32px; padding: 28px 0 120px; }
@media (min-width: 1000px) { .plan-layout { grid-template-columns: 1fr 380px; gap: 40px; padding-bottom: 72px; } .plan-side { position: sticky; top: calc(var(--head) + 20px); align-self: start; } }
.step h2 { font-size: clamp(1.5rem, 3.6vw, 2rem); margin-bottom: 6px; }
.step > p { color: var(--ink-2); }
.step-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--line); }
.filters { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 -20px 18px; padding: 2px 20px; }
.filters::-webkit-scrollbar { display: none; }
.filters button { flex: none; border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 14px; font-weight: 600; font-size: .9rem; cursor: pointer; }
.filters button[aria-pressed='true'] { background: var(--ink); color: #fff; border-color: var(--ink); }
.pick { border: 1.5px solid var(--line); border-radius: var(--r); overflow: hidden; background: #fff; display: flex; flex-direction: column; transition: border-color .2s, box-shadow .2s; }
.pick.on { border-color: var(--lagoon); box-shadow: 0 0 0 3px rgba(11, 42, 99, .12); }
.pick .card-img { aspect-ratio: 16 / 10; }
.pick .card-body { gap: 8px; }
.pick-meta { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: .88rem; color: var(--ink-2); }
.pick-meta b { color: var(--ink); font-weight: 600; }
.pick details { font-size: .92rem; }
.pick summary { cursor: pointer; color: var(--lagoon); font-weight: 600; }
.pick details .cols-2 { margin-top: 10px; }
.pick details h4 { margin: 0 0 6px; font-size: .92rem; }
.pick details .ticks { font-size: .9rem; gap: 4px; }
.toggle { min-width: 104px; }
.toggle[aria-pressed='true'] { background: var(--lagoon); color: #fff; border-color: var(--lagoon); }
.toggle[aria-pressed='true']::before { content: '✓'; }
.people { display: flex; align-items: center; gap: 10px; font-size: .9rem; color: var(--ink-2); }
.route { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 8px; counter-reset: r; }
.route li { counter-increment: r; display: flex; align-items: center; gap: 10px; background: var(--mist); border-radius: var(--r-sm); padding: 8px 8px 8px 12px; }
.route li::before { content: counter(r); width: 26px; height: 26px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--lagoon); color: #fff; font-size: .8rem; font-weight: 700; }
.route li span { flex: 1; font-weight: 600; }
.icon-btn { width: 36px; height: 36px; border: 0; border-radius: 50%; background: #fff; cursor: pointer; display: grid; place-items: center; color: var(--ink-2); font-size: 1rem; }
.icon-btn:hover { color: var(--lagoon); }
.icon-btn:disabled { opacity: .35; cursor: default; }
.warn { background: #fff4d6; border: 1px solid #f3d58b; color: #6b4a00; border-radius: var(--r-sm); padding: 10px 14px; font-size: .92rem; margin: 0 0 16px; }
.seg { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.seg > span { position: relative; display: grid; }
.seg label { display: block; height: 100%; border: 1.5px solid var(--line); border-radius: var(--r-sm); padding: 8px 6px; text-align: center; cursor: pointer; font-size: .82rem; line-height: 1.3; }
.seg label b { display: block; font-size: .95rem; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg input:checked + label { border-color: var(--lagoon); background: #e9eef8; }
.seg input:focus-visible + label { outline: 3px solid var(--coconut); }
.train { display: grid; gap: 12px; padding: 18px; border: 1.5px solid var(--line); border-radius: var(--r); background: #fff; }
.train.on { border-color: var(--lagoon); box-shadow: 0 0 0 3px rgba(11, 42, 99, .12); }
.train-route { display: flex; align-items: center; gap: 10px; font: 700 1.3rem/1.2 var(--display); }
.train-route svg { width: 22px; height: 22px; color: var(--coconut); flex: none; }
.train-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; flex-wrap: wrap; }
.days-info { display: flex; gap: 10px; flex-wrap: wrap; margin: 4px 0 0; }
.days-info span { background: var(--mist); border-radius: 999px; padding: 6px 14px; font-weight: 600; font-size: .92rem; }

/* summary ticket on the planner */
.plan-side .ticket { --cut: 70px; background: #fffaf0; }
.plan-side .ticket-wrap { filter: drop-shadow(0 1px 1px rgba(10, 26, 54, .12)) drop-shadow(0 10px 18px rgba(10, 26, 54, .14)); }
.sum-group { margin-bottom: 12px; }
.sum-group h4 { margin: 0 0 6px; font-size: .82rem; color: var(--ink-2); font-weight: 600; display: flex; justify-content: space-between; }
.sum-line { display: grid; grid-template-columns: 1fr auto auto; gap: 6px; align-items: start; font-size: .92rem; padding: 3px 0; }
.sum-line small { display: block; color: var(--ink-2); font-size: .8rem; }
.sum-line .amt { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.sum-line .x { width: 26px; height: 26px; border: 0; background: none; color: #93a6a2; cursor: pointer; border-radius: 50%; font-size: 1rem; line-height: 1; }
.sum-line .x:hover { color: var(--danger); background: #fbeceb; }
.sum-empty { color: var(--ink-2); font-size: .92rem; margin: 0; }
.total-bump { animation: bump .45s var(--ease); }
@keyframes bump { 40% { transform: scale(1.08); color: var(--lagoon); } }
.plan-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 44; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -8px 24px -16px rgba(10, 26, 54, .4); padding: 10px 16px calc(10px + env(safe-area-inset-bottom)); display: flex; align-items: center; gap: 12px; }
.plan-bar div { flex: 1; line-height: 1.2; }
.plan-bar small { color: var(--ink-2); font-size: .8rem; display: block; }
.plan-bar b { font: 700 1.5rem/1.1 var(--display); font-variant-numeric: tabular-nums; }
@media (min-width: 1000px) { .plan-bar { display: none; } }
@media (max-width: 999px) { .plan-side { display: none; } }
dialog.sum-sheet { border: 0; padding: 0; margin: auto 0 0; width: 100%; max-width: 100%; max-height: 88vh; border-radius: var(--r-lg) var(--r-lg) 0 0; background: var(--white); }
dialog.sum-sheet::backdrop { background: rgba(6, 17, 38, .55); }
dialog.sum-sheet[open] { animation: sheet-up .3s var(--ease); }
@keyframes sheet-up { from { transform: translateY(40%); opacity: .4; } }
.sum-sheet .inner { padding: 12px 20px calc(20px + env(safe-area-inset-bottom)); overflow: auto; max-height: 88vh; }
.sum-sheet .grab { width: 40px; height: 4px; border-radius: 4px; background: var(--line); margin: 0 auto 12px; }
.sum-sheet .ticket { padding: 0; background: none; -webkit-mask: none; mask: none; }

/* quotation step */
.quote-box { border: 1px solid var(--line); border-radius: var(--r); padding: 20px; margin-bottom: 20px; }
.quote-box h3 { margin-bottom: 12px; }
.q-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.q-table th, .q-table td { text-align: left; padding: 8px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.q-table td:last-child, .q-table th:last-child { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.q-table .grp td { font-weight: 700; padding-top: 16px; border-bottom: 0; color: var(--lagoon); }
.q-table tfoot td { font: 700 1.5rem/1.2 var(--display); border-bottom: 0; padding-top: 14px; }
.q-table small { color: var(--ink-2); display: block; }
.done-actions { display: grid; gap: 10px; margin-top: 14px; }
@media (min-width: 640px) { .done-actions { grid-template-columns: repeat(3, 1fr); } }

/* ---------- printable quotation ---------- */
.qdoc { max-width: 820px; margin: 0 auto; padding: 32px 24px 64px; }
.qdoc-head { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-bottom: 20px; border-bottom: 3px solid var(--lagoon); margin-bottom: 24px; }
.qdoc-head address { font-style: normal; font-size: .9rem; color: var(--ink-2); text-align: right; }
.qdoc h1 { font-size: 2rem; margin-bottom: 4px; }
.qdoc h2 { font-size: 1.3rem; margin: 28px 0 10px; color: var(--lagoon); }
.qdoc dl { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 8px 24px; margin: 0; }
.qdoc dl div { border-bottom: 1px solid var(--line); padding: 6px 0; }
.qdoc dt { font-size: .82rem; color: var(--ink-2); }
.qdoc dd { margin: 0; font-weight: 600; }
.qdoc ol { padding-left: 20px; margin: 0; }
.qdoc ol li { margin-bottom: 6px; }
.qdoc .estimate { background: #fff4d6; border-radius: var(--r-sm); padding: 12px 16px; margin-top: 24px; font-size: .92rem; }
.qdoc-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 24px; }
@media print {
  @page { margin: 14mm; }
  body { font-size: 11pt; }
  .qdoc { padding: 0; max-width: none; }
  .qdoc-actions, .wa-float, site-header, site-footer { display: none !important; }
  .qdoc h2 { break-after: avoid; }
  .q-table tr { break-inside: avoid; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}

/* contact */
.contact-grid { display: grid; gap: 32px; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: 1fr 1.2fr; gap: 56px; } }
.ways { display: grid; gap: 10px; margin-bottom: 24px; }
.way { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r); text-decoration: none; color: inherit; background: #fff; transition: border-color .2s; }
.way:hover { border-color: var(--lagoon); }
.way svg { width: 26px; height: 26px; color: var(--lagoon); flex: none; }
.way b { display: block; }
.way small { color: var(--ink-2); }
.map { width: 100%; aspect-ratio: 4 / 3; border: 0; border-radius: var(--r); background: var(--mist); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .hero-slides img:not(:first-child) { display: none; }
  .hero h1 .w > span, .hero-text, .hero-cta, .hero-contact, .hero .ticket-wrap, .hero .ticket-lines li { opacity: 1; transform: none; animation: none; }
}
@media (hover: none) { .btn:hover, a.card:hover .card-img img, .place:hover img { transform: none; } }
