/* Many Islands Bali — website styles
   Built on the Many Islands Bali design system: navy, teal, coral, sand and white,
   one family (Poppins), soft corners, no drop shadows. Bands alternate white and
   sand; navy is kept for the header, the strongest message and the footer. */

@font-face { font-family: "Poppins"; font-style: normal; font-display: swap; font-weight: 300; src: url("/assets/fonts/poppins-latin-300-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-display: swap; font-weight: 300; src: url("/assets/fonts/poppins-latin-ext-300-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Poppins"; font-style: normal; font-display: swap; font-weight: 400; src: url("/assets/fonts/poppins-latin-400-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-display: swap; font-weight: 400; src: url("/assets/fonts/poppins-latin-ext-400-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Poppins"; font-style: normal; font-display: swap; font-weight: 500; src: url("/assets/fonts/poppins-latin-500-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-display: swap; font-weight: 500; src: url("/assets/fonts/poppins-latin-ext-500-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Poppins"; font-style: normal; font-display: swap; font-weight: 600; src: url("/assets/fonts/poppins-latin-600-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-display: swap; font-weight: 600; src: url("/assets/fonts/poppins-latin-ext-600-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Poppins"; font-style: normal; font-display: swap; font-weight: 700; src: url("/assets/fonts/poppins-latin-700-normal.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: "Poppins"; font-style: normal; font-display: swap; font-weight: 700; src: url("/assets/fonts/poppins-latin-ext-700-normal.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }

:root {
  /* Brand colours */
  --navy: #05253C;
  --teal: #24BABA;          /* shapes and accents, never text on light grounds */
  --coral: #FC7454;         /* the one main action per view */
  --sand: #F6F1E7;
  --white: #FFFFFF;
  /* Roles */
  --ink: #05253C;
  --ink-muted: #4B6172;
  --accent-text: #0E7372;   /* links and small teal text on white or sand */
  --signal-text: #BD4327;   /* small coral labels on white or sand */
  --on-signal: #05253C;
  --line: #E2DCCF;
  --focus: #0E7372;
  --on-navy: #FFFFFF;
  --on-navy-muted: #B8C7D3;
  --on-navy-line: rgba(255, 255, 255, 0.16);
  --font: "Poppins", "Century Gothic", "Segoe UI", Arial, sans-serif;
  /* Space */
  --space-1: 4px; --space-2: 8px; --space-3: 12px; --space-4: 16px;
  --space-6: 24px; --space-8: 32px; --space-12: 48px; --space-16: 64px;
  /* Shape */
  --radius-sm: 6px; --radius-md: 12px; --radius-lg: 24px; --pill: 999px;
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --header-h: 76px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--font); font-size: 16px; line-height: 1.65; font-weight: 400; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-text); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--ink); }
:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; border-radius: 2px; }
h1, h2, h3, h4 { color: var(--ink); text-wrap: balance; margin: 0; }
h1 { font-size: clamp(30px, 3.6vw, 40px); line-height: 1.15; font-weight: 700; }
h2 { font-size: clamp(24px, 2.4vw, 28px); line-height: 1.25; font-weight: 700; }
h3 { font-size: 20px; line-height: 1.35; font-weight: 600; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; }
b, strong { font-weight: 600; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 50; padding: 10px 16px; background: var(--coral); color: var(--on-signal); font-weight: 600; border-radius: var(--pill); }
.skip-link:focus { top: 12px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: max(var(--gutter), env(safe-area-inset-left, 0px)); padding-right: max(var(--gutter), env(safe-area-inset-right, 0px)); }

/* Eyebrow: small spaced-out capitals, the only place besides the logo */
.eyebrow { font-size: 12px; line-height: 1.2; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--signal-text); }
.lead { font-size: clamp(17px, 1.5vw, 19px); line-height: 1.6; color: var(--ink-muted); max-width: 600px; }
.muted { color: var(--ink-muted); }

/* Logo */
.brand { display: inline-flex; flex-shrink: 0; }
.brand img { width: 240px; height: auto; }
@media (min-width: 1200px) { .brand img { width: 250px; } }

