/* Aqua Blue Experience. Brand pass (2026-11-25): colors and type taken from their logo (aqua -> navy turtle, bold geometric sans).
   Keeps direction A's layout: the old Guánica chart as the hero (now in its natural paper tones), the offerings set as a "carta".
   Phone first, then 600px and 961px. Contrast checked: navy on aqua 4.7:1, blue on white 5.5:1, mute on ice 6.3:1. */
:root {
  color-scheme: light;
  --navy: #0b2b5c;   /* logo navy ("Blue", "EXPERIENCE") */
  --aqua: #12a3cc;   /* logo aqua; fills and accents, never small text on white */
  --blue: #00709f;   /* aqua darkened for links/text on light backgrounds */
  --ice: #eaf6fa;
  --paper: #f7fbfc;
  --text: #0f2240;
  --mute: #4a5b70;
  --on-deep: #cfe3ee;
  --confirm: #c0503a;
  --gut: 24px;
}
/* Self-hosted font (SIL OFL, see assets/fonts/LICENSES.md). One variable file covers every weight. */
@font-face { font-family: Jost; font-style: normal; font-weight: 100 900; font-display: swap; src: url(fonts/jost.woff2) format("woff2"); }
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--text); font: 400 17px/1.6 Jost, system-ui, sans-serif; }
a { color: inherit; }
p { margin-top: 0; }
img { max-width: 100%; height: auto; }
:focus-visible { outline: 2px solid var(--aqua); outline-offset: 3px; }
.c { text-decoration: underline dotted var(--confirm) 1.5px; text-underline-offset: 4px; }
.caps { font: 600 12px/1.5 Jost, system-ui, sans-serif; letter-spacing: .24em; text-transform: uppercase; }
.preview { margin: 0; padding: 6px var(--gut); background: #000; color: #bfe9f5; font-size: 12px; text-align: center; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 10; padding: 12px 18px; background: var(--aqua); color: var(--navy); font-weight: 600; text-decoration: none; }
.skip:focus { top: 12px; }
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }

