@font-face {
  font-family: Bricolage Grotesque;
  src: url("fonts/bricolage.woff2") format("woff2");
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
}

@font-face {
  font-family: Instrument Sans;
  src: url("fonts/instrument-sans.ttf") format("truetype");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --ink: #15312b;
  --black: #092620;
  --white: #fffdf5;
  --paper: #f6f2e8;
  --sun: #ffcf65;
  --lagoon: #8ce1c8;
  --sea: #216a58;
  --rule: #a8b4ab;
  --small: clamp(.83rem, .8rem + .15vw, .97rem);
  --base: clamp(1rem, .95rem + .25vw, 1.16rem);
  --card: clamp(1.55rem, 1.32rem + 1.1vw, 2.85rem);
  --head: clamp(2.9rem, 2.05rem + 4vw, 5.8rem);
  --title: clamp(4.25rem, 9.15vw, 10.3rem);
  --display: "Bricolage Grotesque", "Instrument Sans", sans-serif;
  --radius: .85rem;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-padding-top: 1.15rem; }
body { margin: 0; background: var(--paper); color: var(--ink); font: var(--base)/1.5 "Instrument Sans", Arial, sans-serif; }
a { color: inherit; text-underline-offset: .25em; }
button, input, select { font: inherit; }
button, summary { cursor: pointer; }
:focus-visible { outline: 3px solid #f4a61d; outline-offset: 4px; }
.wrap { width: min(1300px, 89%); margin-inline: auto; }
.skip { position: absolute; z-index: 9; padding: .5rem; background: white; transform: translateY(-120%); }
.skip:focus { transform: none; }
p, h1, h2, h3 { margin: 0; }
header, footer { background: var(--black); color: var(--white); }
header { position: absolute; z-index: 3; inset: 0 0 auto; background: linear-gradient(#071e1bd9, #071e1b00); }
nav, footer > .wrap, .actions, .navlinks, .sectionhead, .formbuttons { display: flex; align-items: center; gap: 1.25rem; }
nav { min-height: 80px; justify-content: space-between; border-bottom: 1px solid #e7f7ed30; }
nav a, .button, .film-link, .explore { text-decoration: none; }
.brand { display: flex; flex-shrink: 0; align-items: center; gap: .7rem; font: 800 1.45rem/1 var(--display); letter-spacing: -.045em; }
.brand img { border-radius: 50%; width: 48px; height: 48px; object-fit: contain; background: white; }
.navlinks { gap: 2rem; }
.navlinks a, .navbook { font-size: var(--small); font-weight: 700; }
.navlinks a:hover, footer a:hover { color: var(--lagoon); }
.navbook { border: 1px solid #e7f7ed57; border-radius: 100px; padding: .62rem .92rem; background: #09262032; }
.navbook span { color: var(--lagoon); margin-left: .3rem; }

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  align-items: center;
  min-height: 100svh;
  background: var(--black);
  color: var(--white);
  overflow: hidden;
}

.hero-media, .wash, #depth, .daylight, .route-cover img, .film-card img, .mediawrap > img, .mediawrap > video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}

.hero-media { z-index: -3; left: 15%; width: 85%; overflow: hidden; }
.hero-media > img, .hero-media > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 59% 68%; translate: var(--pan-x, 0px) var(--pan-y, 0px); animation: drift 19s ease-in-out infinite alternate paused; }
.ambient-active .hero-media > :is(img, video) { animation-play-state: running; }
.mediawrap > video { opacity: 0; }
.mediawrap > video.playing[src] { opacity: 1; }
.wash { z-index: -2; pointer-events: none; background: linear-gradient(90deg, #092620 15%, #092620eb 26%, #09262070 58%, transparent 88%), linear-gradient(0deg, #092620, #09262048 32%, transparent 63%); }
#depth { z-index: -1; pointer-events: none; }
.hero-copy { padding-block: 8rem 8.75rem; }
.eyebrow { display: flex; align-items: center; gap: .65rem; color: var(--sea); text-transform: uppercase; font-size: var(--small); letter-spacing: .15em; font-weight: 700; margin-bottom: .8rem; }
.eyebrow.light { color: var(--lagoon); }
.pin { display: inline-block; width: .75em; height: .75em; transform: rotate(-45deg); border: 2px solid currentColor; border-radius: 50% 50% 50% 0; }
h1, h2, h3, .offer strong, .film-card strong, footer strong { font: 800 var(--head)/.96 var(--display); letter-spacing: -.045em; }
h1 { font-size: var(--title); letter-spacing: -.055em; margin: .14em 0 .24em; text-wrap: balance; }
h1 span, h1 em { display: block; animation: rise .65s cubic-bezier(.23,.75,.3,1) both; }
h1 em, .booking em { color: var(--sun); font-style: normal; }
h1 em { animation-delay: .12s; }
.intro { max-width: 36ch; margin-bottom: 1.5rem; color: #f3faf6; }
.actions { flex-wrap: wrap; }
.button, .film-link { display: inline-flex; position: relative; align-items: center; justify-content: center; gap: .7em; min-height: 48px; padding: .75rem 1.15rem; border: 1px solid transparent; border-radius: 100px; font-size: var(--small); font-weight: 700; overflow: hidden; }
.button:hover { transform: translateY(-2px); }
.button { transition: transform .2s; }
.sun { color: #162129; background: var(--sun); }
.dark { color: white; background: var(--ink); }
.film-link { color: white; border-color: #f4f6f184; background: #0926208c; }
.film-link:hover { border-color: var(--lagoon); }
.motion { display: none; }
.play { display: inline-grid; width: 1.8rem; height: 1.8rem; place-items: center; border: 1px solid currentColor; border-radius: 50%; font-size: .64rem; }
.hero-foot { position: absolute; left: 0; right: 0; bottom: 1.2rem; display: flex; justify-content: space-between; align-items: center; gap: 1rem; border-top: 1px solid #ffffff4a; padding-top: .6rem; font-size: var(--small); }
.hero-controls { display: flex; align-items: center; gap: 1.2rem; }
.hero-location { color: #e4ebe4; }
#pause-ambient { min-height: 44px; display: inline-flex; align-items: center; gap: .45rem; border: 0; background: transparent; color: var(--white); padding: .35rem 0 .35rem .45rem; font-size: var(--small); }
#pause-ambient > span:first-child { color: var(--lagoon); }
.explore span { color: var(--lagoon); margin-left: .45rem; }
.ripple { position: absolute; width: 22px; height: 22px; border-radius: 50%; background: #fff9; pointer-events: none; animation: ripple .5s forwards; }

.section { padding-block: clamp(3.7rem, 7.5vw, 8rem); }
h2 { margin-bottom: .35em; }
h2 span { color: #c56422; }
.sectionhead { align-items: end; justify-content: space-between; margin-bottom: .8rem; }
.sectionhead > p { max-width: 29ch; margin-bottom: 1.35rem; }
.offers, .films, #scenes, .arrival, .booking { display: grid; gap: 1rem; }
.offers { grid-template-columns: repeat(3,minmax(0,1fr)); align-items: start; }
.offer { background: #e7eade; min-width: 0; border-radius: var(--radius); overflow: hidden; }
.offer summary { list-style: none; position: relative; min-height: 126px; display: grid; align-content: end; gap: .5rem; padding: 1.25rem 3.4rem 1.3rem 1.25rem; isolation: isolate; }
.offer.photographic summary { min-height: clamp(195px, 23vw, 325px); color: white; overflow: hidden; }
summary::-webkit-details-marker { display: none; }
.route-cover { position: absolute; inset: 0; z-index: -1; background: var(--ink); }
.route-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg,#06171eef,#06171e12 78%); }
.route-cover img { transition: transform .5s; }
.photographic summary:hover img, .film-card:hover img { transform: scale(1.055); }
.offer strong, .film-card strong { font-size: var(--card); }
.offer small { color: inherit; font-weight: 700; }
.offer summary::after, .faq summary::after { content: "+"; position: absolute; right: 1rem; bottom: 1.2rem; border: 1px solid currentColor; border-radius: 50%; width: 2rem; height: 2rem; display: grid; place-items: center; line-height: 1; }
.offer[open] summary::after, .faq details[open] summary::after { content: "−"; }
.offerbody { padding: 1.15rem; background: #fffdf7; }
.offerbody p { margin-bottom: .9rem; }
.offerbody .mediawrap { position: relative; aspect-ratio: 16/10; margin-bottom: 1rem; }
.trail { width: 100%; height: 48px; margin-top: 1rem; }
#promo { margin-top: .8rem; font-size: var(--small); }
.day { position: relative; isolation: isolate; overflow: hidden; background: #0d3129; color: var(--white); }
.daylight { z-index: -1; background: radial-gradient(ellipse at 80% 80%,#63513e,transparent 76%), linear-gradient(155deg,#194c43,#204238); opacity: 0; }
.day h2 span { color: var(--sun); }
.films { grid-template-columns: 1.45fr 1fr 1fr; }
.film-card { position: relative; min-height: clamp(210px,24vw,340px); text-align: left; display: flex; flex-direction: column; justify-content: end; align-items: start; gap: .7rem; overflow: hidden; isolation: isolate; background: var(--black); color: white; padding: 1.15rem; border: 0; border-radius: var(--radius); }
.film-card img { z-index: -2; transition: transform .5s; }
.film-card::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(0deg,#07181ef2,#07181e08 88%); }
.film-card .play { color: var(--sun); width: 2.55rem; height: 2.55rem; }
#scenes { grid-template-columns: repeat(2,minmax(0,1fr)); }
#scenes:empty { display: none; }
.scene { position: relative; isolation: isolate; overflow: hidden; min-height: 190px; padding: 1.4rem; display: grid; align-content: end; margin-top: 1rem; border-radius: var(--radius); }
.scene > .mediawrap { position: absolute; inset: 0; z-index: -1; }
.scene::after { content:""; position:absolute; inset:0; background:linear-gradient(transparent,#092d35bf); z-index:-1; }
.scene h3 { font-size: var(--card); }
#reserva { background: var(--black); color: white; }
.booking, .arrival { grid-template-columns: 1fr 1fr; align-items: center; gap: 5%; }
form { background: var(--white); color: var(--ink); padding: clamp(1.3rem,3vw,3rem); border-radius: var(--radius); }
form label { display: block; font-weight: 700; margin: .6rem 0; }
form input, form select { width: 100%; padding: .8rem; border: 1px solid #799790; background: white; color: var(--ink); min-height: 48px; }
#step { color: var(--sea); font-size: var(--small); font-weight: 700; }
.formbuttons { justify-content: end; margin-top: 1.15rem; }
#back { background: none; border: none; color: var(--ink); text-decoration: underline; margin-right: auto; }
#gallery { display: flex; gap: 1rem; overflow: auto; scroll-snap-type: x mandatory; }
#gallery figure { position: relative; margin: 0; min-width: min(84%,520px); scroll-snap-align: start; }
#gallery .mediawrap { position: relative; aspect-ratio: 16/10; }
#gallery figcaption { padding: .45rem 0; font-size: var(--small); }
.gallery-buttons { display: flex; gap: .35rem; margin-bottom: 1.15rem; }
.gallery-buttons button, #close-player { border: 1px solid currentColor; background: transparent; color: inherit; width: 44px; height: 44px; }
.arrival { border-block: 1px solid var(--rule); }
.map { position: relative; min-height: 255px; overflow: hidden; }
.map svg { position: absolute; width: 100%; height: 100%; }
.map b, .map small { position: absolute; padding: .4rem .8rem; background: var(--paper); }
.map b { top: 43%; left: 23%; }
.map small { bottom: .6rem; left: .6rem; }
.faq details { border-bottom: 1px solid var(--rule); }
.faq summary { position: relative; list-style: none; padding: 1rem 3rem 1rem 0; font-weight: 700; }
.faq summary::after { bottom: .65rem; }
.faq details p { margin-bottom: .9rem; }
footer > .wrap { justify-content: space-between; padding-block: 2rem 5rem; }
footer strong { font-size: clamp(1.35rem,3vw,2.5rem); }
#float { position: fixed; bottom: max(1rem,env(safe-area-inset-bottom)); right: 1rem; z-index: 4; box-shadow: 0 3px 18px #082e3560; }
#player { width: min(94vw,520px); max-height: 94dvh; padding: 1rem; border: 1px solid #507076; color: white; background: var(--black); }
#player::backdrop { background: #020b10d9; }
.player-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: .65rem; }
.player-head h2 { margin: 0; font-size: var(--card); }
#close-player { flex: none; }
#player iframe { display: block; border: 0; width: 100%; height: min(65dvh,610px); background: white; }
#player video { display: block; width: 100%; height: min(67dvh,650px); background: #000; }
#player a { display: inline-block; margin-top: .7rem; color: var(--lagoon); font-size: var(--small); }
body:has(dialog[open]) { overflow: hidden; }
@keyframes rise { from { transform: translateY(.18em); opacity: 0; } }
@keyframes ripple { to { transform: scale(15); opacity: 0; } }
@keyframes drift {
  from { transform: scale(1.045); }
  to { transform: translate3d(-1.1%, 1%, 0) scale(1.12); }
}
.arrived { animation: arrive .7s cubic-bezier(.2,.65,.3,1) both; }
@keyframes arrive { from { opacity: .68; transform: translateY(12px); } }
.motion-paused .arrived, .motion-paused #titulo :is(span, em) { animation: none; }

@media (max-width: 760px) {
  nav { min-height: 65px; }
  .navlinks { display: none; }
  .brand { font-size: 1.28rem; }
  .brand img { width: 40px; height: 40px; }
  .hero { min-height: 100svh; align-items: end; }
  .hero-media { left: 0; width: 100%; }
  .hero-media > img, .hero-media > video { object-position: 57% 51%; }
  .wash { background: linear-gradient(0deg,#092620 5%,#092620ed 25%,#09262060 67%,#09262010 89%); }
  .hero-copy { padding-block: max(11rem,32svh) 6.2rem; }
  h1 { font-size: clamp(3.55rem,14.5vw,7.5rem); }
  .hero .eyebrow { letter-spacing: .09em; }
  .hero .actions { gap: .5rem; }
  .hero .actions :is(.button,.film-link) { padding-inline: .67rem; }
  .hero .actions .button span { display: none; }
  .hero-foot { bottom: .75rem; }
  .hero-location { display: none; }
  .sectionhead { display: block; }
  .sectionhead > p { margin-bottom: 1rem; }
  .offers, .arrival, .booking { grid-template-columns: 1fr; }
  .booking, .arrival { gap: 1.35rem; }
  .films { grid-auto-flow: column; grid-template-columns: none; grid-auto-columns: 76%; overflow: auto; scroll-snap-type: x mandatory; padding-bottom: .5rem; }
  .film-card { scroll-snap-align: start; min-height: 250px; }
  .arrival .map { order: 2; }
  #galeria .sectionhead { display: flex; }
}

@media (pointer: coarse) {
  .motion { display: block; margin-top: .65rem; padding: .3rem 0; border: 0; background: none; color: var(--white); font-size: var(--small); text-decoration: underline; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero-media > img, .hero-media > video { transform: none; translate: none; }
}