/* Buttons: sentence case, pill shape. Coral (signal) is the main action. */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 24px; border-radius: var(--pill); font: 600 16px/1.2 var(--font); text-decoration: none; border: 1.5px solid transparent; cursor: pointer; transition: background-color .15s ease, color .15s ease, border-color .15s ease; }
.btn svg { width: 20px; height: 20px; flex-shrink: 0; }
.btn--signal { background: var(--coral); color: var(--on-signal); }
.btn--signal:hover { background: #FD8A6F; color: var(--on-signal); }
.btn--outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn--outline:hover { background: var(--navy); color: var(--on-navy); }
.btn--ghost { border-color: rgba(255, 255, 255, 0.5); color: var(--on-navy); background: transparent; }
.btn--ghost:hover { border-color: var(--teal); color: var(--teal); }
.btn--small { min-height: 44px; padding: 10px 18px; font-size: 14px; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header: navy with the compact logo */
.site-header { background: var(--navy); color: var(--on-navy); position: relative; z-index: 20; }
.site-header__bar { display: flex; align-items: center; justify-content: space-between; gap: 12px 24px; min-height: var(--header-h); }
.site-header :focus-visible { outline-color: var(--teal); }
.nav { display: none; }
.nav > ul { list-style: none; display: flex; gap: 2px; }
.nav__item { position: relative; }
.nav__item > a { display: block; padding: 26px 10px; color: var(--on-navy); text-decoration: none; font-size: 14px; font-weight: 500; white-space: nowrap; }
.nav__item > a:hover, .nav__item > a[aria-current="page"], .nav__item.is-active > a { color: var(--teal); }
.nav__sub { list-style: none; position: absolute; left: 0; top: 100%; min-width: 270px; padding: 8px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); opacity: 0; visibility: hidden; transition: opacity .15s ease, visibility .15s; }
.nav__sub a { display: block; padding: 10px 12px; color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 500; border-radius: var(--radius-sm); }
.nav__sub a:hover, .nav__sub a[aria-current="page"] { background: var(--sand); color: var(--accent-text); }
.nav__item:hover .nav__sub, .nav__item:focus-within .nav__sub { opacity: 1; visibility: visible; }
/* Menus of the last items open towards the left, so they never stick out of the page */
.nav__item:nth-last-child(-n+3) .nav__sub { left: auto; right: 0; }
.header-cta { display: none; }
.header-cta svg { color: var(--teal); }

.menu { position: static; }
.menu > summary { list-style: none; display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 10px 16px; border: 1.5px solid rgba(255, 255, 255, 0.4); border-radius: var(--pill); color: var(--on-navy); font-weight: 600; font-size: 15px; cursor: pointer; }
.menu > summary::-webkit-details-marker { display: none; }
.menu > summary svg { width: 20px; height: 20px; }
.menu[open] > summary { background: var(--white); color: var(--ink); border-color: var(--white); }
.menu__panel { position: absolute; left: 0; right: 0; top: 100%; height: calc(100vh - var(--header-h)); height: calc(100dvh - var(--header-h)); background: var(--white); color: var(--ink); overflow-y: auto; overscroll-behavior: contain; }
.menu__panel > ul { list-style: none; padding-top: 8px; padding-bottom: 32px; }
.menu__panel li { border-bottom: 1px solid var(--line); }
.menu__panel a:not(.btn) { display: block; padding: 14px 0; color: var(--ink); text-decoration: none; font-weight: 600; font-size: 17px; }
.menu__panel ul { list-style: none; }
.menu__panel ul ul { padding: 0 0 10px 14px; }
.menu__panel ul ul li { border: 0; }
.menu__panel ul ul a:not(.btn) { padding: 8px 0; font-weight: 400; font-size: 16px; color: var(--ink-muted); }
.menu__panel li:last-child { border-bottom: 0; }
.menu__panel .btn { display: flex; width: 100%; margin-top: 18px; padding: 14px 24px; font-size: 17px; }
.menu__panel :focus-visible { outline-color: var(--focus); }

@media (max-width: 400px) {
  .brand img { width: 220px; }
  .menu > summary { padding: 10px 12px; }
  .menu > summary span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
}

/* Desktop menu from 1200px. The WhatsApp button joins it from 1320px; below that the floating button is shown. */
@media (min-width: 1200px) {
  :root { --header-h: 80px; }
  .nav { display: block; margin-left: auto; }
  .menu { display: none; }
  .site-header__bar { gap: 16px 16px; }
}
@media (min-width: 1320px) {
  .header-cta { display: inline-flex; white-space: nowrap; }
}

/* Breadcrumbs */
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 8px; font-size: 14px; color: var(--ink-muted); }
.breadcrumbs li + li::before { content: "/"; margin-right: 8px; color: #B9B1A2; }
.breadcrumbs a { color: var(--ink-muted); text-decoration: none; }
.breadcrumbs a:hover { color: var(--accent-text); text-decoration: underline; }

/* Bands */
.section { padding-top: clamp(56px, 7vw, 88px); padding-bottom: clamp(56px, 7vw, 88px); }
.section + .section:not(.section--surface):not(.section--ink) { border-top: 1px solid var(--line); }
.section--surface + .section, .section--ink + .section { border-top: 0 !important; }
.section--tight { padding-top: clamp(40px, 5vw, 64px); padding-bottom: clamp(40px, 5vw, 64px); }
.section--surface { background: var(--sand); }
.section--ink { background: var(--navy); color: var(--on-navy); }
.section--ink h2, .section--ink h3 { color: var(--on-navy); }
.section--ink p { color: var(--on-navy-muted); }
.section--ink a:not(.btn) { color: var(--teal); }
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 48px; margin-bottom: clamp(28px, 4vw, 44px); }
.section-head h2 { max-width: 640px; }
.section-head p { max-width: 480px; color: var(--ink-muted); }
.section--ink .section-head p { color: var(--on-navy-muted); }