/* Hero: the old chart in its own paper tones, faint, behind the real logo */
.hero { position: relative; min-height: calc(100svh - 30px); overflow: hidden; display: flex; flex-direction: column; justify-content: space-between; gap: 40px; padding: 28px 28px 40px; background: #f3f8f8; color: var(--navy); }
.chart { position: absolute; left: 50%; top: 50%; height: 120%; width: auto; min-width: 130%; max-width: none; transform: translate(-50%, -50%); mix-blend-mode: multiply; opacity: .32; pointer-events: none; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(243, 248, 248, .92) 0, rgba(243, 248, 248, .92) 170px, rgba(243, 248, 248, 0) 300px), linear-gradient(180deg, rgba(243, 248, 248, 0) 35%, rgba(243, 248, 248, .9) 100%); pointer-events: none; }
.frame { position: absolute; inset: 12px; border: 1px solid rgba(18, 163, 204, .55); pointer-events: none; z-index: 1; }
.mark { position: absolute; left: 62%; top: 40%; width: 12px; height: 12px; background: var(--aqua); transform: rotate(45deg); z-index: 1; }
.mark span { position: absolute; left: 16px; top: -4px; transform: rotate(-45deg); transform-origin: 0 0; font: 600 13px Jost, sans-serif; letter-spacing: .14em; text-transform: uppercase; color: var(--navy); white-space: nowrap; }
.top, .txt { position: relative; z-index: 2; }
.top { display: flex; justify-content: space-between; align-items: flex-start; }
.logo { font: 700 19px/1.1 Jost, system-ui, sans-serif; text-decoration: none; }
.logo img { display: block; width: 150px; }
/* Soft glow in the hero color so chart lines never cut through the logo */
.top .logo { margin: -18px -26px; padding: 18px 26px; background: radial-gradient(closest-side, #f3f8f8 72%, rgba(243, 248, 248, 0)); }
.lang { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; text-decoration: none; font-weight: 600; }
.where { color: var(--blue); margin-bottom: 12px; }
.hero h1 { font: 700 clamp(40px, 11vw, 84px)/1.02 Jost, system-ui, sans-serif; letter-spacing: -.02em; margin: 0 0 16px; max-width: 12em; }
.lead { max-width: 420px; color: var(--mute); margin: 0 0 26px; font-size: 18px; }
.txt { max-width: 760px; }

/* Buttons: navy on aqua (4.7:1) */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 28px; border: 2px solid var(--aqua); border-radius: 999px; background: transparent; color: inherit; text-decoration: none; font: 600 13px Jost, system-ui, sans-serif; letter-spacing: .16em; text-transform: uppercase; cursor: pointer; }
.btn--fill { background: var(--aqua); color: var(--navy); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* "La carta": the offerings */
.carta { padding: 72px var(--gut) 64px; text-align: center; background: #fff; }
.carta .caps, .place .caps { color: var(--blue); }
h2 { font: 700 clamp(32px, 8vw, 46px)/1.1 Jost, system-ui, sans-serif; letter-spacing: -.015em; margin: 8px 0 26px; color: var(--navy); }
.orn { display: block; width: 44px; height: 3px; border-radius: 2px; background: var(--aqua); margin: 0 auto; }
.carta dl { max-width: 480px; margin: 0 auto; }
.carta dt { font: 600 22px/1.25 Jost, system-ui, sans-serif; color: var(--navy); margin-top: 30px; }
.carta dd { margin: 6px 0 0; color: var(--mute); }
.carta-note { margin: 40px auto 0; padding: 14px 18px; max-width: 480px; border-radius: 12px; background: var(--ice); color: var(--navy); font-weight: 500; font-size: 15px; }

/* Photo band (shared by the team; not captioned as Guánica) */
.fotos { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; background: #fff; padding: 0 6px 6px; }
.fotos img { display: block; width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 5; }
.fotos .wide { grid-column: 1 / -1; aspect-ratio: 16 / 10; }
.fotos .fam { grid-column: 1 / -1; aspect-ratio: 1 / 1; object-position: 45% 40%; }

.place { background: var(--ice); padding: 64px var(--gut); text-align: center; }
.place p { max-width: 520px; margin: 0 auto 10px; }
.place .caps { margin-bottom: 16px; }
.place a { color: var(--blue); font-weight: 500; text-underline-offset: 4px; }

/* Reservations: logo navy */
.res { background: var(--navy); color: #fff; padding: 72px var(--gut) 68px; text-align: center; }
.res .caps { color: var(--aqua); }
.res h2 { margin-bottom: 14px; color: #fff; }
.res-p { max-width: 440px; margin: 0 auto; color: var(--on-deep); }
.res-mail { margin: 6px 0 22px; }
.res-mail a, .res-note a { color: #fff; text-decoration-color: var(--aqua); text-underline-offset: 4px; }
.res-note { max-width: 440px; margin: 20px auto 0; color: var(--on-deep); font-size: 15px; }
.tel { display: inline-block; margin: 26px 0 14px; font: 600 34px Jost, system-ui, sans-serif; letter-spacing: .01em; text-decoration: none; border-bottom: 3px solid var(--aqua); }
.res .btn:not(.btn--fill) { color: #fff; }
.res form { max-width: 440px; margin: 46px auto 0; padding-top: 38px; border-top: 1px solid rgba(207, 227, 238, .3); text-align: left; }
.field { display: block; font: 600 12px Jost, sans-serif; letter-spacing: .16em; text-transform: uppercase; color: var(--on-deep); margin-bottom: 18px; }
.field input, .field textarea { display: block; width: 100%; margin-top: 8px; font: 400 17px/1.4 Jost, system-ui, sans-serif; letter-spacing: 0; text-transform: none; color: #fff; background: rgba(255, 255, 255, .06); border: 1px solid rgba(207, 227, 238, .4); border-radius: 10px; padding: 12px 14px; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--aqua); }
.res form .btn { width: 100%; margin-top: 6px; }
.fine { font-size: 13px; color: var(--on-deep); margin: 14px 0 0; }
.hp { position: absolute; left: -9999px; }

.foot { padding: 22px var(--gut) 28px; font-size: 13px; color: var(--mute); text-align: center; background: #fff; }
.foot p { margin: 0 0 6px; }
.foot a { text-decoration-color: rgba(15, 34, 64, .3); }
.foot-links { display: flex; justify-content: center; gap: 8px 20px; flex-wrap: wrap; }
.foot-links a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; }

/* Thank-you pages and 404: the hero, full screen, with the message */
.hero--done { min-height: 100svh; justify-content: flex-start; }
.hero--done .txt { margin-top: auto; }
.hero--done .mark { display: none; }
.hero--done .lead { max-width: 520px; }
.asks { margin: 0 0 18px; padding-left: 22px; color: var(--mute); max-width: 520px; }
.asks li { margin-bottom: 6px; padding-left: 4px; }
.asks li::marker { color: var(--blue); }

@media (min-width: 600px) {
  :root { --gut: 40px; }
  .hero { padding: 36px 48px 56px; }
  .logo img { width: 190px; }
  .fotos { grid-template-columns: 1fr 1fr; }
  .fotos img, .fotos .wide, .fotos .fam { grid-column: auto; aspect-ratio: auto; height: 320px; }
}
@media (min-width: 961px) {
  :root { --gut: 64px; }
  .hero { padding: 44px 72px 72px; }
  .logo img { width: 230px; }
  .mark { left: 58%; top: 36%; }
  .fotos { grid-template-columns: 1.9fr 1.6fr 1fr 1fr; }
  .fotos img, .fotos .wide, .fotos .fam { height: 440px; }
  .fotos .wide { object-position: 35% 50%; }
}

/* Privacy / cancellation / accessibility pages */
.doc-top { display: flex; justify-content: space-between; align-items: center; padding: 6px var(--gut); background: var(--navy); color: #fff; }
.doc-top a { display: inline-flex; align-items: center; min-height: 44px; }
.doc { max-width: 680px; margin: 0 auto; padding: 48px var(--gut) 56px; }
.doc h1 { font: 700 clamp(34px, 9vw, 54px)/1.08 Jost, system-ui, sans-serif; letter-spacing: -.015em; color: var(--navy); margin: 0 0 8px; }
.doc .updated { color: var(--mute); font-size: 14px; margin-bottom: 32px; }
.doc h2 { font-size: 24px; margin: 36px 0 10px; }
.doc ul { padding-left: 20px; }
.doc li { margin-bottom: 8px; }
.doc a:not(.btn) { color: var(--blue); }
.doc .btn { margin-top: 24px; }

/* Survey for Jesús (/encuesta/) */
.page-survey { background: #fff; }
.survey { max-width: 640px; margin: 0 auto; padding: 28px var(--gut) 56px; }
.survey .soon { color: var(--blue); font: 600 12px Jost, sans-serif; letter-spacing: .24em; text-transform: uppercase; }
.survey h1 { font: 700 clamp(32px, 9vw, 50px)/1.08 Jost, system-ui, sans-serif; color: var(--navy); margin: 0 0 14px; }
.survey .lead { color: var(--text); max-width: none; margin-bottom: 28px; }
.survey fieldset { border: 0; border-top: 1px solid var(--navy); margin: 0 0 8px; padding: 18px 0 14px; }
.survey legend { float: left; width: 100%; padding: 0; margin-bottom: 12px; font: 600 20px/1.3 Jost, system-ui, sans-serif; }
.survey legend + * { clear: both; }
.survey legend .n { display: inline-grid; place-items: center; width: 30px; height: 30px; margin-right: 6px; border-radius: 50%; background: var(--aqua); color: var(--navy); font: 700 14px Jost, sans-serif; vertical-align: 2px; }
.opt { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 10px 14px; margin-bottom: 8px; border: 1px solid #d3e3ea; border-radius: 10px; background: var(--paper); cursor: pointer; }
.opt:has(input:checked) { border-color: var(--navy); background: var(--ice); }
.opt input { width: 22px; height: 22px; margin: 0; flex: none; accent-color: var(--navy); }
.other { display: block; margin-top: 6px; font-size: 14px; color: var(--mute); }
.other input, .survey textarea { display: block; width: 100%; margin-top: 4px; font: inherit; color: var(--navy); padding: 12px; border: 1px solid #d3e3ea; border-radius: 10px; }
.other input:focus, .survey textarea:focus { border-color: var(--navy); outline: none; }
.survey button.btn { margin-top: 12px; width: 100%; background: var(--navy); border-color: var(--navy); color: #fff; }
.survey .fine { color: var(--mute); }

/* Keep phone numbers on one line */
a[href^="tel:"] { white-space: nowrap; }

/* Carta items link to their own pages */
.carta dt a { text-decoration: underline; text-decoration-color: var(--aqua); text-decoration-thickness: 2px; text-underline-offset: 6px; }
.carta dt a::after { content: " →"; color: var(--blue); }

/* Offering pages + questions page */
.op-top { display: flex; justify-content: space-between; align-items: center; padding: 12px var(--gut); background: #fff; border-bottom: 1px solid #dcebf1; }
.op-top .logo img { width: 112px; }
.op-hero { display: grid; background: #fff; }
.op-txt { padding: 40px var(--gut) 32px; }
.op-txt h1 { font: 700 clamp(38px, 10vw, 64px)/1.04 Jost, system-ui, sans-serif; letter-spacing: -.02em; color: var(--navy); margin: 0 0 14px; }
.op-photo { display: block; width: 100%; height: 300px; object-fit: cover; }
.facts { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 0; padding: 0; }
.facts li { padding: 8px 14px; border-radius: 999px; background: var(--ice); color: var(--navy); font-weight: 500; font-size: 15px; }
.op-body { display: grid; gap: 8px; max-width: 1100px; margin: 0 auto; padding: 40px var(--gut) 48px; }
.op-sec h2 { font-size: 24px; margin: 0 0 10px; }
.op-sec h2::before { content: ""; display: block; width: 32px; height: 3px; border-radius: 2px; background: var(--aqua); margin-bottom: 14px; }
.op-sec ul { margin: 0 0 24px; padding-left: 20px; }
.op-sec li { margin-bottom: 8px; }
.op-sec li::marker { color: var(--blue); }
.op-book { background: var(--navy); color: #fff; padding: 56px var(--gut); text-align: center; }
.op-book h2 { color: #fff; margin-bottom: 8px; }
.op-book p { color: var(--on-deep); margin-bottom: 0; }
.op-book .btn-row { justify-content: center; margin-top: 8px; }
.op-book .btn:not(.btn--fill) { color: #fff; }
.op-more { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 22px; padding: 32px var(--gut); background: var(--ice); text-align: center; }
.op-more .caps { flex-basis: 100%; margin: 0 0 4px; color: var(--blue); }
.op-more a { display: inline-flex; align-items: center; min-height: 44px; color: var(--navy); font-weight: 600; text-decoration-color: var(--aqua); text-underline-offset: 5px; }
.qa { max-width: 720px; margin: 0 auto; padding: 44px var(--gut) 56px; }
.qa h1 { font: 700 clamp(38px, 10vw, 60px)/1.05 Jost, system-ui, sans-serif; color: var(--navy); margin: 0 0 20px; }
.qa dt { font-weight: 600; font-size: 19px; color: var(--navy); margin-top: 26px; padding-top: 20px; border-top: 1px solid #dcebf1; }
.qa dd { margin: 6px 0 0; color: var(--mute); }
.qa a, .op-sec a { color: var(--blue); }
@media (min-width: 600px) {
  .op-top .logo img { width: 140px; }
  .op-photo { height: 420px; }
  .op-body { grid-template-columns: 1fr 1fr; gap: 28px 36px; }
  .op-body > :last-child { grid-column: 1 / -1; }
}
@media (min-width: 961px) {
  .op-hero { grid-template-columns: 1fr 1fr; align-items: center; }
  .op-txt { padding: 56px 48px 56px var(--gut); }
  .op-photo { height: 560px; }
  .op-body { grid-template-columns: repeat(3, 1fr); }
  .op-body > :last-child { grid-column: auto; }
}

/* Book now: "trip tickets" (2026-11-25). A floating Reservar pill opens a sheet with one ticket per trip.
   HTML popover, no script. Without popover support the pill is a plain link to the reservations section. */
.pop-no { display: none; }
@supports not selector(:popover-open) {
  .pop-yes, [popover] { display: none !important; }
  .pop-no { display: inline-flex; }
}
.fab { position: fixed; z-index: 20; left: 50%; bottom: 16px; transform: translateX(-50%); }
.fab .btn { min-height: 54px; padding: 0 30px; gap: 10px; box-shadow: 0 10px 28px rgba(11, 43, 92, .32); }
.fab .btn::before { content: ""; width: 8px; height: 8px; background: var(--navy); transform: rotate(45deg); }
.foot { padding-bottom: 96px; }
/* Home: the hero already has Reservar, so the pill shows up once you scroll past it (where the browser can) */
@supports (animation-timeline: scroll()) {
  .home .fab { animation: fab-in linear both; animation-timeline: scroll(root); animation-range: 45vh 75vh; }
}
@keyframes fab-in { from { opacity: 0; translate: 0 24px; visibility: hidden; } to { opacity: 1; translate: 0 0; visibility: visible; } }

.sheet { position: fixed; inset: auto 0 0 0; margin: 0; width: 100%; max-width: none; max-height: 88svh; overflow: auto;
  padding: 20px var(--gut) 24px; border: 0; border-radius: 22px 22px 0 0; background: var(--paper); color: var(--text);
  box-shadow: 0 -12px 40px rgba(11, 43, 92, .25); transition: translate .25s ease, opacity .25s ease; }
.sheet:popover-open { translate: 0 0; opacity: 1; }
@starting-style { .sheet:popover-open { translate: 0 40px; opacity: 0; } }
.sheet::backdrop { background: rgba(11, 43, 92, .5); }
body:has(.sheet:popover-open) { overflow: hidden; }
.sheet-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 16px; }
.sheet h2 { font-size: 26px; margin: 0; }
.sheet-x { flex: none; width: 44px; height: 44px; border: 0; border-radius: 50%; background: var(--ice); color: var(--navy); font-size: 18px; cursor: pointer; }
.tks { list-style: none; margin: 0; padding: 0; }
/* A ticket: navy time stub, dashed tear line with two notches, then the trip */
.tk { position: relative; display: grid; grid-template-columns: 80px minmax(0, 1fr); margin-bottom: 12px; background: #fff; border-radius: 14px; box-shadow: 0 1px 0 #d3e3ea, 0 6px 18px rgba(11, 43, 92, .07); }
.tk::before, .tk::after { content: ""; position: absolute; left: 73px; width: 14px; height: 14px; border-radius: 50%; background: var(--paper); }
.tk::before { top: -7px; }
.tk::after { bottom: -7px; }
.tk-time { margin: 0; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 4px; padding: 16px 6px;
  background: var(--navy); color: #fff; border-radius: 14px 0 0 14px; font: 700 16px/1.2 Jost, system-ui, sans-serif; text-align: center; }
.tk-time .c { text-decoration-color: var(--aqua); }
.tk-main { padding: 14px 14px 16px; border-left: 2px dashed #cfe3ee; }
.tk h3 { margin: 0 0 2px; font: 700 20px/1.25 Jost, system-ui, sans-serif; color: var(--navy); }
.tk h3 a { text-decoration: none; }
.tk h3 a::after { content: "\00a0→"; color: var(--blue); }
.tk h3 a:hover { text-decoration: underline; text-underline-offset: 3px; }
.tk-line { margin: 0 0 12px; color: var(--mute); font-size: 15px; line-height: 1.4; }
.tk-btns { display: flex; gap: 8px; }
.tk .btn { min-height: 44px; padding: 0 20px; font-size: 14px; letter-spacing: .02em; text-transform: none; }
.tk-btns .btn:only-child { padding: 0 24px; }
.tk-btns .btn:not(:only-child) { flex: 1 1 0; min-width: 0; padding: 0 8px; }
.sheet-note { margin: 16px 0 4px; color: var(--mute); font-size: 14px; }
.sheet-call { margin: 0; font-size: 15px; }
.sheet-call a { color: var(--blue); font-weight: 600; }
@media (min-width: 600px) {
  .sheet { inset: 0; margin: auto; width: min(540px, calc(100% - 48px)); height: fit-content; padding: 26px 28px 26px; border-radius: 22px; }
  .tk { grid-template-columns: 104px 1fr; }
  .tk::before, .tk::after { left: 97px; }
}
@media (min-width: 961px) {
  .fab { left: auto; right: 28px; bottom: 24px; transform: none; }
}

/* Public coming-soon page (landing/, 2026-11-25): email + map line under the buttons */
.soon-mail { margin: 18px 0 0; font-size: 15px; color: var(--mute); }
.soon-mail a { color: var(--blue); text-underline-offset: 3px; display: inline-flex; align-items: center; min-height: 44px; }
.soon-photo { position: relative; z-index: 2; display: block; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; object-position: 45% 40%; border-radius: 16px; box-shadow: 0 14px 34px rgba(11, 43, 92, .22); }
@media (min-width: 600px) { .soon-photo { aspect-ratio: 16 / 11; } }
@media (min-width: 961px) {
  .landing .hero { display: grid; grid-template-columns: 1.05fr .95fr; grid-template-rows: auto 1fr; column-gap: 56px; align-items: end; }
  .landing .top { grid-column: 1 / -1; align-self: start; }
  .landing .soon-photo { aspect-ratio: auto; height: min(62vh, 560px); }
}
.landing .mark { display: none; }
