/* Crazy Experiences Boat — mobile-first */
:root {
  --ink: #0a1a26;
  --sea: #0d3449;
  --sea-2: #11506b;
  --turq: #2fd1c5;
  --sun: #ff5b35;
  --sun-2: #ff8a3d;
  --sand: #f5ede1;
  --paper: #fffaf3;
  --line: #e4d8c6;
  --muted: #5b6b76;
  --wa: #25d366;
  --radius: 18px;
  --display: "Bricolage Grotesque", "Arial Black", system-ui, sans-serif;
  --body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
  --gutter: 16px;
  --topbar: 60px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--topbar) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--body); font-size: 16px; line-height: 1.55;
  color: var(--ink); background: var(--paper);
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--display); line-height: 1.04; letter-spacing: -0.02em; margin: 0; }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button { font: inherit; color: inherit; }
.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 var(--gutter); }
.ico { width: 1.15em; height: 1.15em; flex: none; vertical-align: -0.2em; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; z-index: 100; background: var(--sun); color: #fff; padding: 8px 14px; border-radius: 8px; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--turq); outline-offset: 2px; }

/* Placeholder visible si una foto no carga */
.ph {
  position: relative; overflow: hidden;
  background:
    radial-gradient(120% 80% at 80% 110%, rgba(255, 91, 53, .55), transparent 60%),
    radial-gradient(90% 70% at 0% 0%, rgba(47, 209, 197, .35), transparent 60%),
    linear-gradient(160deg, var(--sea-2), var(--ink));
}
.ph img.is-missing { visibility: hidden; }

/* Botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  min-height: 50px; padding: 0 22px; border-radius: 999px; border: 0;
  font-weight: 700; font-size: 1rem; text-decoration: none; cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
}
.btn:active { transform: scale(.97); }
.btn--sm { min-height: 42px; padding: 0 18px; font-size: .95rem; }
.btn--block { width: 100%; }
.btn--sun { background: linear-gradient(135deg, var(--sun), var(--sun-2)); color: #fff; box-shadow: 0 8px 22px -8px rgba(255, 91, 53, .8); }
.btn--sun:hover { box-shadow: 0 12px 28px -8px rgba(255, 91, 53, .95); }
.btn--ghost { background: rgba(255, 255, 255, .12); color: #fff; border: 1.5px solid rgba(255, 255, 255, .5); backdrop-filter: blur(6px); }
.btn--line { background: transparent; border: 1.5px solid var(--ink); color: var(--ink); }
.btn--line:hover { background: var(--ink); color: #fff; }

.eyebrow { font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--turq); margin-bottom: 12px; }
.eyebrow--dark { color: var(--sun); }

/* Barra superior */
.topbar {
  position: sticky; top: 0; z-index: 50; height: var(--topbar);
  background: rgba(10, 26, 38, .88); color: #fff;
  backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
}
.topbar__in { height: 100%; display: flex; align-items: center; gap: 12px; }
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; min-width: 0; }
.brand__mark { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; background: var(--sun); color: #fff; flex: none; }
.brand__mark svg { width: 24px; height: 24px; }
.brand__name { font-family: var(--display); font-weight: 600; font-size: 1.02rem; letter-spacing: -.01em; white-space: nowrap; }
.brand__name b { font-weight: 800; color: var(--turq); }
.nav { display: none; }
.topbar .btn { flex: none; }
.lang {
  margin-left: auto; flex: none; display: inline-flex; align-items: center; gap: 5px;
  height: 38px; padding: 0 11px; border-radius: 999px; cursor: pointer;
  background: rgba(255, 255, 255, .08); border: 1.5px solid rgba(255, 255, 255, .28); color: #fff;
  font-weight: 700; font-size: .85rem; letter-spacing: .04em; transition: background .2s, border-color .2s;
}
.lang:hover { background: rgba(255, 255, 255, .16); border-color: var(--turq); }
.lang .ico { width: 16px; height: 16px; color: var(--turq); }
@media (max-width: 400px) {
  .topbar__in { gap: 8px; }
  .brand__mark { width: 30px; height: 30px; }
  .brand__name { font-size: .88rem; white-space: normal; line-height: 1.05; min-width: 0; }
  .topbar .btn { padding: 0 14px; min-height: 38px; font-size: .88rem; }
  .lang { padding: 0 9px; }
  .lang .ico { display: none; }
}

/* Hero */
.hero { position: relative; min-height: min(88svh, 760px); display: flex; align-items: flex-end; color: #fff; margin-top: calc(var(--topbar) * -1); padding-top: var(--topbar); }
.hero__media { position: absolute; inset: 0; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; }
.hero__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10, 26, 38, .6) 0%, rgba(10, 26, 38, .2) 22%, rgba(10, 26, 38, .55) 40%, rgba(10, 26, 38, .75) 65%, rgba(10, 26, 38, .96) 100%);
}
.hero__content { text-shadow: 0 1px 14px rgba(10, 26, 38, .55); }
.hero__content .btn, .hero__facts { text-shadow: none; }
.hero .eyebrow {
  display: inline-block; text-shadow: none; color: #fff;
  background: rgba(10, 26, 38, .62); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  padding: 6px 12px; border-radius: 999px; border: 1px solid rgba(47, 209, 197, .45);
  font-size: .7rem; letter-spacing: .1em;
}
.hero__content { position: relative; padding-top: 120px; padding-bottom: 28px; }
.hero h1 { font-size: clamp(2.5rem, 11vw, 5.4rem); font-weight: 800; max-width: 12ch; text-wrap: balance; }
.hero h1 em { font-style: normal; color: var(--turq); }
.hero__lead { margin-top: 14px; font-size: 1.06rem; max-width: 46ch; color: rgba(255, 255, 255, .88); }
.hero__cta { display: flex; flex-direction: column; gap: 10px; margin-top: 24px; }
.hero__facts {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin-top: 28px;
  background: rgba(255, 255, 255, .18); border-radius: 14px; overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .18);
}
.hero__facts li { background: rgba(10, 26, 38, .55); padding: 12px 14px; font-size: .86rem; color: rgba(255, 255, 255, .8); backdrop-filter: blur(6px); }
.hero__facts strong { display: block; font-family: var(--display); font-size: 1.3rem; color: #fff; line-height: 1.1; }

/* Secciones */
.section { padding: 64px 0; }
.section--sea { background: var(--ink); color: #fff; }
.section--sand { background: var(--sand); }
.section__head { margin-bottom: 28px; }
.section__head h2, .quote__head h2, .visit h2 { font-size: clamp(2rem, 8vw, 3.4rem); font-weight: 800; text-wrap: balance; }
.section__sub { margin-top: 12px; color: var(--muted); max-width: 56ch; }

/* Flota */
.fleet { display: grid; gap: 22px; }
.boat { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 1px 0 var(--line), 0 18px 40px -26px rgba(10, 26, 38, .45); display: flex; flex-direction: column; }
.boat__media { display: block; width: 100%; aspect-ratio: 4 / 3; border: 0; padding: 0; cursor: zoom-in; }
.boat__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.boat__media:hover img { transform: scale(1.04); }
.boat__count, .boat__flag {
  position: absolute; display: inline-flex; align-items: center; gap: 6px;
  font-size: .8rem; font-weight: 700; padding: 6px 11px; border-radius: 999px;
}
.boat__count { right: 12px; bottom: 12px; background: rgba(10, 26, 38, .72); color: #fff; backdrop-filter: blur(6px); }
.boat__flag { left: 12px; top: 12px; background: var(--turq); color: var(--ink); }
.boat__thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 3px; padding: 3px; background: #fff; }
.boat__thumbs:empty { display: none; }
.thumb { position: relative; aspect-ratio: 1; border: 0; padding: 0; cursor: zoom-in; border-radius: 6px; }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb__more { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(10, 26, 38, .6); color: #fff; font-weight: 700; font-size: 1.05rem; }
.boat__body { padding: 18px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.boat__type { font-size: .8rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.boat__name { font-size: 2.2rem; font-weight: 800; margin-top: 2px; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.chips li { display: inline-flex; align-items: center; gap: 6px; font-size: .86rem; font-weight: 500; padding: 6px 11px; border-radius: 999px; background: var(--sand); }
.chips li:first-child { background: var(--ink); color: #fff; }
.boat__details { margin-top: 14px; border-top: 1px solid var(--line); }
.boat__details summary { cursor: pointer; padding: 12px 0 4px; font-weight: 700; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.boat__details summary::-webkit-details-marker { display: none; }
.boat__details summary::after { content: "+"; font-size: 1.4rem; line-height: 1; color: var(--sun); transition: transform .2s; }
.boat__details[open] summary::after { transform: rotate(45deg); }
.ticks { display: grid; gap: 6px; padding: 8px 0 2px; }
.ticks li { position: relative; padding-left: 24px; font-size: .95rem; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .42em; width: 12px; height: 7px; border-left: 2.5px solid var(--turq); border-bottom: 2.5px solid var(--turq); transform: rotate(-45deg); }
.boat__extra { margin-top: 10px; font-size: .92rem; padding: 10px 12px; border-radius: 10px; background: #e7faf8; }
.boat__foot { margin-top: auto; padding-top: 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.price { font-family: var(--display); font-weight: 800; font-size: 1.2rem; line-height: 1.1; }
.price span { display: block; font-family: var(--body); font-weight: 500; font-size: .78rem; color: var(--muted); letter-spacing: .06em; text-transform: uppercase; }
.fleet__note { margin-top: 26px; display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; background: var(--sand); font-size: .95rem; }
.fleet__note .ico { color: var(--sun); margin-top: 2px; }

/* Experiencias */
.exp { display: grid; gap: 12px; }
.exp__item {
  position: relative; padding: 22px 20px; border-radius: var(--radius);
  background: linear-gradient(150deg, var(--sea), #0b2638); border: 1px solid rgba(255, 255, 255, .08);
  display: flex; flex-direction: column; gap: 6px; overflow: hidden;
}
.exp__item::after { content: ""; position: absolute; right: -40px; bottom: -40px; width: 140px; height: 140px; border-radius: 50%; border: 18px solid rgba(47, 209, 197, .12); }
.exp__item--sun { background: linear-gradient(150deg, var(--sun), #c2361b); }
.exp__item--sun::after { border-color: rgba(255, 255, 255, .15); }
.exp__n { font-family: var(--display); font-weight: 800; color: var(--turq); font-size: .95rem; }
.exp__item--sun .exp__n { color: #fff; opacity: .8; }
.exp h3 { font-size: 1.55rem; font-weight: 800; max-width: 16ch; }
.exp__link { align-self: flex-start; background: none; border: 0; padding: 8px 0 0; color: rgba(255, 255, 255, .85); font-weight: 700; cursor: pointer; position: relative; z-index: 1; }
.exp__link:hover { color: #fff; text-decoration: underline; }

/* Reseñas */
.reviews { display: grid; gap: 26px; }
.score { display: flex; align-items: baseline; gap: 12px; }
.score__num { font-family: var(--display); font-weight: 800; font-size: 5rem; line-height: .9; letter-spacing: -.04em; }
.stars { color: #f5a524; letter-spacing: .08em; font-size: 1.5rem; }
.stars--sm { font-size: 1rem; }
.score__meta { margin: 8px 0 16px; color: var(--muted); }
.reviews__list { display: grid; gap: 12px; }
.review { padding: 18px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.review__text { margin-top: 6px; font-size: 1.04rem; }
.review__who { margin-top: 10px; font-weight: 700; }
.reviews__note { margin-top: 18px; font-size: .82rem; color: var(--muted); }

/* Cotizar */
.quote { display: grid; gap: 26px; }
.form { background: #fff; border-radius: var(--radius); padding: 20px; box-shadow: 0 18px 40px -28px rgba(10, 26, 38, .5); display: grid; gap: 14px; }
.field { display: grid; gap: 6px; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field label { font-weight: 700; font-size: .92rem; }
.opt { font-weight: 400; color: var(--muted); }
.field input, .field select {
  width: 100%; min-height: 50px; padding: 0 14px; border-radius: 12px;
  border: 1.5px solid var(--line); background: var(--paper);
  font: inherit; font-size: 16px; color: var(--ink); appearance: none; -webkit-appearance: none;
}
.field select { background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 20px) 50%, calc(100% - 14px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 36px; }
.field input:focus, .field select:focus { outline: none; border-color: var(--sea-2); box-shadow: 0 0 0 3px rgba(47, 209, 197, .3); }
.field input[aria-invalid="true"] { border-color: var(--sun); }
.form__error { color: #b42318; font-weight: 500; font-size: .92rem; }
.form__fine { font-size: .8rem; color: var(--muted); text-align: center; }

/* Ubicación */
.visit { display: grid; gap: 26px; }
.visit h2 { margin-bottom: 16px; }
.visit__addr { display: flex; gap: 10px; font-size: 1.06rem; margin-bottom: 14px; }
.visit__addr .ico { color: var(--sun); margin-top: 3px; }
.hours { width: 100%; margin-top: 24px; border-collapse: collapse; font-size: .96rem; }
.hours th, .hours td { padding: 10px 12px; border-bottom: 1px solid var(--line); text-align: left; font-weight: 500; }
.hours td { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.hours tr.is-today { background: var(--sand); }
.hours tr.is-today th { font-weight: 700; }
.hours tr.is-today th::after { content: attr(data-today); margin-left: 8px; font-size: .7rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; background: var(--sun); color: #fff; padding: 2px 7px; border-radius: 999px; vertical-align: 1px; }
.visit__map { border-radius: var(--radius); overflow: hidden; min-height: 300px; background: var(--sand); }
.visit__map iframe { width: 100%; height: 100%; min-height: 300px; border: 0; display: block; }

/* Footer */
.footer { background: var(--ink); color: rgba(255, 255, 255, .8); padding: 44px 0 100px; }
.footer__in { display: grid; gap: 22px; }
.brand__name--light { color: #fff; font-size: 1.3rem; }
.footer__tag { margin-top: 4px; }
.footer__links { display: grid; gap: 4px; }
.footer__links a { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; padding: 8px 0; word-break: break-all; }
.footer__links a:hover { color: #fff; }
.footer__links .ico { color: var(--turq); }
.footer__demo { margin-top: 28px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .8rem; color: rgba(255, 255, 255, .5); }

/* Botón flotante */
.fab {
  position: fixed; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); z-index: 40;
  width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center;
  background: var(--wa); color: #fff; box-shadow: 0 10px 26px -6px rgba(0, 0, 0, .45);
  transition: transform .2s ease;
}
.fab .ico { width: 30px; height: 30px; }
.fab:active { transform: scale(.94); }

/* Galería */
.lightbox { position: fixed; inset: 0; z-index: 90; background: rgba(5, 13, 19, .97); color: #fff; display: flex; flex-direction: column; }
.lightbox[hidden] { display: none; }
.lightbox__bar { display: flex; align-items: center; justify-content: space-between; padding: 10px 8px 10px var(--gutter); padding-top: calc(10px + env(safe-area-inset-top)); }
.lightbox__title { font-weight: 700; font-variant-numeric: tabular-nums; }
.lightbox__close { width: 48px; height: 48px; border: 0; background: rgba(255, 255, 255, .1); border-radius: 50%; font-size: 1.2rem; cursor: pointer; }
.lightbox__track { flex: 1; display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; outline: none; }
.lightbox__track::-webkit-scrollbar { display: none; }
.lightbox__slide { flex: 0 0 100%; scroll-snap-align: center; display: grid; place-items: center; padding: 0 0 8px; }
.lightbox__slide .ph { width: 100%; height: 100%; display: grid; place-items: center; background: none; }
.lightbox__slide img { max-width: 100%; max-height: 100%; object-fit: contain; }
.lightbox__slide img.is-missing { visibility: visible; width: min(90vw, 900px); aspect-ratio: 4 / 3; height: auto; background: linear-gradient(160deg, var(--sea-2), var(--ink)); color: transparent; }
.lightbox__nav { display: none; }
.lightbox__foot { display: flex; justify-content: center; padding: 12px var(--gutter) calc(14px + env(safe-area-inset-bottom)); }
body.no-scroll { overflow: hidden; }

/* Tablet */
@media (min-width: 700px) {
  :root { --gutter: 28px; }
  .hero__cta { flex-direction: row; }
  .hero__facts { grid-template-columns: repeat(4, 1fr); max-width: 760px; }
  .fleet { grid-template-columns: repeat(2, 1fr); }
  .exp { grid-template-columns: repeat(2, 1fr); }
  .exp__item { min-height: 200px; justify-content: flex-end; }
  .reviews__list { grid-template-columns: repeat(3, 1fr); }
  .section { padding: 88px 0; }
}

/* Escritorio */
@media (min-width: 1000px) {
  :root { --topbar: 68px; }
  .nav { display: flex; gap: 26px; margin-left: auto; }
  .nav a { text-decoration: none; font-weight: 500; opacity: .85; }
  .nav a:hover { opacity: 1; color: var(--turq); }
  .lang { margin-left: 18px; }
  .topbar .btn { margin-left: 10px; }
  .hero { min-height: 92vh; }
  .hero__content { padding-bottom: 56px; }
  .fleet { grid-template-columns: repeat(3, 1fr); }
  .exp { grid-template-columns: repeat(4, 1fr); }
  .exp__item { min-height: 260px; }
  .reviews { grid-template-columns: 1fr 2fr; align-items: center; gap: 40px; }
  .reviews__list { grid-template-columns: 1fr; }
  .quote { grid-template-columns: 1fr 1.1fr; align-items: start; gap: 56px; }
  .quote__head { position: sticky; top: calc(var(--topbar) + 32px); }
  .form { padding: 30px; }
  .visit { grid-template-columns: 1fr 1.3fr; gap: 48px; align-items: stretch; }
  .footer { padding-bottom: 44px; }
  .footer__in { grid-template-columns: 1fr auto; align-items: start; }
  .fab { display: none; }
  .lightbox__nav {
    display: grid; place-items: center; position: absolute; top: 50%; transform: translateY(-50%);
    width: 56px; height: 56px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12);
    font-size: 2rem; line-height: 1; cursor: pointer;
  }
  .lightbox__nav:hover { background: rgba(255, 255, 255, .24); }
  .lightbox__nav--prev { left: 20px; }
  .lightbox__nav--next { right: 20px; }
  .lightbox__slide { padding: 0 96px 8px; }
}

/* =========================================================
   ANIMACIONES
   ========================================================= */
:root { --ease: cubic-bezier(.2, .7, .2, 1); }

@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes wordUp { from { opacity: 0; transform: translateY(105%) rotate(6deg); } to { opacity: 1; transform: none; } }
@keyframes shimmer { to { background-position: -200% 0; } }
@keyframes waveLine { to { background-position-x: -.8em; } }
@keyframes drawIn { from { transform: scaleX(0); } to { transform: scaleX(1); } }
@keyframes kenburns { from { transform: scale(1.14); } to { transform: scale(1); } }
@keyframes waveSlide { to { transform: translateX(-50%); } }
@keyframes shine { 0% { left: -60%; } 22%, 100% { left: 130%; } }
@keyframes pulse { 0% { transform: scale(1); opacity: .55; } 100% { transform: scale(1.75); opacity: 0; } }
@keyframes pop { 0% { transform: scale(1); } 45% { transform: scale(1.25) rotate(-8deg); } 100% { transform: scale(1); } }
@keyframes qIn { from { opacity: 0; transform: translateX(36px); } to { opacity: 1; transform: none; } }
@keyframes qInBack { from { opacity: 0; transform: translateX(-36px); } to { opacity: 1; transform: none; } }
@keyframes zoomIn { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }
@keyframes fly { to { transform: translate(var(--x), var(--y)) rotate(var(--r)); opacity: 0; } }

/* Portada: entrada escalonada */
.hero__media img { animation: kenburns 14s ease-out both; }
.hero .eyebrow { animation: rise .7s var(--ease) .1s both; }
.hero__lead { animation: rise .8s var(--ease) .95s both; }
.hero__cta { animation: rise .8s var(--ease) 1.1s both; }
.hero__facts li { animation: rise .7s var(--ease) both; }
.hero__facts li:nth-child(1) { animation-delay: 1.25s; }
.hero__facts li:nth-child(2) { animation-delay: 1.33s; }
.hero__facts li:nth-child(3) { animation-delay: 1.41s; }
.hero__facts li:nth-child(4) { animation-delay: 1.49s; }
.hero__facts strong { font-variant-numeric: tabular-nums; }

/* Título palabra por palabra (las palabras las crea main.js) */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .03em .14em; margin-bottom: -.14em; }
.w__in { display: inline-block; animation: wordUp .9s var(--ease) both; animation-delay: calc(.25s + var(--i) * .09s); }
.w--accent { position: relative; padding-bottom: .24em; margin-bottom: -.24em; }
.w--accent .w__in {
  color: transparent; text-shadow: none;
  background: linear-gradient(90deg, var(--turq) 0%, #c4fff8 25%, var(--turq) 50%, #c4fff8 75%, var(--turq) 100%);
  background-size: 200% 100%; -webkit-background-clip: text; background-clip: text;
  filter: drop-shadow(0 2px 10px rgba(10, 26, 38, .45));
  animation: wordUp .9s var(--ease) both, shimmer 3.5s linear infinite;
  animation-delay: calc(.25s + var(--i) * .09s), 1.6s;
}
.w--accent::after {
  content: ""; position: absolute; left: .03em; right: .03em; bottom: .02em; height: .16em;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 6'%3E%3Cpath d='M0 3 Q5 0 10 3 T20 3' fill='none' stroke='%23ff5b35' stroke-width='2.2'/%3E%3C/svg%3E") repeat-x;
  background-size: .8em 100%; transform-origin: left;
  animation: drawIn .8s var(--ease) 1.1s both, waveLine 1.1s linear 1.9s infinite;
}

/* Olas animadas al pie de la portada */
.hero__content { z-index: 2; padding-bottom: 72px; }
.hero__wave { position: absolute; left: 0; right: 0; bottom: -1px; height: 48px; overflow: hidden; z-index: 1; pointer-events: none; }
.hero__wave svg { position: absolute; left: 0; bottom: 0; width: 200%; height: 100%; animation: waveSlide 14s linear infinite; }
.hero__wave-back { fill: var(--turq); opacity: .35; animation-duration: 20s !important; animation-direction: reverse !important; }
.hero__wave-front { fill: var(--paper); }
@media (min-width: 1000px) { .hero__content { padding-bottom: 96px; } .hero__wave { height: 64px; } }

/* Brillo periódico en el botón principal */
.btn--shine { position: relative; overflow: hidden; }
.btn--shine::after {
  content: ""; position: absolute; top: 0; left: -60%; width: 40%; height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .5), transparent);
  transform: skewX(-20deg); animation: shine 4.5s ease-in-out 2.2s infinite; pointer-events: none;
}

/* Botón flotante con pulso */
.fab { isolation: isolate; }
.fab::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--wa); z-index: -1; animation: pulse 2.4s ease-out infinite; }

/* Barra superior al hacer scroll */
.topbar { transition: box-shadow .3s ease, background .3s ease; }
.topbar.is-scrolled { background: rgba(10, 26, 38, .96); box-shadow: 0 10px 28px -14px rgba(0, 0, 0, .6); }

/* Aparición al hacer scroll (main.js agrega data-reveal) */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
[data-reveal].is-visible { opacity: 1; transform: none; }

/* Hover con elevación */
@media (hover: hover) {
  .boat { transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
  .boat:hover { transform: translateY(-6px); box-shadow: 0 1px 0 var(--line), 0 28px 50px -26px rgba(10, 26, 38, .55); }
  .exp__item { transition: transform .35s var(--ease); }
  .exp__item:hover { transform: translateY(-6px); }
  .exp__item::after { transition: transform .6s var(--ease); }
  .exp__item:hover::after { transform: scale(1.35); }
  .review { transition: transform .3s var(--ease); }
  .review:hover { transform: translateY(-4px) rotate(-.4deg); }
}

.inline-link { color: var(--sun); font-weight: 700; }
.section__head--center { text-align: center; }
.section__head--center .section__sub { margin-left: auto; margin-right: auto; }

/* =========================================================
   TEST: ¿CUÁL BOTE ES PARA TI?
   ========================================================= */
.section--quiz {
  background:
    radial-gradient(60% 50% at 100% 0%, rgba(255, 91, 53, .12), transparent 70%),
    radial-gradient(60% 50% at 0% 100%, rgba(47, 209, 197, .22), transparent 70%),
    #eef9f7;
}
.quiz { position: relative; max-width: 780px; margin: 0 auto; background: #fff; border-radius: 24px; padding: 18px; box-shadow: 0 24px 60px -34px rgba(10, 26, 38, .55); overflow: hidden; }
.quiz__bar { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.quiz__back { width: 40px; height: 40px; flex: none; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; cursor: pointer; font-size: 1.1rem; display: grid; place-items: center; transition: background .2s; }
.quiz__back:hover { background: var(--sand); }
.quiz__back[hidden] { display: none; }
.quiz__progress { flex: 1; height: 8px; background: var(--sand); border-radius: 999px; overflow: hidden; }
.quiz__progress span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--turq), var(--sun)); border-radius: inherit; transition: width .55s var(--ease); }
.quiz__count { font-size: .85rem; font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; white-space: nowrap; }
.quiz__q { border: 0; margin: 0; padding: 0; min-width: 0; }
.quiz__q[hidden] { display: none; }
.quiz__q legend { font-family: var(--display); font-weight: 800; font-size: clamp(1.45rem, 6vw, 2.1rem); line-height: 1.1; letter-spacing: -.02em; margin-bottom: 18px; padding: 0; }
.quiz__q.in-next { animation: qIn .45s var(--ease) both; }
.quiz__q.in-prev { animation: qInBack .45s var(--ease) both; }
.quiz__opts { display: grid; gap: 10px; }
.qopt {
  position: relative; display: flex; align-items: center; gap: 14px; min-height: 74px; padding: 12px 16px;
  border-radius: 16px; border: 2px solid var(--line); background: var(--paper); cursor: pointer;
  transition: border-color .2s, transform .2s var(--ease), background .2s, box-shadow .2s;
}
.qopt input { position: absolute; opacity: 0; pointer-events: none; }
.qopt:hover { border-color: var(--turq); transform: translateY(-2px); }
.qopt:has(input:focus-visible) { outline: 3px solid var(--turq); outline-offset: 2px; }
.qopt.is-selected { border-color: var(--sun); background: #fff2ec; box-shadow: 0 12px 26px -16px rgba(255, 91, 53, .9); }
.qopt.is-selected .qopt__ico { animation: pop .45s var(--ease); background: var(--sun); box-shadow: none; }
.qopt__ico { width: 48px; height: 48px; flex: none; border-radius: 14px; display: grid; place-items: center; font-size: 1.5rem; background: #fff; box-shadow: inset 0 0 0 1px var(--line); transition: background .2s; }
.qopt__txt b { display: block; font-size: 1.05rem; line-height: 1.25; }
.qopt__txt small { color: var(--muted); font-size: .86rem; }
.quiz__date { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; max-width: 420px; }
.field input[type="date"] { min-width: 0; max-width: 100%; display: block; }
.quiz__skip { background: none; border: 0; padding: 8px; color: var(--muted); font-weight: 700; text-decoration: underline; cursor: pointer; }
.quiz__skip:hover { color: var(--ink); }

.result { display: grid; animation: zoomIn .55s var(--ease) both; }
.result__media { aspect-ratio: 16 / 10; border-radius: 18px; overflow: hidden; }
.result__media img { width: 100%; height: 100%; object-fit: cover; animation: kenburns 8s ease-out both; }
.result__body { padding-top: 18px; }
.result__name { font-size: clamp(2.6rem, 11vw, 3.6rem); font-weight: 800; line-height: .95; margin-bottom: 4px; }
.result__match { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 12px; font-size: .82rem; font-weight: 700; color: #0b7a72; background: #e2f8f5; padding: 4px 10px; border-radius: 999px; }
.result .ticks li { animation: rise .5s var(--ease) both; }
.result .ticks li:nth-child(1) { animation-delay: .25s; }
.result .ticks li:nth-child(2) { animation-delay: .35s; }
.result .ticks li:nth-child(3) { animation-delay: .45s; }
.result .ticks li:nth-child(4) { animation-delay: .55s; }
.result .ticks li:nth-child(5) { animation-delay: .65s; }
.result__alt { margin-top: 14px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: .92rem; }
.chip-btn { border: 1.5px solid var(--ink); background: #fff; border-radius: 999px; padding: 6px 14px; font-weight: 700; cursor: pointer; transition: background .2s, color .2s; }
.chip-btn:hover { background: var(--ink); color: #fff; }
.result__note { margin-top: 14px; font-size: .82rem; color: var(--muted); padding: 10px 12px; background: var(--sand); border-radius: 10px; }
.result__price { margin-top: 16px; }
.result__actions { display: grid; gap: 10px; margin-top: 14px; }
.result__again { justify-self: center; }
.result--none { text-align: center; padding: 10px 0 4px; }
.result--none .result__name { font-size: clamp(1.8rem, 7vw, 2.4rem); }
.result--none p { color: var(--muted); max-width: 46ch; margin: 10px auto 18px; }
.confetti { position: absolute; left: 50%; top: 30%; width: 10px; height: 14px; border-radius: 2px; pointer-events: none; z-index: 5; animation: fly 1.1s cubic-bezier(.15, .6, .35, 1) forwards; }

@media (min-width: 560px) { .quiz__opts { grid-template-columns: 1fr 1fr; } }
@media (min-width: 760px) {
  .quiz { padding: 28px; }
  .result { grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
  .result__media { aspect-ratio: 4 / 5; }
  .result__body { padding-top: 0; }
  .result--none { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important; transition-delay: 0s !important;
  }
  [data-reveal] { opacity: 1; transform: none; }
  .confetti { display: none; }
}