/* Home hero: the one navy band, with the flower as a watermark */
.hero-band { background: var(--navy); color: var(--on-navy); position: relative; overflow: hidden; isolation: isolate; }
.hero-band::before { content: ""; position: absolute; z-index: -1; width: clamp(520px, 62vw, 900px); aspect-ratio: 1; left: clamp(-420px, -24vw, -180px); top: -18%; background: url("/assets/logo/many-islands-bali-flower-mark-white.svg") center / contain no-repeat; opacity: 0.07; pointer-events: none; }
.hero-band :focus-visible { outline-color: var(--teal); }
.hero { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(460px, 100%), 1fr)); gap: clamp(36px, 5vw, 64px); align-items: center; padding-top: clamp(40px, 6vw, 80px); padding-bottom: clamp(48px, 7vw, 96px); }
.hero__text { display: flex; flex-direction: column; gap: 22px; min-width: 0; }
.hero .eyebrow { color: var(--coral); }
.hero h1 { color: var(--on-navy); font-size: clamp(36px, 5vw, 56px); line-height: 1.1; letter-spacing: -0.01em; }
.hero .lead { color: #D5DEE5; }
.hero .btn--outline { border-color: rgba(255, 255, 255, 0.5); color: var(--on-navy); }
.hero .btn--outline:hover { border-color: var(--teal); background: transparent; color: var(--teal); }
.checks { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 24px; font-size: 15px; font-weight: 500; }
.checks li { display: flex; align-items: center; gap: 8px; }
.checks svg { width: 20px; height: 20px; color: var(--teal); flex-shrink: 0; }
.hero__visual { position: relative; padding-bottom: 120px; min-width: 0; }
.hero__visual > img { width: 100%; height: clamp(320px, 40vw, 560px); object-fit: cover; border-radius: var(--radius-lg); }

/* Ernest's card: the back of the business card, in sand */
.idcard { position: absolute; left: clamp(-24px, -2vw, 0px); bottom: 0; width: min(400px, 92%); padding: 22px 24px; background: var(--sand); color: var(--ink); border-radius: var(--radius-md); display: flex; flex-direction: column; gap: 2px; }
.idcard__name { font-size: 20px; line-height: 1.3; font-weight: 700; }
.idcard__role { font-size: 15px; font-weight: 300; }
.idcard__details { display: grid; grid-template-columns: auto 1fr; gap: 6px 16px; margin: 14px 0 0; align-items: baseline; }
.idcard__details div { display: contents; }
.idcard__details dt { font-size: 11px; line-height: 1.3; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--signal-text); white-space: nowrap; }
.idcard__details dd { margin: 0; font-size: 14px; line-height: 1.4; font-weight: 500; overflow-wrap: anywhere; }
.idcard__details a { color: var(--ink); text-decoration: none; }
.idcard__details a:hover { color: var(--accent-text); text-decoration: underline; }
.idcard :focus-visible { outline-color: var(--focus); }

