/* Refinement layer, Dec 2026 (design-taste place rules):
   photographs square-cornered, hairline rules instead of rounded cards,
   no icon tiles or pill tags, one ground with the sand band used sparingly.
   Loaded after site.css and page.css on every page. */

[hidden] { display: none !important }

/* --- photographs: square corners, one grade, zoom inside the frame on hover --- */
.cc, .cc-photo, .map, .story-photo,
.trio a, .rate-table tbody th img, .opt img, .field-row img { border-radius: 0 }
.cc-photo img, .trio img, .story-photo img { transition: transform 1.1s var(--ease) }

/* --- fleet: one hairline box, no shadow lift on a box this big, no pill tags --- */
.cc { box-shadow: none; border-color: var(--line) }
.cc + .cc { margin-top: -1px }
.cc:hover { box-shadow: none; border-color: var(--ink-3) }
.cc.is-picked { box-shadow: inset 0 0 0 1px var(--ink) }
.cc-specs { margin-top: auto; padding-top: 18px }
.cc-specs li { font-weight: 500; color: var(--ink-2) }

/* --- rates: a ruled table on the ground, the inclusions as a ruled list beside it --- */
.table-card { background: none; border-radius: 0; padding: 0; border-top: 1.5px solid var(--ink) }
.rate-table thead th { padding-top: 16px }
.rate-table tbody th em { border-radius: 0 }
.table-note { padding-top: 18px }
.incl { background: none; color: var(--ink); border-radius: 0; padding: 0; border-top: 1.5px solid var(--ink) }
.incl h3 { font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink-3); padding: 16px 0 6px }
.incl ul { margin: 0 }
.incl li { padding: 14px 0; border-top: 0; border-bottom: 1px solid var(--line); color: var(--ink); font-size: 17px; line-height: 1.45 }
.incl li::before { content: none }

/* --- section heads: the h2 stands alone, the intro reads under it --- */
.sec-head { align-items: end }
.sec-head h2, .story-text h2, .gal-head h2 { text-wrap: balance }

/* --- gallery: the offset trio (4:5, 1:1, 4:3), tops on one line, each a link --- */
.gal-head { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; margin-bottom: clamp(32px, 4vw, 56px) }
.trio { display: grid; grid-template-columns: 5fr 4fr 3fr; gap: 24px; align-items: start }
.trio a { display: block; overflow: hidden; background: var(--sand) }
.trio-a { aspect-ratio: 4 / 5 }
.trio-b { aspect-ratio: 1 / 1 }
.trio-c { aspect-ratio: 4 / 3 }
.trio picture, .trio img { display: block; width: 100%; height: 100% }
.trio img { object-fit: cover }
.trio a:hover img, .story-photo:hover img { transform: scale(1.03) }
.gallery-sec { padding: var(--sec) 0 }

/* --- about: a story row, tall photograph left, ruled promises right --- */
.story { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 96px); align-items: start }
.story-photo { margin: 0; overflow: hidden; aspect-ratio: 4 / 5; background: var(--sand) }
.story-photo picture, .story-photo img { display: block; width: 100%; height: 100%; object-fit: cover }
.story-text .sec-intro { margin-top: 16px }
.rows { margin: 36px 0 0; border-top: 1.5px solid var(--ink) }
.rows > div { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); gap: 8px 32px; padding: 22px 0; border-bottom: 1px solid var(--line) }
.rows dt { font-family: var(--display); font-weight: 700; font-size: 20px; line-height: 1.25; letter-spacing: -.01em }
.rows dd { margin: 0; color: var(--ink-2); font-size: 16px; line-height: 1.6 }

/* --- contact and guide lists: plain ruled rows, no icon tiles --- */
.plain-rows { list-style: none; margin: 28px 0 0; padding: 0; border-top: 1.5px solid var(--ink) }
.plain-rows li { padding: 16px 0; border-bottom: 1px solid rgba(10, 43, 51, .14); font-size: 17px; line-height: 1.5 }
.plain-rows a { font-weight: 600; text-underline-offset: 4px }

