/* Lombok Sasak Transport & Tour */

@font-face {
  font-family: "Libre Caslon Display";
  src: url("../fonts/libre-caslon-display-400-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Libre Caslon Text";
  src: url("../fonts/libre-caslon-text-400-latin.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Montserrat";
  src: url("../fonts/montserrat-var-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #0f172a;
  --ink-soft: #1e293b;
  --muted: #5b6676;
  --line: #d4d6dc;
  --soft: #f4f5f7;
  --white: #fff;
  --wa: #128c4a;
  --display: "Libre Caslon Display", "Libre Caslon Text", "Times New Roman", Times, serif;
  --serif: "Libre Caslon Text", "Times New Roman", Times, serif;
  --body: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 3px;
  --wrap: 1120px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
h1, h2, h3, p, ul, ol, dl, dd { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
h1, h2 { font-family: var(--display); font-weight: 400; line-height: 1.1; letter-spacing: -0.005em; text-wrap: balance; }

:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; border-radius: var(--radius); }
.hero :focus-visible, .contact :focus-visible, .top :focus-visible { outline-color: #fff; }
.ticket :focus-visible { outline-color: var(--ink); }

.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 50; background: #fff; color: var(--ink); padding: 10px 14px; border-radius: var(--radius); }
.skip:focus { top: 12px; }
.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }

/* small uppercase label, used everywhere */
.eyebrow, .label, .ticket-title, .board h3, .how h3, .contact-list dt, .brand-sub {
  font-family: var(--body); font-weight: 600; text-transform: uppercase; letter-spacing: 0.16em;
}

/* ---------- header ---------- */
.top {
  position: absolute; inset: 0 0 auto 0; z-index: 10;
  display: flex; align-items: center; gap: 32px;
  padding: 24px 40px;
  color: #fff;
}
.brand { display: flex; flex-direction: column; text-decoration: none; line-height: 1.1; margin-right: auto; }
.brand-name { font-family: var(--display); font-size: 2.2rem; }
.brand-sub { font-size: 0.8rem; letter-spacing: 0.27em; margin-top: 5px; }
.nav { display: flex; gap: 30px; }
.nav a { text-decoration: none; font-weight: 500; font-size: 0.9rem; padding: 6px 0; border-bottom: 1px solid transparent; }
.nav a:hover { border-bottom-color: currentColor; }
.lang {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 0 4px 0 12px; border: 1px solid rgba(255,255,255,0.75); border-radius: var(--radius);
  background: rgba(15, 23, 42, 0.3); backdrop-filter: blur(6px);
}
.lang select {
  appearance: none; -webkit-appearance: none;
  background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.500l5 5 5-5' fill='none' stroke='%23fff' stroke-width='1.500' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 10px center / 10px;
  border: 0; color: #fff; font: 500 0.88rem var(--body);
  padding: 9px 28px 9px 2px; cursor: pointer; max-width: 9.5rem;
}
.lang select option { color: var(--ink); }

/* ---------- hero ---------- */
.hero { position: relative; isolation: isolate; color: #fff; }
.hero-bg { position: absolute; inset: 0; z-index: -1; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 55%; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.12) 28%, rgba(0, 0, 0, 0) 60%, rgba(0, 0, 0, 0.3) 100%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.45) 0%, rgba(0, 0, 0, 0) 60%);
}
.hero-inner {
  width: min(var(--wrap), 100% - 40px); margin-inline: auto;
  min-height: min(100svh, 860px);
  padding: 130px 0 72px;
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 420px);
  gap: 56px; align-items: center;
}
.eyebrow { font-size: 0.72rem; letter-spacing: 0.22em; margin-bottom: 20px; }
.hero h1 { font-size: clamp(2.7rem, 6vw, 5rem); text-shadow: 0 2px 24px rgba(0, 0, 0, 0.3); }
.hero-sub { margin-top: 24px; max-width: 33rem; font-size: 1.02rem; text-shadow: 0 1px 12px rgba(0, 0, 0, 0.5); }

/* ---------- price selector ---------- */
.ticket { color: var(--ink); background: #fff; border-radius: var(--radius); box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3); }
.ticket-main { padding: 28px 28px 24px; }
.ticket-stub { padding: 22px 28px 28px; border-top: 1px solid var(--line); background: var(--soft); border-radius: 0 0 var(--radius) var(--radius); }
.ticket-title { font-size: 0.7rem; color: var(--ink); margin-bottom: 18px; }
.label { display: block; font-size: 0.66rem; letter-spacing: 0.14em; color: var(--muted); margin-bottom: 7px; }
.route { display: grid; gap: 16px; }
.route-head { display: flex; align-items: center; gap: 12px; }
.route-head .label { margin: 0; }
.route-arrow { color: var(--muted); display: inline-flex; }
.static { font-family: var(--serif); font-size: 1.2rem; white-space: nowrap; }
.row { display: grid; grid-template-columns: minmax(0, 1fr) 112px; gap: 14px; margin-top: 16px; }
.field { min-width: 0; }
.ticket select, .ticket input {
  width: 100%; min-height: 48px;
  font: 500 0.95rem var(--body); color: var(--ink);
  background-color: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 10px 12px;
}
.ticket select {
  appearance: none; -webkit-appearance: none; padding-right: 34px; text-overflow: ellipsis;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.500l5 5 5-5' fill='none' stroke='%230f172a' stroke-width='1.500' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 11px;
}
.ticket input[type="date"] { -webkit-appearance: none; appearance: none; }
.ticket select:hover, .ticket input:hover { border-color: var(--ink); }
.ticket select:focus-visible, .ticket input:focus-visible { outline-offset: 1px; border-color: var(--ink); }

.quote { display: grid; }
.quote-price { font-family: var(--display); font-weight: 400; font-size: clamp(2.1rem, 4.4vw, 2.6rem); line-height: 1.1; font-variant-numeric: lining-nums; color: var(--ink); }
.quote-price.is-empty { color: var(--line); }
.quote-price.is-range { font-size: clamp(1.5rem, 3.4vw, 1.75rem); white-space: nowrap; }
.quote-detail { font-weight: 600; font-size: 0.88rem; margin-top: 6px; }
.quote-detail:empty { display: none; }
.quote-note { font-size: 0.82rem; color: var(--muted); margin-top: 4px; }
.ticket-stub .btn { margin-top: 20px; width: 100%; }
.ticket.is-flash { animation: flash 0.9s ease-out; }
@keyframes flash { 0% { outline: 3px solid #fff; outline-offset: 4px; } 100% { outline: 3px solid transparent; outline-offset: 4px; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 12px 24px; border-radius: var(--radius);
  font: 600 0.82rem var(--body); letter-spacing: 0.12em; text-transform: uppercase;
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
  transition: background-color 0.15s, color 0.15s;
}
.btn-wa { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-wa:hover { background: var(--ink-soft); }
.btn-lg { min-height: 58px; padding: 14px 30px; }
.wa-ico { flex: none; }

/* ---------- sections ---------- */
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section h2 { font-size: clamp(2.2rem, 4.2vw, 3.4rem); }
.section-head { max-width: 44rem; margin-bottom: 52px; }
.section-head p { margin-top: 16px; color: var(--muted); }

/* ---------- fare boards ---------- */
.boards { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; }
.board { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 28px 14px; }
.board-wide { grid-column: 1 / -1; }
.board-boat { background: var(--ink); border-color: var(--ink); color: #fff; align-self: start; }
.board h3 { font-size: 0.7rem; color: var(--muted); margin-bottom: 8px; }
.board-boat h3 { color: rgba(255,255,255,0.7); }
.fares-2col { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: repeat(4, auto); grid-auto-flow: column; column-gap: 56px; }
.fares li { border-bottom: 1px solid var(--line); padding: 14px 0; }
.fares li:has(.fare) { padding: 0; }
.fares-2col li:nth-child(4n) { border-bottom: 0; }
.fares:not(.fares-2col) li:last-child { border-bottom: 0; }
.board-boat .fares li { border-color: rgba(255,255,255,0.2); }
.fare {
  display: flex; align-items: baseline; gap: 12px; width: 100%;
  padding: 16px 0; min-height: 58px;
  background: none; border: 0; cursor: pointer; text-align: left;
  font: inherit; color: inherit;
}
.fare-place { display: grid; min-width: 0; }
.fare-name { font-weight: 600; font-size: 0.98rem; }
.fare-note { font-size: 0.82rem; color: var(--muted); }
.board-boat .fare-note { color: rgba(255,255,255,0.75); }
.fare-lead { flex: 1; min-width: 16px; border-bottom: 1px dotted #b4b8c1; transform: translateY(-4px); }
.board-boat .fare-lead { border-color: rgba(255,255,255,0.4); }
.fare-price { font-family: var(--serif); font-size: 1.12rem; white-space: nowrap; font-variant-numeric: lining-nums; }
.fare:hover .fare-name { text-decoration: underline; text-underline-offset: 4px; }
.fare:hover .fare-lead { border-color: var(--ink); }
.board-boat .fare:hover .fare-lead { border-color: #fff; }

/* ---------- about ---------- */
.about { background: var(--soft); }
.about-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 72px; align-items: start; }
.about-text p { margin-top: 22px; max-width: 35rem; }
.how h3 { font-size: 0.7rem; color: var(--muted); margin: 12px 0 8px; }
.steps { counter-reset: step; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 60px 1fr; column-gap: 8px; padding: 20px 0; border-bottom: 1px solid var(--line); }
.steps li:last-child { border-bottom: 0; }
.steps li::before { content: counter(step); grid-row: 1 / 3; font-family: var(--display); font-size: 2.8rem; line-height: 1; color: var(--ink); font-variant-numeric: lining-nums; }
.steps strong { font-weight: 600; }
.steps span { color: var(--muted); font-size: 0.95rem; }

/* ---------- reviews ---------- */
.reviews .eyebrow { color: var(--muted); }
.rev-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 32px; flex-wrap: wrap; margin-bottom: 52px; }
.rev-score { display: flex; align-items: center; gap: 16px; text-decoration: none; }
.rev-score strong { font-family: var(--display); font-weight: 400; font-size: 3.6rem; line-height: 1; font-variant-numeric: lining-nums; }
.rev-score > span { display: grid; font-size: 0.88rem; color: var(--muted); }
.rev-score:hover #rev-count { text-decoration: underline; text-underline-offset: 4px; }
.stars { color: #b7791f; letter-spacing: 0.12em; font-size: 1.05rem; }
.rev-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.review { margin: 0; display: flex; flex-direction: column; gap: 18px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); }
.review blockquote { margin: 0; font-family: var(--serif); font-size: 1.08rem; line-height: 1.6; }
.review figcaption { margin-top: auto; display: grid; font-size: 0.82rem; color: var(--muted); }
.review figcaption strong { color: var(--ink); font-weight: 600; font-size: 0.95rem; }
.rev-foot { display: flex; justify-content: space-between; align-items: baseline; gap: 12px 32px; flex-wrap: wrap; margin-top: 28px; font-size: 0.85rem; color: var(--muted); }
.rev-all { color: var(--ink); font-weight: 600; text-underline-offset: 5px; }

/* ---------- location / map ---------- */
.loc-head { display: grid; grid-template-columns: 1.15fr 1fr; gap: 72px; align-items: start; margin-bottom: 52px; }
.location .eyebrow { color: var(--muted); }
.loc-text p + p { margin-top: 16px; }
.loc-muted { color: var(--muted); }
.map { position: relative; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: var(--soft); }
.map iframe { display: block; width: 100%; height: clamp(360px, 44vw, 520px); border: 0; }
.map-open { position: absolute; top: 16px; right: 16px; min-height: 44px; padding: 10px 18px; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25); }

/* ---------- contact ---------- */
.contact { background: var(--ink); color: #fff; }
.contact-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 72px; align-items: center; }
.contact-sub { margin: 18px 0 30px; color: rgba(255,255,255,0.82); }
.contact .btn-wa { background: #fff; color: var(--ink); border-color: #fff; }
.contact .btn-wa:hover { background: #e7e9ee; }
.contact-list > div { padding: 22px 0; border-bottom: 1px solid rgba(255,255,255,0.2); }
.contact-list > div:last-child { border-bottom: 0; }
.contact-list dt { font-size: 0.66rem; color: rgba(255,255,255,0.7); margin-bottom: 6px; }
.contact-list dd { font-family: var(--serif); font-size: 1.5rem; font-variant-numeric: lining-nums; }
.contact-list a { text-decoration: none; }
.contact-list a:hover { text-decoration: underline; text-underline-offset: 5px; }

/* ---------- footer ---------- */
.foot { background: var(--ink); color: rgba(255,255,255,0.7); font-size: 0.8rem; padding: 26px 0; border-top: 1px solid rgba(255,255,255,0.16); }
.foot-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 32px; }
.foot-brand { color: #fff; font-weight: 500; }

/* ---------- floating WhatsApp (mobile) ---------- */
.fab {
  position: fixed; right: 16px; bottom: 16px; z-index: 20;
  width: 54px; height: 54px; border-radius: 50%;
  display: none; align-items: center; justify-content: center;
  background: var(--wa); color: #fff; box-shadow: 0 8px 22px rgba(0, 0, 0, 0.3);
}

/* ---------- 404 ---------- */
.lost { min-height: 100svh; display: grid; place-items: center; text-align: center; padding: 40px 20px; }
.lost .hero-bg::after { background: rgba(0, 0, 0, 0.55); }
.lost-code { font-family: var(--display); font-size: clamp(5rem, 22vw, 11rem); line-height: 0.9; font-variant-numeric: lining-nums; }
.lost h1 { font-size: clamp(1.9rem, 4.5vw, 2.9rem); margin-top: 14px; }
.lost p { margin: 14px auto 30px; max-width: 28rem; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: #e7e9ee; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; gap: 36px; padding: 120px 0 48px; min-height: 0; }
  .ticket { max-width: 520px; width: 100%; }
  .boards { grid-template-columns: 1fr; }
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 44px; }
  .loc-head { grid-template-columns: 1fr; gap: 24px; margin-bottom: 36px; }
  .rev-list { grid-template-columns: 1fr; gap: 18px; }
  .rev-head { margin-bottom: 36px; }
}
@media (max-width: 700px) {
  .nav { display: none; }
  .top { padding: 16px 20px; gap: 12px; }
  .brand-name { font-size: 1.65rem; }
  .brand-sub { font-size: 0.6rem; letter-spacing: 0.25em; }
  .hero-inner { padding: 104px 0 32px; }
  .hero-bg img { object-position: 70% 50%; }
  .ticket-main { padding: 22px 20px 20px; }
  .ticket-stub { padding: 20px 20px 22px; }
  .fares-2col { display: block; }
  .fares-2col li:nth-child(4n) { border-bottom: 1px solid var(--line); }
  .fares-2col li:last-child { border-bottom: 0; }
  .board { padding: 22px 20px 8px; }
  .btn { letter-spacing: 0.06em; font-size: 0.78rem; padding-inline: 16px; }
  .map-open { position: static; display: flex; width: 100%; border-radius: 0; box-shadow: none; min-height: 50px; }
  .fare { gap: 14px; }
  .fare-place { flex: 1; }
  .fare-lead { display: none; }
  .fare-price { font-size: 1.02rem; }
  .fab { display: flex; transition: opacity 0.2s, transform 0.2s; }
  .fab.is-hidden { opacity: 0; transform: scale(0.8); pointer-events: none; }
  .foot { padding-bottom: 92px; }
  .contact .btn-lg { width: 100%; }
}
@media (max-width: 380px) {
  .lang select { max-width: 6.5rem; }
  .row { grid-template-columns: 1fr 92px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn, .ticket.is-flash { transition: none; animation: none; }
}