/* Inner page hero */
.page-hero { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(440px, 100%), 1fr)); gap: clamp(28px, 4vw, 56px); align-items: center; padding-top: clamp(28px, 4vw, 48px); padding-bottom: clamp(48px, 6vw, 80px); }
.page-hero__text { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.page-hero__media { min-width: 0; }
.page-hero__media img { width: 100%; height: clamp(260px, 34vw, 480px); object-fit: cover; border-radius: var(--radius-lg); }
.page-hero--plain { grid-template-columns: 1fr; }
.page-hero--plain .page-hero__text { max-width: 820px; }

/* Facts strip */
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); gap: 0 24px; margin: 0; padding: 4px 24px; background: var(--sand); border-radius: var(--radius-md); }
.facts div { padding: 16px 0; }
.facts dt { font-size: 12px; line-height: 1.2; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--signal-text); }
.facts dd { margin: 6px 0 0; font-size: 16px; line-height: 1.4; font-weight: 600; color: var(--ink); }

/* Service list */
.service-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr)); gap: 0 40px; list-style: none; }
.service-list li { display: flex; gap: 18px; padding: 24px 0; border-top: 1px solid var(--line); }
.service-list svg { width: 52px; height: 52px; padding: 13px; border-radius: 50%; background: var(--sand); color: var(--accent-text); flex-shrink: 0; }
.service-list h3 { margin-bottom: 6px; font-size: 18px; }
.service-list h3 a { color: var(--ink); text-decoration: none; }
.service-list h3 a:hover { color: var(--accent-text); text-decoration: underline; }
.service-list p { font-size: 15px; line-height: 1.6; color: var(--ink-muted); }
.section--surface .service-list svg { background: var(--white); }

/* Tour cards */
.tour-layout { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(500px, 100%), 1fr)); gap: 40px 32px; align-items: start; }
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 36px 24px; }
.card-grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); }
.card { display: flex; flex-direction: column; gap: 8px; min-width: 0; position: relative; }
.card__media { position: relative; }
.card__media img { width: 100%; height: 210px; object-fit: cover; border-radius: var(--radius-md); }
.card--feature .card__media img { height: clamp(300px, 38vw, 540px); border-radius: var(--radius-lg); }
.card--tall .card__media img { height: 340px; }
.card h3 { margin-top: 8px; font-size: 18px; }
.card--feature h3 { font-size: clamp(20px, 2vw, 24px); }
.card h3 a { color: var(--ink); text-decoration: none; }
.card h3 a::after { content: ""; position: absolute; inset: 0; border-radius: var(--radius-md); }
.card:hover h3 a { color: var(--accent-text); text-decoration: underline; }
.card p { font-size: 15px; line-height: 1.6; }
.card .stops { color: var(--ink-muted); font-size: 14px; }
.card .price { font-size: 14px; font-weight: 600; color: var(--ink); }
.pill { position: absolute; left: 14px; top: 14px; padding: 6px 12px; background: var(--navy); color: var(--on-navy); border-radius: var(--pill); font-size: 13px; line-height: 1.3; font-weight: 600; }

/* Activity tiles */
.tile { margin: 0; display: flex; flex-direction: column; gap: 8px; position: relative; }
.tile img { width: 100%; height: 230px; object-fit: cover; border-radius: var(--radius-md); }
.tile figcaption { display: flex; flex-direction: column; gap: 4px; padding-top: 6px; }
.tile b { font-size: 18px; font-weight: 600; color: var(--ink); }
.tile b a { color: var(--ink); text-decoration: none; }
.tile b a::after { content: ""; position: absolute; inset: 0; }
.tile:hover b a { color: var(--accent-text); text-decoration: underline; }
.tile span { font-size: 15px; color: var(--ink-muted); }

/* Split layout */
.split { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(440px, 100%), 1fr)); gap: clamp(32px, 5vw, 56px); align-items: center; }
.split--top { align-items: start; }
.split > * { min-width: 0; }
.split img { width: 100%; height: clamp(280px, 32vw, 460px); object-fit: cover; border-radius: var(--radius-lg); }
.caption { margin-top: 10px; font-size: 13px; color: var(--ink-muted); }

/* Why list */
.why { list-style: none; display: flex; flex-direction: column; gap: 18px; }
.why li { display: flex; gap: 14px; font-size: 16px; line-height: 1.6; }
.why svg { width: 22px; height: 22px; color: var(--accent-text); flex-shrink: 0; margin-top: 2px; }
.why b { font-weight: 600; color: var(--ink); }