/* --- gallery second row: the detail strip, four 1:1 frames line to line --- */
.strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin: 24px 0 0 }
.strip figure { margin: 0; aspect-ratio: 1 / 1; overflow: hidden; background: var(--sand) }
.strip picture, .strip img { display: block; width: 100%; height: 100%; object-fit: cover }

/* --- phone hero: the owner's driving clip in the photo's frame --- */
.hero-video { display: none }
@media (max-width: 760px) {
  .hero-video.is-on { display: block; position: absolute; top: 0; left: 0; width: 100%; aspect-ratio: 4 / 3; height: auto; object-fit: cover; z-index: 0 }
  .hero { position: relative }
}

@media (max-width: 900px) {
  .story { grid-template-columns: minmax(0, 1fr) }
  .story-text { order: -1 }
  .story-photo { aspect-ratio: 4 / 3 }
  .rows > div { grid-template-columns: minmax(0, 1fr); gap: 6px }
}
@media (max-width: 720px) {
  .trio { grid-template-columns: 1fr 1fr; gap: 12px }
  .trio-a { grid-column: 1 / -1; aspect-ratio: 4 / 3 }
  .trio-b, .trio-c { aspect-ratio: 1 / 1 }
  .gal-head { flex-direction: column; gap: 8px }
  .strip { grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 12px }
  .cc + .cc { margin-top: 12px }
}
@media (prefers-reduced-motion: reduce) {
  .trio a:hover img, .story-photo:hover img, .cc:hover .cc-photo img { transform: none }
}

/* =====================================================================
   Floating header, phone hero with the booker on the first screen,
   and the slim booking bar that takes over once the booker scrolls away.
   ===================================================================== */

