.liveaboard-booking-hero {
  position: relative;
  isolation: isolate;
  min-height: clamp(22rem, 34vw, 29rem);
  display: grid;
  place-items: center;
  padding: clamp(2.5rem, 6vw, 5rem) 7%;
  text-align: center;
  color: #fff;
  background: #082633;
}
.liveaboard-hero-media, .liveaboard-booking-hero::before {
  position: absolute;
  inset: 0;
}
.liveaboard-hero-media {
  z-index: -2;
  height: 100%;
  object-position: center 64%;
}
.liveaboard-booking-hero::before {
  content: '';
  z-index: -1;
  background: radial-gradient(ellipse at center, #031925bb 0%, #0319257a 50%, #0319251a 100%),
    linear-gradient(0deg, #031925c7, transparent 70%);
}
.liveaboard-hero-copy { max-width: 52rem; }
.liveaboard-hero-copy h1 { margin: .25rem 0 .85rem; font-size: clamp(3.05rem, 7vw, 6.15rem); }
.liveaboard-hero-copy p { margin: 0; color: #edf7fb; line-height: 1.55; }
.liveaboard-hero-copy .liveaboard-gratuity-note,
.route-masthead-copy .liveaboard-gratuity-note { margin-block-start: .65rem; color: var(--mint); font-size: 1rem; font-weight: 700; }
.liveaboard-hero-copy .eyebrow { color: var(--mint); }
.liveaboard-hero-copy .actions { justify-content: center; margin-top: 1.45rem; }
.liveaboard-hero-copy .btn.ghost { background: #0826337a; border-color: #b6d6da; }

.liveaboard-shell { width: min(100%, 76rem); margin-inline: auto; }
.liveaboard-centered-title { margin: 0 0 clamp(1.3rem, 3vw, 2.2rem); text-align: center; }
.fleet-section, #quote, .booking-information, .trip-films,
.booking-archive-section, .booking-services, .booking-service-panel, .route-guide,
.route-guide-card { scroll-margin-top: 1.15rem; }
.fleet-limit { color: #38545f; font-size: .86rem; margin-top: 1.25rem; }

#quote {
  padding-block: clamp(1.3rem, 3vw, 2.3rem) clamp(2.8rem, 5.5vw, 5rem);
  background: #eef6f5;
}
.booking-trust {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  margin: clamp(1.5rem, 3vw, 2.35rem) auto 0;
  max-width: 48rem;
  border-top: 1px solid #cadfde;
  padding-top: .95rem;
  text-align: center;
  font-size: .94rem;
}
.booking-trust > div { min-width: 0; padding-inline: .6rem; }
.booking-trust > div + div { border-left: 1px solid #cadfde; }
.booking-trust small { display: block; color: #38545f; font-size: .82rem; }
.booking-trust a { font-weight: 700; text-decoration: underline; text-underline-offset: .2rem; }
.quote-heading { margin: 0 0 clamp(1.2rem, 2.4vw, 1.8rem); }
.quote-heading .eyebrow { margin: 0; }
.quote-heading h2 { margin: .2rem 0 .55rem; }
.quote-intro { margin: 0; max-width: 43rem; color: #355460; line-height: 1.6; }
.departure-filters {
  display: grid;
  grid-template-columns: minmax(0, .8fr) repeat(3, minmax(0, 1.1fr)) minmax(0, 1fr);
  gap: .6rem 1rem;
  margin-bottom: 1rem;
}
.departure-filters label { display: grid; align-content: end; gap: .3rem; font-size: .84rem; font-weight: 700; }
.departure-filters select { width: 100%; min-width: 0; }
.departure-list { display: grid; gap: .65rem; padding: 0; margin: 0; list-style: none; }
.departure-row {
  display: grid;
  grid-template-columns: minmax(9rem, 1fr) minmax(0, 2.8fr) max-content;
  align-items: center;
  gap: .6rem clamp(.8rem, 2.5vw, 1.75rem);
  padding: .88rem clamp(.8rem, 2vw, 1.35rem);
  background: white;
  border: 1px solid #d4e6e5;
  border-inline-start: .25rem solid #59ada8;
  border-radius: .6rem;
}
.departure-row[data-region=south] { border-inline-start-color: #176b85; }
.departure-row.departure-selected { background: #e3f4f0; border-color: #87bdb8; }
.departure-row[hidden], .departure-filters[hidden] { display: none; }
.departure-row p, .departure-route h3 { margin: 0; }
.departure-when p { font-size: .98rem; font-weight: 750; line-height: 1.4; }
.departure-when > span { color: #476671; font-size: .85rem; }
.departure-when .departure-status { display: block; margin-block-start: .18rem; color: #09616c; font-weight: 700; }
.planned-departure-note {
  margin: 0 0 .85rem; padding: .68rem .9rem; border-inline-start: .2rem solid #4b9b99;
  border-radius: .32rem; background: #e5f2f1; color: #244a53; font-size: .9rem;
}
.departure-route h3 { font-size: clamp(1.06rem, 2vw, 1.35rem); letter-spacing: -.025em; line-height: 1.25; }
.departure-route h3 a:hover { text-decoration: underline; text-underline-offset: .16em; }
.departure-route h3 a > span[aria-hidden] { color: #0b707c; font-size: .9em; }
.departure-route .departure-stops {
  display: flex; flex-wrap: wrap; gap: .15rem .43rem; margin: .26rem 0 0; padding: 0;
  list-style: none; color: #415f6b; font-size: .82rem;
}
.departure-route .departure-stops li + li::before { content: '·'; margin-inline-end: .43rem; color: #197980; }
.departure-book { display: flex; align-items: center; justify-content: space-between; gap: .55rem .95rem; }
.departure-rate { display: flex; flex-wrap: wrap; align-items: baseline; gap: .15rem .35rem; font-size: .82rem; color: #355460; }
.departure-rate strong { color: var(--ink); font-size: 1.07rem; white-space: nowrap; }
.departure-book .btn { min-height: 44px; padding: .45rem .85rem; white-space: nowrap; }
.departure-book .btn:hover { background-color: #e4f4f0; }
.departure-note, #schedule-empty { font-size: .85rem; color: #355460; margin: .6rem 0 0; }
.departure-footer { display: flex; align-items: baseline; justify-content: space-between; gap: .45rem 1rem; flex-wrap: wrap; }
#schedule-all { border: 0; border-bottom: 1px solid var(--teal); background: transparent; padding: .55rem 0 .15rem; }
#cabins { scroll-margin-top: 1.2rem; }
.quote-departure { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .35rem 1rem; padding-bottom: .75rem; border-bottom: 1px solid #d5e4e5; }
.quote-departure h3 { margin: 0; font-size: 1.1rem; letter-spacing: -.02em; }
.quote-departure p { margin: .2rem 0 0; font-size: .9rem; line-height: 1.45; }
.quote-departure-links { display: flex; align-items: center; flex-wrap: wrap; gap: .45rem .8rem; }
.quote-departure-links .text-link { font-size: .8rem; padding-bottom: .18rem; }
.quote-departure-details { margin-bottom: .55rem; }

.week-hero { color: white; background: #082a37; padding: clamp(2.1rem, 4.5vw, 4.35rem) 7%; }
.week-hero-layout, .week-content-layout { display: grid; gap: clamp(1.25rem, 5vw, 4.2rem); grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr); align-items: start; }
.week-hero .week-back { color: var(--mint); border-color: #6bb6b9; }
.week-hero .week-dates { margin: 1.45rem 0 .45rem; color: #9ce1dc; font-weight: 700; }
.week-hero h1 { margin: 0 0 .9rem; font-size: clamp(2.5rem, 4.7vw, 4.15rem); overflow-wrap: anywhere; }
.week-hero p { margin: 0; line-height: 1.55; color: #d6e9ec; }
.week-book .week-planned-boat { margin-block-start: .3rem; font-size: 1rem; color: #dbf3f0; }
.week-book { align-self: center; padding: clamp(1.2rem, 3vw, 2rem); color: #f7fcfd; background: #124451; border: 1px solid #477280; border-radius: .7rem; }
.week-book p { font-size: 1.03rem; font-weight: 750; }
.week-book p span { font-size: .87rem; font-weight: 500; }
.week-rate { display: flex; align-items: baseline; flex-wrap: wrap; gap: .22rem .45rem; margin: .65rem 0 1.05rem; color: #e3f6f5; font-size: .88rem; }
.week-rate strong { font-size: clamp(1.4rem, 3vw, 1.95rem); }
.week-book .week-gratuity-note { margin: -.45rem 0 1rem; color: var(--mint); font-size: .85rem; }

.departure-partner-link { display: inline-flex; align-items: center; min-height: 2.5rem; margin-block-end: .75rem; }
.departure-partner-link[hidden] { display: none; }
.departure-partner { border-inline-start: 3px solid var(--teal); }
.departure-partner .departure-route p { margin: .3rem 0 0; color: #476572; font-size: .88rem; line-height: 1.5; }
.departure-partner .departure-when > span { color: #08707b; font-weight: 700; }

.southmoon-page { background: #fbfdfd; }
.southmoon-page .liveaboard-shell { width: min(76rem, calc(100% - clamp(2rem, 8vw, 5rem))); }
.southmoon-hero { padding-block: clamp(1.8rem, 5vw, 4.4rem); background: var(--navy); color: #fff; }
.southmoon-hero-layout,
.southmoon-booking-layout { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; gap: clamp(1.4rem, 5vw, 4.4rem); }
.southmoon-back { display: inline-block; margin-block-end: .85rem; color: var(--mint); }
.southmoon-hero .eyebrow { margin-block: .75rem .45rem; color: var(--mint); }
.southmoon-hero h1 { margin: 0 0 .6rem; font-size: clamp(2.75rem, 6.8vw, 5.35rem); letter-spacing: -.045em; }
.southmoon-hero p:not(.eyebrow) { margin: .45rem 0; color: #daedf0; line-height: 1.55; }
.southmoon-hero p.southmoon-tour { color: #fff; font-size: clamp(1.1rem, 2.2vw, 1.45rem); font-weight: 700; }
.southmoon-boat { aspect-ratio: 3 / 2; height: auto; border-radius: .75rem; object-fit: cover; }
.southmoon-dates { display: flex; flex-wrap: wrap; gap: .45rem; margin-block-start: 1rem; }
.southmoon-dates a {
  display: inline-flex; align-items: center; min-block-size: 2.65rem; padding: .4rem .7rem;
  border: 1px solid #57828b; border-radius: .4rem; color: #d8eeee; font-size: .9rem; line-height: 1.3;
}
.southmoon-dates a:hover,
.southmoon-dates a[aria-current="true"] { border-color: var(--mint); background: #174350; color: #fff; }
.southmoon-hero-cta { display: flex; align-items: center; flex-wrap: wrap; gap: .65rem 1rem; margin-block-start: 1.1rem; }
.southmoon-hero-cta span { color: #d8eeee; font-size: .92rem; }
.southmoon-hero-cta strong { color: #fff; }
.southmoon-booking-layout { align-items: start; padding-block: clamp(2.2rem, 5vw, 4.5rem); scroll-margin-block-start: 1rem; }
.southmoon-page h2 { margin: 0 0 .65rem; font-size: clamp(1.6rem, 3.8vw, 2.4rem); letter-spacing: -.037em; }
.southmoon-page :is(.southmoon-booking-layout, .southmoon-facts-layout) p,
.southmoon-facts-layout ul { color: #3b5965; font-size: .98rem; line-height: 1.6; }
.southmoon-booking-layout p { margin: 0 0 1rem; }
.southmoon-cabins { width: 100%; border-collapse: collapse; font-size: .95rem; line-height: 1.4; }
.southmoon-cabins th,
.southmoon-cabins td { padding: .75rem .42rem; border-block-end: 1px solid #d9e5e7; text-align: start; }
.southmoon-cabins thead th { background: #eaf4f3; color: var(--ink); font-size: .85rem; }
.southmoon-cabins tbody th { font-weight: 600; }
.southmoon-cabins tr > :nth-child(2) { text-align: center; }
.southmoon-cabins tr > :last-child { text-align: end; }
.southmoon-cabins td:last-child { white-space: nowrap; }
.southmoon-quote { padding: clamp(1rem, 3.5vw, 1.7rem); border: 1px solid #cfe1e3; border-radius: .7rem; background: #eef6f6; }
.southmoon-quote-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.southmoon-quote-fields label { display: grid; gap: .25rem; align-content: space-between; min-inline-size: 0; font-size: .86rem; font-weight: 700; }
.southmoon-quote-fields label:nth-child(-n+2) { grid-column: 1 / -1; }
.southmoon-quote-fields select {
  width: 100%; min-width: 0; min-height: 2.75rem; padding: .38rem .5rem;
  border: 1px solid #acc8ce; border-radius: .35rem; color: var(--ink); background: #fff; font: inherit; font-weight: 500;
}
.southmoon-quote dl { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .4rem 1rem; margin: 1rem 0; font-size: .93rem; }
.southmoon-quote dd { margin: 0; font-weight: 700; text-align: end; }
.southmoon-quote dl > :nth-last-child(-n+2) { padding-block-start: .55rem; border-block-start: 1px solid #c7dfe1; }
.southmoon-contact { display: flex; flex-wrap: wrap; align-items: center; gap: .6rem 1rem; }
.southmoon-contact .btn { text-align: center; }
.southmoon-facts { padding-block: clamp(1.8rem, 4vw, 3.35rem); background: #f1f7f7; }
.southmoon-facts-layout { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1.2rem, 3.5vw, 3.25rem); }
.southmoon-facts-layout h2 { font-size: clamp(1.35rem, 2.6vw, 1.85rem); }
.southmoon-facts-layout p { margin: .65rem 0 0; }
.southmoon-facts-layout ul { padding-inline-start: 1.15rem; margin: .6rem 0; }
.southmoon-facts-layout li + li { margin-block-start: .3rem; }
.southmoon-facts-layout .departure-stops { padding: 0; gap: .35rem; }
.southmoon-facts-layout .departure-stops li { margin-block-start: 0; }
.southmoon-facts-layout .text-link { text-decoration: underline; text-underline-offset: .13em; }
.southmoon-gallery { padding-block: clamp(2rem, 5vw, 4rem); }
.southmoon-gallery h2 { margin-block-end: 1.1rem; }
[dir="rtl"] .southmoon-page :is(h1,h2), .southmoon-page:lang(zh-Hans) :is(h1,h2) { letter-spacing: 0; }

@media (max-width: 790px) {
  .southmoon-hero-layout, .southmoon-booking-layout, .southmoon-facts-layout { grid-template-columns: minmax(0, 1fr); }
  .southmoon-facts-layout > div + div { border-block-start: 1px solid #d6e4e5; padding-block-start: 1rem; }
}
.week-content { padding-block: clamp(1.95rem, 5vw, 4.3rem); }
.week-content h2 { margin: 0 0 .65rem; font-size: clamp(1.6rem, 3.3vw, 2.75rem); }
.week-content p { margin: .7rem 0; color: #405e6a; line-height: 1.65; }
.week-route .departure-stops { margin: .75rem 0 1.15rem; padding: 0; list-style: none; border-inline-start: 1px solid #91c9c3; margin-inline-start: .35rem; }
.week-route .departure-stops li { position: relative; padding-block: .46rem; padding-inline-start: 1.25rem; font-weight: 650; }
.week-route .departure-stops li::before { content: ''; position: absolute; top: .88rem; inset-inline-start: -.31rem; background: #0a7781; width: .55rem; height: .55rem; border-radius: 50%; }
.week-details { display: grid; gap: 1.25rem; }
.week-details section { padding: clamp(1rem, 2vw, 1.6rem); background: #f0f7f6; border-radius: .45rem; }
.week-details .week-observation { border-inline-start: .24rem solid #17868d; }
.week-details h2 { font-size: clamp(1.35rem, 2.7vw, 1.75rem); }
.week-detail-links { display: flex; align-items: baseline; flex-wrap: wrap; gap: .4rem .85rem; }

@media (max-width: 970px) {
  .departure-book { flex-direction: column; align-items: flex-end; gap: .35rem; }
  .departure-rate { justify-content: flex-end; }
}
@media (max-width: 680px) {
  .departure-filters { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .departure-row, .week-hero-layout, .week-content-layout { grid-template-columns: minmax(0, 1fr); }
  .departure-row { gap: .45rem; }
  .departure-route h3 a { text-decoration: underline; text-decoration-color: #7eaaa8; text-underline-offset: .13em; }
  .departure-route h3 a > span[aria-hidden] { display: none; }
  .departure-when { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .2rem .5rem; }
  .departure-book { flex-direction: row; flex-wrap: wrap; align-items: center; }
  .departure-rate { justify-content: flex-start; }
  .departure-book .btn { margin-inline-start: auto; }
}
.quote-layout {
  display: grid;
  gap: clamp(.95rem, 2.5vw, 1.65rem);
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  align-items: start;
  margin-top: clamp(1.35rem, 3vw, 2.2rem);
}
.quote-layout[hidden], .quote-layout [hidden] { display: none; }
.quote-main {
  display: grid;
  gap: 1.4rem;
  min-width: 0;
  padding: clamp(1rem, 2.6vw, 2rem);
  background: #fff;
  border: 1px solid #d5e4e5;
  border-radius: .85rem;
}
.quote-inline-estimate { display: none; }
.quote-step {
  min-inline-size: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.quote-step legend, .quote-step summary {
  font-family: Manrope, sans-serif; font-weight: 750; font-size: 1.28rem; letter-spacing: -.025em; color: #092a39;
}
.quote-step legend { padding: 0; margin-bottom: .65rem; }
.quote-step summary { cursor: pointer; padding-block: .65rem; border-block: 1px solid #d5e4e5; }
.quote-step p { margin-block: .65rem; color: #355460; }
.quote-step .quote-example { font-weight: 700; color: #0d5360; }
.quote-class-reference { display: flex; align-items: baseline; flex-wrap: wrap; gap: .25rem .8rem; margin-block: .6rem .25rem; }
.quote-class-reference .quote-example { margin: 0; font-size: .92rem; line-height: 1.55; }
.quote-class-reference .text-link { font-size: .86rem; }
.quote-departure-details summary {
  font: inherit;
  font-size: .88rem;
  font-weight: 650;
  padding-block: .42rem;
  color: #355460;
  border: 0;
}
.quote-departure-details p { margin: .3rem 0; font-size: .9rem; line-height: 1.6; }
.quote-caption { font-size: .86rem; }
.quote-pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: .75rem; }
.quote-pair label { display: grid; align-content: start; gap: .42rem; font-weight: 650; min-width: 0; font-size: .88rem; }
.quote-pair small { color: #355460; font-weight: 500; }
.quote-pair small:empty { display: none; }
.quote-step select, .departure-filters select {
  color: #082633; border: 1px solid #adc8cb; border-radius: .35rem; padding: .56rem .65rem;
  min-height: 2.7rem; max-width: 100%; background: #fff; font: inherit;
}
.quote-pair select { width: 100%; min-width: 0; text-overflow: ellipsis; }
.quote-step select:disabled { opacity: .58; cursor: default; }
.quote-diver { margin-top: 1rem; border-top: 1px solid #d5e4e5; padding: .8rem 0 .2rem; }
.quote-diver h3 { margin: 0 0 .55rem; font-size: 1rem; }
.quote-diver label { display: grid; gap: .45rem; font-size: .88rem; font-weight: 650; }
.quote-diver select { width: 100%; }
.quote-proof { margin-top: .7rem; }
.quote-proof input { max-width: 100%; font-size: .85rem; }
.quote-diver .quote-caption:empty { display: none; }
.quote-requirements { margin-top: .75rem; border-top: 1px solid #d5e4e5; font-size: .84rem; }
.quote-payment-options { display: grid; gap: .65rem; }
.quote-payment-options label {
  display: grid; grid-template-columns: auto 1fr; gap: .5rem; padding: .7rem .8rem;
  align-items: start; border: 1px solid #d5e4e5; border-radius: .45rem; cursor: pointer;
}
.quote-payment-options label:has(:checked) { background: #e6f6f4; border-color: #8bbcc0; }
.quote-payment-options input { accent-color: #007981; margin-top: .3rem; }
.quote-payment-options small { display: block; color: #355460; }
#quote-payment .quote-policy-links { display: flex; flex-wrap: wrap; gap: .25rem 1rem; margin-top: .7rem; }
.quote-guest { margin-top: 1.6rem; }
.quote-guest h3 { margin-bottom: .45rem; }
.quote-step .quote-addon-heading { color: #006774; margin-top: .9rem; font-weight: 750; }
.quote-addon {
  display: grid; grid-template-columns: 1fr auto; gap: .5rem; align-items: center;
  padding: .48rem 0; border-top: 1px solid #e1eeee; font-size: .91rem;
}
.quote-addon small { display: block; color: #355460; }
.quote-addon select { min-width: 5.8rem; max-width: 8rem; }
.quote-summary {
  position: sticky;
  top: 1rem;
  color: #fff;
  background: #082633;
  border-radius: .85rem;
  overflow: hidden;
}
.quote-summary-copy { padding: clamp(1.1rem, 2.3vw, 1.8rem); }
.quote-summary-copy h3 { font-size: clamp(1.4rem, 2.6vw, 2rem); margin: 0 0 .45rem; }
.quote-summary p { color: #d0e6ea; }
#quote-trip { margin: 0; line-height: 1.5; }
.quote-summary dl { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .4rem .75rem; font-size: .88rem; }
.quote-summary dd { margin: 0; text-align: right; }
.quote-summary .quote-total { display: flex; justify-content: space-between; gap: .6rem; border-top: 1px solid #426470; padding-top: .9rem; }
.quote-payment-lines { color: #b6f2ec; }
.quote-payment-lines dd { font-weight: 750; }
.quote-total strong { color: #fff; white-space: nowrap; }
.quote-summary .quote-caveat { font-size: .81rem; margin: .5rem 0; }
.planned-contact { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem 1rem; margin-block-start: .75rem; }
.planned-contact .btn { text-align: center; }
.planned-contact .text-link { color: #b9e9e4; text-underline-offset: .15em; text-decoration: underline; }
.quote-marketing { display: flex; align-items: start; gap: .55rem; font-size: .84rem; margin: 1.1rem 0 .35rem; }
.quote-marketing input { margin-top: .2rem; accent-color: #91e5db; }
.quote-summary .btn { margin-top: .6rem; }
.quote-account-option {
  margin-block-start: 1rem;
  padding-block-start: .9rem;
  border-block-start: 1px solid #426470;
}
.quote-account-option p { margin: 0; font-size: .86rem; line-height: 1.5; }
.quote-account-option div { display: flex; flex-wrap: wrap; gap: .25rem 1rem; }
.quote-account-option a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #a2e7df;
  font-size: .88rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: .18em;
}
.quote-account-option a:hover { color: white; }

.quote-cart {
  box-sizing: border-box;
  inline-size: min(39rem, calc(100% - 1.5rem));
  max-block-size: calc(100dvh - 1.5rem);
  padding: clamp(1.1rem, 4vw, 2rem);
  border: 1px solid #c7dcde;
  border-radius: .9rem;
  color: #0b2c39;
  background: #fff;
  box-shadow: 0 1rem 3rem #00161c40;
}
.quote-cart::backdrop { background: #082633b8; }
.quote-cart h2 { font-size: clamp(1.75rem, 5vw, 2.4rem); margin: 0 0 .45rem; }
.quote-cart-trip { margin: 0 0 1rem; color: #355460; line-height: 1.5; }
.quote-cart dl {
  display: grid; grid-template-columns: 1fr auto; gap: .45rem .9rem;
  padding: .85rem; margin: 0; border-radius: .5rem; background: #eaf4f3;
}
.quote-cart dd { margin: 0; font-weight: 750; text-align: end; }
.quote-cart-note { margin-block: .9rem; color: #355460; }
.quote-cart label { display: grid; gap: .3rem; margin-block: .75rem; font-weight: 700; }
.quote-cart input {
  inline-size: 100%; box-sizing: border-box; min-block-size: 2.75rem;
  padding: .55rem .7rem; border: 1px solid #9bbec4; border-radius: .38rem; font: inherit; font-weight: 500;
}
.quote-cart-actions { display: flex; flex-wrap: wrap; gap: .5rem; justify-content: end; margin-block-start: 1.1rem; }
.quote-cart button[type="submit"] { background: #077b83; color: #fff; }
.quote-cart button:disabled { opacity: .65; cursor: wait; }
.quote-cart [role="alert"] { margin: .75rem 0 0; color: #902b1a; }

.booking-information, .route-guide, .route-photos, #trip-films, #onboard-safety, #liveaboard-questions,
.booking-services { padding-block: clamp(2.65rem, 5.5vw, 5.15rem); }
.booking-life-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(0, 1fr);
  grid-template-areas: 'film heading' 'film details';
  align-items: start;
  column-gap: clamp(1.5rem, 4.8vw, 4.5rem);
}
.booking-life-intro { grid-area: heading; }
.booking-life-intro h2 { margin: 0 0 .6rem; }
.booking-life-intro p { margin: 0 0 1.05rem; color: #355460; line-height: 1.6; }
.booking-life-copy { grid-area: details; }
.booking-life-media { grid-area: film; min-width: 0; }
.booking-life-media .trip-film-image img { aspect-ratio: 4 / 3; }
.quote-summary .trip-film-image img { aspect-ratio: 16 / 9; }
.quote-summary .trip-film-image { border-radius: 0; }
:is(.quote-summary, .booking-life-media) .trip-film-card a { position: relative; }
:is(.quote-summary, .booking-life-media) .trip-film-card a:focus-visible { outline-offset: -4px; }
:is(.quote-summary, .booking-life-media) .trip-film-card h3 {
  position: absolute;
  pointer-events: none;
  bottom: .98rem;
  left: 3.95rem;
  right: 3.35rem;
  margin: 0;
  color: #fff;
  font-size: clamp(1rem, 1.55vw, 1.32rem);
  letter-spacing: -.025em;
}
:is(.quote-summary, .booking-life-media) .trip-film-image::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(0deg, #031925e8, transparent 45%);
  pointer-events: none;
}
:is(.quote-summary, .booking-life-media) :is(.trip-film-play, .trip-film-duration, .trip-film-card h3) { z-index: 2; }
.booking-life-links { display: flex; flex-wrap: wrap; gap: .35rem 1.3rem; margin-top: .85rem; }
.trip-details-grid details { border-top: 1px solid #cadfde; }
.trip-details-grid details:last-child { border-bottom: 1px solid #cadfde; }
.trip-details-grid summary, .booking-archive > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .6rem;
  padding-block: .72rem;
  list-style: none;
  cursor: pointer;
  font-weight: 720;
}
:is(.trip-details-grid, .booking-archive) summary::-webkit-details-marker { display: none; }
.trip-details-grid summary::after, .booking-archive > summary::after {
  content: '+';
  color: #08737b;
  font-size: 1.25rem;
  line-height: 1.05;
}
.trip-details-grid details[open] > summary::after, .booking-archive[open] > summary::after { content: '−'; }
.trip-details-grid p, .trip-details-grid ul { margin: 0 0 .85rem; color: #355460; font-size: .96rem; line-height: 1.6; }
.trip-details-grid ul { padding-left: 1.2rem; }
.trip-details-grid li + li { margin-top: .25rem; }

.booking-archive-section { padding: .65rem 7%; border-block: 1px solid #cadfde; }
.booking-archive > summary { font-size: 1.08rem; }
.booking-archive > summary span { margin-left: auto; color: #486672; font-size: .8rem; font-weight: 500; }
.booking-archive .booking-grid { padding: .75rem 0 1rem; }
.booking-service-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(.75rem, 2vw, 1.35rem); }
.booking-service-card {
  position: relative;
  display: grid;
  align-items: end;
  overflow: hidden;
  border-radius: .7rem;
  min-height: 11.5rem;
  aspect-ratio: 1.45;
  color: #fff;
  background: #082633;
}
.booking-service-card img, .booking-service-card::before { position: absolute; inset: 0; height: 100%; }
.booking-service-card img { transition: transform .28s ease; }
.booking-service-card:hover img { transform: scale(1.04); }
.booking-service-card:focus-visible { outline-offset: 4px; }
.booking-service-card::before { content: ''; z-index: 1; background: linear-gradient(0deg, #031925ed, #03192500 76%); }
.booking-service-card > span {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: .8rem;
  padding: .85rem 1rem;
  font-family: Manrope, sans-serif;
  font-size: clamp(1.1rem, 2.2vw, 1.65rem);
  letter-spacing: -.025em;
  font-weight: 700;
  line-height: 1.2;
}
.booking-service-card > span span { color: var(--mint); }
.booking-service-panel:not(:target) { display: none; }
.booking-service-panel { margin-top: clamp(1.5rem, 3.6vw, 2.5rem); }
.booking-service-header { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: .45rem 1rem; margin-bottom: 1.15rem; }
.booking-service-header h3 { font-size: clamp(1.65rem, 3.5vw, 2.35rem); margin: 0; }
.booking-service-header p { color: #355460; margin: .35rem 0 0; max-width: 38rem; line-height: 1.6; }

.route-masthead {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.13fr);
  background: #082633;
  color: #fff;
}
.route-masthead-copy { align-self: center; padding: clamp(2rem, 5vw, 4.5rem) clamp(1.3rem, 5vw, 5rem); }
.route-masthead-copy h1 { font-size: clamp(2.45rem, 4.45vw, 5.15rem); margin: 0 0 .7rem; }
.route-masthead-copy p { max-width: 26rem; color: #d3e9ed; margin: 0 0 1.25rem; line-height: 1.65; }
.route-masthead-copy .text-link { display: inline-block; margin-top: .85rem; color: var(--mint); }
.route-masthead > img { min-height: 100%; height: 0; object-position: center; }
.route-guide-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(.9rem, 3vw, 1.6rem); }
.route-guide-card { background: #fff; border: 1px solid #d5e4e5; border-radius: .85rem; overflow: hidden; }
.route-guide-card img { aspect-ratio: 2.05; object-position: center 44%; }
.route-guide-copy { padding: clamp(1rem, 3vw, 1.7rem); }
.route-guide-copy h3 { margin: 0; font-size: clamp(1.65rem, 3vw, 2.55rem); }
.route-guide-copy p { margin: .45rem 0 .85rem; color: #355460; line-height: 1.6; }
.route-guide-copy ul { padding: 0; margin: 0; list-style: none; }
.route-guide-copy li { padding-block: .5rem; border-top: 1px solid #d5e4e5; font-size: .95rem; font-weight: 650; }
.route-guide-copy .actions { align-items: center; margin-top: 1rem; }
.route-detail-hero .route-breadcrumb { margin: 0 0 1rem; }
.route-detail-section { padding-block: clamp(2.65rem, 5.5vw, 5.15rem); }
.route-detail-section h2 { margin-top: 0; }
.route-highlight-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(1rem, 3vw, 2.2rem); }
.route-highlight-grid h3 { font-size: clamp(1.25rem, 2vw, 1.7rem); margin: 0 0 .6rem; }
.route-highlight-grid p { color: #355460; margin: 0; line-height: 1.65; }
.route-detail-stops { list-style: none; padding: 0; margin: 0; border-top: 1px solid #d5e4e5; }
.route-detail-stops li { padding-block: .75rem; border-bottom: 1px solid #d5e4e5; font-size: .97rem; }
.route-detail-links { display: grid; justify-items: start; gap: .75rem; }
#trip-films [data-film-title="Along the reef wall"] img { object-position: center 68%; }
.route-photo-grid, .route-deck-grid { display: grid; gap: clamp(.7rem, 2vw, 1.2rem); }
.route-photo-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.route-deck-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 1.4rem; }
:is(.route-photo-grid, .route-deck-grid) figure { margin: 0; }
:is(.route-photo-grid, .route-deck-grid) figcaption { margin-top: .4rem; color: #355460; font-size: .84rem; }
:is(.route-photo-grid, .route-deck-grid) img { aspect-ratio: 4 / 3; border-radius: .6rem; }
.route-deck-grid img { aspect-ratio: 2.15; }
.route-safety-layout { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 4fr); gap: clamp(1rem, 5vw, 5rem); }
.route-safety-layout h2, .route-questions h2 { margin: 0 0 .7rem; }
.route-safety-layout p { margin: 0; color: #355460; line-height: 1.65; }
.route-questions h2 { text-align: center; margin-bottom: 1.1rem; }
.route-questions .trip-details-grid details { padding: 0; }
.fleet-tour {
  display: grid;
  grid-template-columns: minmax(0, 3fr) repeat(2, minmax(0, 4fr));
  align-items: center;
  gap: clamp(1.1rem, 3vw, 2.5rem);
}
.fleet-tour h2 { margin: 0 0 .65rem; }
.fleet-tour p { margin: 0 0 .8rem; color: #355460; line-height: 1.6; }
.fleet-tour .trip-film-image img { aspect-ratio: 320 / 137; }

@media (max-width: 820px) {
  .quote-layout, .route-masthead { grid-template-columns: minmax(0, 1fr); }
  .fleet-tour { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fleet-tour > div:first-child { grid-column: 1 / -1; }
  .quote-summary { position: static; }
  .quote-inline-estimate:not([hidden]) {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: baseline;
    gap: .25rem .65rem;
    border: 1px solid #cadfde;
    border-radius: .5rem;
    margin-top: .8rem;
    padding: .85rem;
    background: #eef6f5;
  }
  .quote-inline-estimate .text-link { justify-self: start; grid-column: 1 / -1; }
  .quote-inline-estimate strong { white-space: nowrap; }
  .route-masthead-copy { text-align: center; }
  .route-masthead-copy p { margin-inline: auto; }
  .route-masthead-copy .actions { justify-content: center; }
  .route-masthead > img { height: auto; min-height: 0; aspect-ratio: 2; }
  .route-photo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .booking-life-layout {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas: 'heading' 'film' 'details';
    row-gap: .9rem;
  }
  .booking-life-intro p { margin-bottom: 0; }
  .booking-life-media .trip-film-image img { aspect-ratio: 16 / 9; }
}

@media (max-width: 570px) {
  .fleet-tour { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 580px) {
  .liveaboard-booking-hero { min-height: 20rem; }
  .liveaboard-hero-media { object-position: 54% center; }
  .booking-trust { grid-template-columns: minmax(0, 1fr); gap: .45rem; padding-bottom: .75rem; }
  .booking-trust > div + div { border: 0; }
  .quote-pair, .route-guide-grid, .route-safety-layout, .booking-service-grid, .route-highlight-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .booking-service-card { width: 100%; aspect-ratio: 1.95; min-height: 9.75rem; }
  .route-deck-grid img { aspect-ratio: 4 / 3; }
}
@media (prefers-reduced-motion: reduce) {
  .booking-service-card img { transition: none; }
}