/* Steps (a real sequence) */
.steps { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr)); gap: 24px; counter-reset: step; }
.steps li { display: flex; flex-direction: column; gap: 8px; padding-top: 24px; border-top: 1px solid var(--line); counter-increment: step; }
.steps li::before { content: counter(step); display: grid; place-items: center; width: 44px; height: 44px; margin-bottom: 6px; border-radius: 50%; background: var(--teal); color: var(--navy); font-size: 18px; font-weight: 700; line-height: 1; }
.steps b { font-size: 18px; font-weight: 600; color: var(--ink); }
.steps span { font-size: 15px; color: var(--ink-muted); }

/* Long text */
.prose { max-width: 720px; display: flex; flex-direction: column; gap: 18px; }
.prose h2 { margin-top: 18px; }
.prose > :first-child { margin-top: 0; }
.prose h3 { margin-top: 10px; }
.prose ul, .prose ol { padding-left: 22px; display: flex; flex-direction: column; gap: 8px; }
.prose li::marker { color: var(--accent-text); }

/* Stops along a route */
.stop-list { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 0 40px; }
.stop-list li { padding: 22px 0; border-top: 1px solid var(--line); }
.stop-list h3 { font-size: 18px; margin-bottom: 6px; }
.stop-list h3 a { color: inherit; }
.stop-list h3 a:hover { color: var(--accent-text); }
.stop-list p { font-size: 15px; color: var(--ink-muted); }

/* Timeline of a day or trip (a real sequence) */
.timeline { list-style: none; display: flex; flex-direction: column; border-left: 2px solid var(--line); margin-left: 7px; }
.timeline li { position: relative; padding: 0 0 26px 26px; }
.timeline li::before { content: ""; position: absolute; left: -9px; top: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--teal); border: 3px solid var(--white); }
.section--surface .timeline li::before { border-color: var(--sand); }
.timeline li:last-child { padding-bottom: 0; }
.timeline time, .timeline .when { display: block; font-size: 12px; line-height: 1.6; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--signal-text); }
.timeline b { display: block; font-size: 17px; font-weight: 600; color: var(--ink); }
.timeline p { font-size: 15px; color: var(--ink-muted); margin-top: 2px; }

/* Included / good to know */
.boxes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); gap: 24px; }
.box { padding: 26px 28px; background: var(--sand); border-radius: var(--radius-md); }
.section--surface .box { background: var(--white); }
.box h3 { font-size: 18px; margin-bottom: 12px; }
.box ul { list-style: none; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.box li { display: flex; gap: 10px; }
.box li svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 3px; color: var(--accent-text); }
.boxes--reviews { grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 560px)); }
.review { display: flex; flex-direction: column; gap: 14px; margin: 0; }
.review blockquote { margin: 0; font-size: clamp(17px, 1.8vw, 19px); line-height: 1.6; color: var(--ink); }
.review blockquote::before { content: "\201C"; display: block; height: 34px; font-size: 60px; line-height: 1; font-weight: 700; color: var(--accent-text); }
.review figcaption { font-size: 14px; font-weight: 600; }
.package { display: flex; flex-direction: column; gap: 14px; position: relative; }
.package h3 { margin-bottom: 0; font-size: 20px; }
.package > p { color: var(--ink-muted); }
.package ul { margin: 4px 0; }
.package .btn { align-self: flex-start; margin-top: auto; }
.package__price { font-weight: 600; color: var(--ink) !important; }
.package--featured { background: var(--white); border: 2px solid var(--teal); }
.package__tag { align-self: flex-start; padding: 4px 12px; border-radius: var(--pill); background: var(--teal); color: var(--navy); font-size: 13px; font-weight: 600; }
.package--wide { margin-top: 48px; }
.package--wide .btn { margin-top: 4px; }
@media (max-width: 640px) { .package .btn { align-self: stretch; } }

/* Price table */
.table-wrap { overflow-x: auto; }
.price-table { width: 100%; min-width: 560px; border-collapse: collapse; font-size: 16px; }
.price-table th { text-align: left; padding: 12px 16px 12px 0; font-size: 12px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--signal-text); border-bottom: 1px solid var(--navy); }
.price-table td { padding: 16px 16px 16px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.price-table td:last-child, .price-table th:last-child { text-align: right; padding-right: 0; }
.price-table .price { font-weight: 600; color: var(--ink); white-space: nowrap; }

/* FAQ: native details, no script */
.faq { border-top: 1px solid var(--navy); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 0; font-size: 18px; font-weight: 600; color: var(--ink); cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex-shrink: 0; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--sand); font-size: 22px; font-weight: 400; color: var(--accent-text); line-height: 1; }
.faq details[open] summary::after { content: "\2013"; }
.faq .answer { padding: 0 0 22px; max-width: 760px; display: flex; flex-direction: column; gap: 12px; color: var(--ink); }
.section--surface .faq summary::after { background: var(--white); }