/* --- floating header: a rounded bar inset from the edges, on every page --- */
.head { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; border-bottom: 0; padding: 10px max(12px, 1.5vw) 0; pointer-events: none }
.head .head-row { pointer-events: auto; max-width: 1240px; margin: 0 auto; min-height: 64px; padding: 0 10px 0 14px; background: rgba(255, 255, 255, .86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border: 1px solid rgba(10, 43, 51, .08); border-radius: 18px; box-shadow: 0 1px 2px rgba(10, 43, 51, .04), 0 8px 24px -16px rgba(10, 43, 51, .25); transition: box-shadow .3s var(--ease), background-color .3s }
.head.is-stuck .head-row { min-height: 60px; background: rgba(255, 255, 255, .94); box-shadow: 0 1px 2px rgba(10, 43, 51, .06), 0 16px 36px -18px rgba(10, 43, 51, .35) }
.head.is-open { background: transparent }
.head.is-open .head-row { background: #fff }
@media (max-width: 1080px) {
  .head.is-open .nav { top: calc(100% + 8px); left: max(12px, 1.5vw); right: max(12px, 1.5vw); border: 1px solid var(--line); border-radius: 18px; pointer-events: auto }
}
.hero { margin-top: 12px }

/* --- phone hero: headline over the clip, booker starts on the first screen --- */
@media (max-width: 760px) {
  .head { padding: 8px 10px 0 }
  .head .head-row { min-height: 58px; padding: 0 8px 0 10px; border-radius: 16px }
  .hero { position: relative; display: flex; align-items: flex-end; height: 54svh; min-height: 400px; max-height: 540px; width: auto; margin: 10px 10px 0; border-radius: 22px; overflow: hidden }
  .hero picture { position: absolute; inset: 0; aspect-ratio: auto }
  .hero .hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-position: 55% 40% }
  .hero-video.is-on { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: auto; object-fit: cover; z-index: 0 }
  .hero::after { display: block; z-index: 1; background: linear-gradient(180deg, rgba(4, 30, 36, .05) 25%, rgba(4, 30, 36, .82) 100%) }
  .hero-copy { position: relative; z-index: 2; background: none; padding: 0 20px 70px }
  .hero h1 { font-size: clamp(32px, 9.4vw, 42px); max-width: 11ch; text-shadow: 0 1px 14px rgba(0, 0, 0, .25) }
  .hero-copy p { margin-top: 10px; font-size: 15px; line-height: 1.5; color: rgba(255, 255, 255, .9); text-shadow: 0 1px 10px rgba(0, 0, 0, .3) }
  .booker-wrap { margin-top: -50px; padding-inline: 18px }
  .booker { box-shadow: 0 1px 2px rgba(10, 43, 51, .06), 0 24px 48px -20px rgba(10, 43, 51, .45) }
}

/* --- slim booking bar: fades in once the booker has scrolled away --- */
.minibook { position: fixed; z-index: 45; left: 50%; display: flex; align-items: center; gap: 14px; width: min(720px, calc(100% - 24px)); padding: 8px 8px 8px 18px; background: rgba(255, 255, 255, .94); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border: 1px solid rgba(10, 43, 51, .08); border-radius: 18px; box-shadow: 0 1px 2px rgba(10, 43, 51, .06), 0 18px 40px -18px rgba(10, 43, 51, .4); opacity: 0; visibility: hidden; transform: translate(-50%, -8px); transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s linear .3s }
.minibook { top: 84px }
.minibook.is-on { opacity: 1; visibility: visible; transform: translate(-50%, 0); transition-delay: 0s }
.minibook-sum { flex: 1; min-width: 0; display: flex; flex-direction: column; line-height: 1.25; text-align: left; background: none; border: 0; padding: 0; cursor: pointer; color: var(--ink); font: inherit }
.minibook-sum b { font-weight: 700; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis }
.minibook-sum span { font-size: 13px; color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis }
.minibook-price { font-weight: 800; font-size: 18px; font-variant-numeric: tabular-nums; white-space: nowrap }
.minibook .btn-book { flex: none; height: 46px; padding: 0 20px; border: 0; border-radius: 13px; background: var(--red); color: #fff; font: 700 15px/1 var(--body, inherit); cursor: pointer; transition: background-color .2s, transform .15s }
.minibook .btn-book:hover { background: var(--red-d) }
.minibook .btn-book:active { transform: scale(.97) }
@media (max-width: 760px) {
  .minibook { top: auto; bottom: calc(10px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 12px); padding-left: 14px }
  .minibook.is-on { transform: translate(-50%, 0) }
}
@media (prefers-reduced-motion: reduce) { .minibook { transition: none; transform: translate(-50%, 0) } }

/* =====================================================================
   Inner pages, Kiwi-style: a soft lagoon band with a faint pixel grid,
   a floating "Book a golf cart" card, and photo-top cart cards with prices.
   ===================================================================== */
:root { --tint: #dff1f1; --tint-2: #c6e6e6 }
.page-hero:not(.page-hero-photo) { position: relative; isolation: isolate; background: var(--tint); padding-bottom: clamp(72px, 8vw, 120px) }
.page-hero:not(.page-hero-photo)::before {
  content: ""; position: absolute; inset: 0 0 0 52%; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(var(--tint-2) 0 0), linear-gradient(var(--tint-2) 0 0), linear-gradient(var(--tint-2) 0 0),
    linear-gradient(var(--tint-2) 0 0), linear-gradient(var(--tint-2) 0 0), linear-gradient(var(--tint-2) 0 0);
  background-size: 28px 28px; background-repeat: no-repeat;
  background-position: 18% 22%, 42% 8%, 66% 30%, 84% 14%, 74% 62%, 92% 46%;
  opacity: .9
}
.page-hero:not(.page-hero-photo) .map { box-shadow: 0 30px 60px -36px rgba(10, 43, 51, .45) }

/* the floating booking card */
.qb-band { position: relative; z-index: 5; margin-top: clamp(-64px, -6vw, -44px); margin-bottom: clamp(8px, 2vw, 24px) }
.qb { background: #fff; border-radius: 18px; padding: 18px 20px 14px; box-shadow: 0 1px 2px rgba(10, 43, 51, .06), 0 24px 48px -24px rgba(10, 43, 51, .35); border: 1px solid rgba(10, 43, 51, .06) }
.qb-title { margin: 0 0 12px; font-weight: 700; font-size: 17px }
.qb-fields { display: grid; grid-template-columns: 1.3fr 1fr 1fr auto; gap: 10px; align-items: end }
.qb-f { display: grid; gap: 4px; min-width: 0 }
.qb-f span { font-size: 12.5px; font-weight: 600; color: var(--ink-2) }
.qb-f select, .qb-f input { width: 100%; min-width: 0; height: 48px; padding: 0 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff; color: var(--ink); font: 600 15px/1 inherit; font-family: inherit; appearance: none; -webkit-appearance: none }
.qb-f select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' fill='none' stroke='%230a2b33' stroke-width='1.6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 12px center; padding-right: 32px }
.qb-f select:focus, .qb-f input:focus { outline: 2px solid var(--teal); outline-offset: 1px; border-color: transparent }
.qb-go { height: 48px; padding: 0 22px; border: 0; border-radius: 12px; background: var(--red); color: #fff; font: 700 15px/1 inherit; font-family: inherit; cursor: pointer; white-space: nowrap; transition: background-color .2s, transform .15s }
.qb-go:hover { background: var(--red-d) }
.qb-go:active { transform: scale(.97) }
.qb-note { margin: 10px 0 0; font-size: 13px; color: var(--ink-2) }

/* cart cards with prices */
.deals { padding-block: clamp(56px, 7vw, 96px) }
.deals-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 24px }
.deals-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px }
.deal { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; text-decoration: none; color: var(--ink); transition: transform .25s var(--ease), box-shadow .25s var(--ease) }
.deal:hover { transform: translateY(-2px); box-shadow: 0 22px 40px -26px rgba(10, 43, 51, .4) }
.deal-img { display: block; aspect-ratio: 4 / 3; overflow: hidden; background: var(--sand) }
.deal-img picture, .deal-img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease) }
.deal:hover .deal-img img { transform: scale(1.03) }
.deal-body { display: flex; flex-direction: column; gap: 2px; padding: 14px 16px 16px; flex: 1 }
.deal-name { font-size: 17px }
.deal-sub { font-size: 14px; color: var(--ink-2) }
.deal-foot { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 14px }
.deal-tag { font-size: 12.5px; font-weight: 600; color: var(--teal); background: var(--tint); padding: 4px 9px; border-radius: 999px }
.deal-price { font-size: 22px; font-weight: 800; letter-spacing: -.02em; font-variant-numeric: tabular-nums }
.deal-price small { font-size: 12.5px; font-weight: 500; color: var(--ink-2); letter-spacing: 0 }

@media (max-width: 900px) {
  .qb-fields { grid-template-columns: 1fr 1fr }
  .qb-f:first-child { grid-column: 1 / -1 }
  .qb-go { grid-column: 1 / -1 }
}
@media (max-width: 760px) {
  .page-hero:not(.page-hero-photo)::before { inset: 0 0 auto 40%; height: 180px }
  .qb { padding: 16px 14px 12px; border-radius: 16px }
  .deals-row { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin-inline: calc(-1 * max(24px, 4vw)); padding-inline: max(24px, 4vw); padding-bottom: 6px; scrollbar-width: none }
  .deals-row::-webkit-scrollbar { display: none }
  .deal { flex: 0 0 78%; scroll-snap-align: start }
}
@media (prefers-reduced-motion: reduce) { .deal, .deal-img img { transition: none } .deal:hover { transform: none } }

/* ---- Type: Schibsted Grotesk (Dec 2026) ---- */
h1, h2, h3 { font-weight: 800; letter-spacing: -.035em }
.hero h1 { font-weight: 900; font-size: clamp(56px, 7.4vw, 116px); letter-spacing: -.05em; line-height: .92; max-width: 9ch }
.hero-copy .hero-sub { margin-top: 18px; font-size: clamp(16px, 1.3vw, 19px); font-weight: 500; color: rgba(255, 255, 255, .92) }
.hero-sub b { color: var(--aqua); font-weight: 800 }
@media (max-width: 760px) {
  .hero h1 { font-size: clamp(52px, 15.6vw, 66px); max-width: 7ch; line-height: .93 }
  .hero-copy .hero-sub { margin-top: 12px; font-size: 15px }
}