/* Planner */
.planner { background: var(--sand); border-radius: var(--radius-lg); padding: clamp(20px, 3vw, 32px); display: grid; grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr)); gap: 24px 36px; }
.section--surface .planner { background: var(--white); }
.planner__options, .planner__send { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.planner fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.planner legend, .planner label.field__label, .planner .field__label { display: block; padding: 0; margin-bottom: 8px; font-size: 14px; line-height: 1.3; font-weight: 600; color: var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 16px; border-radius: var(--pill); border: 1.5px solid var(--line); background: var(--white); color: var(--ink); font-size: 15px; font-weight: 500; }
.chip:hover span { border-color: var(--navy); }
.chip input:checked + span { background: var(--navy); border-color: var(--navy); color: var(--on-navy); }
.chip input:focus-visible + span { outline: 2px solid var(--focus); outline-offset: 2px; }
.section--surface .chip span { background: var(--sand); border-color: var(--sand); }
.section--surface .chip input:checked + span { background: var(--navy); border-color: var(--navy); }
.fields { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 14px; }
.field--wide { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; min-width: 0; }
.field input, .field select, .planner textarea { display: block; width: 100%; min-width: 0; max-width: 100%; min-height: 48px; margin: 0; padding: 10px 14px; border: 1.5px solid var(--line); border-radius: var(--radius-md); background-color: var(--white); color: var(--ink); font: 400 16px/1.5 var(--font); -webkit-appearance: none; appearance: none; }
.field input:hover, .field select:hover, .planner textarea:hover { border-color: #C9C0AE; }
.field input:focus-visible, .field select:focus-visible, .planner textarea:focus-visible { border-color: var(--focus); outline: 2px solid var(--focus); outline-offset: 1px; }
.section--surface .field input, .section--surface .field select { background-color: var(--sand); border-color: var(--sand); }
.field input, .field select { height: 48px; }
.field select { padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' fill='none' stroke='%2305253C' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 14px; }
.field input[type="date"] { line-height: 26px; }
.field input[type="date"]::-webkit-date-and-time-value { text-align: left; margin: 0; }
.field input[type="date"]::-webkit-datetime-edit { padding: 0; }
.planner textarea { min-height: 120px; resize: vertical; border-color: var(--teal); }
.planner .btn { align-self: flex-start; }
@media (max-width: 640px) { .planner .btn { align-self: stretch; width: 100%; } }
.planner__note { font-size: 14px; line-height: 1.5; color: var(--ink-muted); }

.jump-list { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding-bottom: 8px; }
.jump-list a { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 16px; border: 1.5px solid var(--line); border-radius: var(--pill); color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 500; }
.jump-list a:hover { border-color: var(--navy); background: var(--navy); color: var(--on-navy); }

/* Notice */
.notice { padding-top: 24px; border-top: 1px solid var(--line); font-size: 16px; }

/* Placeholder for photos still to come */
.photo-slot { display: flex; align-items: center; justify-content: center; text-align: center; min-height: clamp(280px, 32vw, 440px); padding: 24px; border: 1.5px dashed #C9C0AE; border-radius: var(--radius-lg); background: var(--sand); color: var(--ink-muted); font-size: 15px; }

/* Footer: navy, horizontal logo, the flower as a watermark (pages other than home) */
.site-footer { background: var(--navy); color: var(--on-navy); position: relative; overflow: hidden; isolation: isolate; }
.site-footer::before { content: ""; position: absolute; z-index: -1; width: clamp(480px, 52vw, 760px); aspect-ratio: 1; right: clamp(-320px, -16vw, -140px); top: -120px; background: url("/assets/logo/many-islands-bali-flower-mark-white.svg") center / contain no-repeat; opacity: 0.07; pointer-events: none; }
.layout-home .site-footer::before { content: none; }
.site-footer :focus-visible { outline-color: var(--teal); }
.site-footer a:not(.btn) { color: var(--on-navy); }
.site-footer a:not(.btn):hover { color: var(--teal); }
.footer-cta { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: 40px; align-items: end; padding-top: clamp(64px, 8vw, 96px); padding-bottom: 56px; }
.footer-cta h2 { color: var(--on-navy); font-size: clamp(30px, 3.6vw, 40px); line-height: 1.15; }
.footer-cta p { color: var(--on-navy-muted); max-width: 480px; margin-top: 14px; }
.footer-cta .btn { margin-top: 24px; }
.contact-list { list-style: none; display: flex; flex-direction: column; gap: 14px; font-size: 16px; }
.contact-list li { display: flex; align-items: flex-start; gap: 12px; }
.contact-list svg { width: 20px; height: 20px; color: var(--teal); flex-shrink: 0; margin-top: 3px; }
.contact-list small { display: block; font-size: 13px; color: var(--on-navy-muted); }
.contact-list a { text-decoration: none; overflow-wrap: anywhere; }
.footer-nav { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(150px, 100%), 1fr)); gap: 28px 24px; padding-top: 40px; padding-bottom: 40px; position: relative; }
.footer-nav h3 { color: var(--teal); font-size: 12px; line-height: 1.2; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 14px; }
.footer-nav ul { list-style: none; display: flex; flex-direction: column; gap: 8px; font-size: 15px; }
.site-footer .footer-nav a { text-decoration: none; color: var(--on-navy-muted); }
.site-footer .footer-nav a:hover { color: var(--on-navy); text-decoration: underline; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px 24px; padding-top: 20px; padding-bottom: 32px; position: relative; font-size: 13px; color: var(--on-navy-muted); }
.footer-bottom img { width: min(360px, calc(100% + 18px)); height: auto; margin-left: -18px; }
.footer-bottom .brand { flex: 0 1 360px; }
.footer-nav::before, .footer-bottom::before { content: ""; position: absolute; top: 0; left: max(var(--gutter), env(safe-area-inset-left, 0px)); right: max(var(--gutter), env(safe-area-inset-right, 0px)); border-top: 1px solid var(--on-navy-line); }
.footer-bottom a { color: var(--on-navy-muted); }

/* Light contact list (on white) */
.contact-list--light svg { color: var(--accent-text); }
.contact-list--light small { color: var(--ink-muted); }
.contact-list--light a { color: var(--ink); font-weight: 600; }
.contact-list--light a:hover { color: var(--accent-text); }

/* Floating WhatsApp button below 1320px */
.wa-float { position: fixed; right: max(16px, env(safe-area-inset-right, 0px)); bottom: max(16px, env(safe-area-inset-bottom, 0px)); z-index: 30; display: inline-flex; align-items: center; gap: 8px; min-height: 52px; padding: 12px 20px; background: var(--coral); color: var(--on-signal); border: 2px solid var(--white); border-radius: var(--pill); font-weight: 600; font-size: 15px; text-decoration: none; }
.wa-float svg { width: 22px; height: 22px; }
.wa-float:hover { background: #FD8A6F; color: var(--on-signal); }
/* While the Netlify badge (bottom right) is on the page, sit above it instead of underneath. */
html:has(#nl-badge-frame) .wa-float { bottom: calc(max(16px, env(safe-area-inset-bottom, 0px)) + 60px); }
/* The open mobile menu has its own WhatsApp button. */
html:has(.menu[open]) .wa-float { display: none; }
html:has(#nl-badge-frame) .menu__panel > ul { padding-bottom: 96px; }
@media (min-width: 1320px) { .wa-float { display: none; } }
@media (max-width: 1319px) { .site-footer { padding-bottom: 72px; } }

/* Credits table */
.credits { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 640px; }
.credits th, .credits td { text-align: left; padding: 10px 12px 10px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.credits th { color: var(--ink-muted); font-weight: 600; border-bottom-color: var(--navy); }

/* Languages: menu in the header (desktop), in the mobile menu and in the footer */
.lang { position: relative; display: none; margin-left: auto; }
.lang > summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 8px 12px; border: 1.5px solid rgba(255, 255, 255, 0.3); border-radius: var(--pill); color: var(--on-navy); font-size: 13px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.lang > summary::-webkit-details-marker { display: none; }
.lang > summary svg { width: 16px; height: 16px; }
.lang > summary:hover, .lang[open] > summary { border-color: var(--teal); color: var(--teal); }
.lang__list { list-style: none; position: absolute; right: 0; top: calc(100% + 10px); min-width: 210px; padding: 8px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); z-index: 30; }
.lang__list a { display: block; padding: 9px 12px; color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 500; border-radius: var(--radius-sm); }
.lang__list a:hover { background: var(--sand); color: var(--accent-text); }
.lang__list a[aria-current] { color: var(--accent-text); font-weight: 700; }
.lang__list :focus-visible { outline-color: var(--focus); }
@media (min-width: 1200px) { .lang { display: block; margin-left: 0; } }

.menu__langs { padding: 18px 0 6px; }
.menu__langs-title { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; color: var(--ink-muted); font-size: 15px; font-weight: 600; }
.menu__langs-title svg { width: 18px; height: 18px; }
.menu__langs > div { display: flex; flex-wrap: wrap; gap: 8px; }
.menu__panel .menu__langs a { display: inline-flex; padding: 8px 14px; border: 1.5px solid var(--line); border-radius: var(--pill); color: var(--ink); font-size: 15px; font-weight: 500; text-decoration: none; }
.menu__panel .menu__langs a[aria-current] { background: var(--navy); border-color: var(--navy); color: var(--on-navy); }

.footer-langs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; padding: 0 0 28px; font-size: 14px; }
.footer-langs svg { width: 16px; height: 16px; color: var(--teal); }
.site-footer .footer-langs a { color: var(--on-navy-muted); text-decoration: none; }
.site-footer .footer-langs a:hover, .site-footer .footer-langs a[aria-current] { color: var(--teal); }

/* Chinese, Japanese and Korean: Poppins for Latin letters, the system font for the rest */
html:lang(zh) { --font: "Poppins", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Noto Sans CJK SC", sans-serif; }
html:lang(ja) { --font: "Poppins", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", "Noto Sans JP", "Noto Sans CJK JP", sans-serif; }
html:lang(ko) { --font: "Poppins", "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", "Noto Sans CJK KR", sans-serif; }
html:lang(ko) body { word-break: keep-all; overflow-wrap: anywhere; }
html:lang(zh) body, html:lang(ja) body { line-break: strict; }
html:lang(zh) .eyebrow, html:lang(ja) .eyebrow, html:lang(ko) .eyebrow,
html:lang(zh) .facts dt, html:lang(ja) .facts dt, html:lang(ko) .facts dt,
html:lang(zh) .timeline .when, html:lang(ja) .timeline .when, html:lang(ko) .timeline .when,
html:lang(zh) .footer-nav h3, html:lang(ja) .footer-nav h3, html:lang(ko) .footer-nav h3 { letter-spacing: 0.06em; font-size: 13px; }
html:lang(de) p, html:lang(de) h1, html:lang(de) h2, html:lang(de) h3,
html:lang(nl) p, html:lang(nl) h1, html:lang(nl) h2, html:lang(nl) h3,
html:lang(fr) p, html:lang(fr) h3 { hyphens: auto; -webkit-hyphens: auto; }
html:lang(fr) .nav__item > a, html:lang(de) .nav__item > a { padding-left: 8px; padding-right: 8px; }
/* Japanese headings: break between phrases, not in the middle of a word */
html:lang(ja) h1, html:lang(ja) h2, html:lang(ja) h3 { word-break: keep-all; word-break: auto-phrase; overflow-wrap: anywhere; }

/* Activities page: activities grouped in cards */
.activity-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr)); gap: 40px 28px; }
.activity-grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); }
.activity { display: flex; flex-direction: column; gap: 18px; scroll-margin-top: 24px; }
.activity img { width: 100%; height: 260px; object-fit: cover; border-radius: var(--radius-md); }
.activity-grid--2 .activity img { height: 320px; }
.activity__body { display: flex; flex-direction: column; gap: 12px; }
.activity__body h3 { font-size: 20px; font-weight: 600; line-height: 1.3; }
.activity__body h3 a { color: var(--ink); text-decoration: none; }
.activity__body h3 a:hover { color: var(--accent-text); text-decoration: underline; }
.activity__body ul { padding-left: 20px; display: flex; flex-direction: column; gap: 6px; }
.activity__body ul li::marker { color: var(--accent-text); }

@media (max-width: 520px) {
  .hero__visual { padding-bottom: 0; }
  .idcard { position: relative; left: auto; width: auto; margin: -48px 12px 0; padding: 20px; }
  .idcard__details { grid-template-columns: 1fr; gap: 0; }
  .idcard__details dt { margin-top: 10px; }
  .idcard__details dd { font-size: 15px; }
}