/* Booker tabs (Klook pattern): day / month, sitting on the hero */
.booker-tabs { position: relative; z-index: 51; display: flex; gap: 6px; max-width: 1100px; margin: 0 auto; align-items: flex-end }
.booker-tabs button { display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 18px; border: 0; border-radius: 16px 16px 0 0; background: rgba(255, 255, 255, .2); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); color: #fff; font: 600 15px/1 var(--display); letter-spacing: -.01em; cursor: pointer; transition: background .2s }
.booker-tabs button:hover { background: rgba(255, 255, 255, .3) }
.booker-tabs button[aria-selected="true"] { height: 48px; background: var(--white); color: var(--ink) }
.booker-tabs svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round }
.booker-tabs button[aria-selected="true"] svg { color: var(--teal) }
.booker-tabs button:focus-visible { outline: 2px solid var(--aqua); outline-offset: 2px }
.booker-wrap.has-tabs { margin-top: -100px }
.booker-wrap.has-tabs .booker { border-top-left-radius: 0 }
@media (max-width: 760px) {
  .booker-wrap.has-tabs { margin-top: -96px }
  .booker-tabs button { height: 42px; padding: 0 15px; font-size: 14px }
  .booker-tabs button[aria-selected="true"] { height: 46px }
}
@media (max-width: 760px) { .hero-copy { padding-bottom: 122px } }

/* Home: San Pedro guide strip (Viator big photo cards) */
.guide-strip .gs-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: 28px }
.guide-strip .kick { margin: 0 0 8px; font-size: 15px; font-weight: 600; color: var(--teal) }
.guide-strip .text-link { margin: 0 0 6px; color: var(--teal); white-space: nowrap }
.gcards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px }
.gcard { position: relative; display: block; aspect-ratio: 3 / 4; border-radius: 22px; overflow: hidden; color: #fff; text-decoration: none; background: var(--deep, #073c47); isolation: isolate }
.gcard picture, .gcard img { position: absolute; inset: 0; width: 100%; height: 100% }
.gcard img { object-fit: cover; transition: transform 1.2s var(--ease) }
.gcard::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(4, 30, 36, 0) 45%, rgba(4, 30, 36, .88) 100%); z-index: 1 }
.gcard:hover img { transform: scale(1.04) }
.gcard-txt { position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 2; display: grid; gap: 4px }
.gcard-txt strong { font-size: clamp(22px, 2vw, 28px); font-weight: 800; letter-spacing: -.03em; line-height: 1.05 }
.gcard-txt span { font-size: 14px; color: rgba(255, 255, 255, .88) }
.gcard:focus-visible { outline: 3px solid var(--teal); outline-offset: 3px }
@media (max-width: 900px) {
  .gcards { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 20px; margin-inline: -20px; padding: 0 20px 6px; scrollbar-width: none }
  .gcards::-webkit-scrollbar { display: none }
  .gcards li { flex: 0 0 min(62vw, 240px); scroll-snap-align: start }
  .guide-strip .gs-head { margin-bottom: 20px }
}

/* Home: fleet cards on phones (Viator product card) */
@media (max-width: 760px) {
  .fleet-list .cc { border: 0; border-radius: 0; background: none; overflow: visible; box-shadow: none }
  .fleet-list .cc:hover { box-shadow: none }
  .fleet-list .cc-photo { border-radius: 20px; aspect-ratio: 4 / 3 }
  .fleet-list .cc-main { padding: 14px 2px 0 }
  .fleet-list .cc-sub { font-size: 15px }
  .fleet-list .cc-specs { margin-top: 12px; gap: 6px 16px }
  .fleet-list .cc-specs li { font-size: 14px; font-weight: 500; color: var(--ink-2) }
  .fleet-list .cc-price { flex-wrap: nowrap; align-items: center; gap: 6px; padding: 14px 2px 0 }
  .fleet-list .cc-price span { width: auto; font-size: 14px; font-weight: 500; color: var(--ink-2) }
  .fleet-list .cc-price strong { font-size: 24px }
  .fleet-list .cc-price small { font-size: 14px; color: var(--ink-3) }
  .fleet-list .cc-price .btn { width: auto; margin: 0 0 0 auto; padding-inline: 22px }
  .fleet-list .cc.is-picked { box-shadow: none }
  .fleet-list .cc.is-picked .cc-photo { outline: 3px solid var(--teal); outline-offset: 3px }
}
