/* Bello Premium Tours — demo */
:root {
  --ink: #0b2a3d;
  --ink-2: #3c5566;
  --muted: #6b7f8c;
  --navy: #0b3a57;
  --blue: #1e6fb8;
  --teal: #2bb3c0;
  --teal-deep: #138794;
  --orange: #f28c28;
  --coral: #e4572e;
  --sand: #fbf6ee;
  --sand-2: #f3eadb;
  --line: #e6ded1;
  --bg: #fffdf9;
  --card: #ffffff;
  --wa: #1fae58;
  --wa-dark: #178a45;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow: 0 1px 2px rgba(11, 42, 61, .06), 0 8px 24px rgba(11, 42, 61, .08);
  --shadow-lg: 0 24px 60px rgba(11, 42, 61, .25);
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --topbar-h: 68px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--topbar-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.12; margin: 0; letter-spacing: -.01em; }
h2 { font-size: clamp(1.8rem, 1.2rem + 2.4vw, 2.75rem); font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0; }
[hidden] { display: none !important; }

.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.ico { width: 1.25em; height: 1.25em; flex: none; }
.ico--lg { width: 1.9rem; height: 1.9rem; }

.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100; }
.skip:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

/* Botones */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  font: 700 1rem/1 var(--font-body);
  padding: .95em 1.4em; border-radius: 999px; border: 2px solid transparent;
  text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: transform .15s ease, background-color .2s ease, box-shadow .2s ease, color .2s;
}
.btn:active { transform: scale(.97); }
.btn--primary { background: var(--orange); color: #fff; box-shadow: 0 8px 22px rgba(242, 140, 40, .35); }
.btn--primary:hover { background: #e07a16; }
.btn--ghost { background: rgba(255, 255, 255, .14); color: #fff; border-color: rgba(255, 255, 255, .6); backdrop-filter: blur(6px); }
.btn--ghost:hover { background: rgba(255, 255, 255, .26); }
.btn--wa { background: var(--wa); color: #fff; }
.btn--wa:hover { background: var(--wa-dark); }
.btn--sm { padding: .7em 1.1em; font-size: .92rem; }
.btn--lg { padding: 1.1em 1.7em; font-size: 1.05rem; }
.btn--outline { background: transparent; color: var(--navy); border-color: var(--line); }
.btn--outline:hover { border-color: var(--navy); }

/* Barra superior */
.topbar {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--topbar-h);
  transition: background-color .25s ease, box-shadow .25s ease, color .25s;
  color: #fff;
}
.topbar.is-solid { background: rgba(255, 253, 249, .96); color: var(--ink); box-shadow: 0 1px 0 var(--line); backdrop-filter: blur(10px); }
.topbar__inner { height: 100%; display: flex; align-items: center; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; margin-right: auto; }
.brand__mark { width: 38px; height: 38px; filter: drop-shadow(0 2px 6px rgba(0,0,0,.15)); }
.brand__text { font-family: var(--font-display); font-size: 1.2rem; font-weight: 500; letter-spacing: -.01em; }
.brand__text strong { font-weight: 700; }
.nav { display: flex; gap: 26px; }
.nav a { text-decoration: none; font-weight: 600; font-size: .95rem; opacity: .9; }
.nav a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 2px; text-decoration-color: var(--orange); }
@media (max-width: 860px) { .nav { display: none; } }
@media (max-width: 420px) { .brand__text { font-size: 1.05rem; } .topbar .btn--sm span { display: none; } .topbar .btn--sm { padding: .7em; } }

/* Hero */
.hero { position: relative; min-height: 100svh; min-height: 100vh; display: flex; align-items: flex-end; color: #fff; isolation: isolate; }
@supports (min-height: 100svh) { .hero { min-height: 100svh; } }
.hero__bg, .hero__bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.hero__bg img { animation: heroZoom 18s ease-out both; }
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero__shade { position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(180deg, rgba(6, 30, 46, .55) 0%, rgba(6, 30, 46, 0) 22%),
  linear-gradient(0deg, rgba(6, 30, 46, .88) 0%, rgba(6, 30, 46, .45) 45%, rgba(6, 30, 46, 0) 75%); }
.hero__content { padding: calc(var(--topbar-h) + 40px) 0 clamp(48px, 9vh, 96px); }
.hero__kicker { font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .8rem; color: #ffd9b0; margin-bottom: 14px; }
.hero__title { font-size: clamp(2.6rem, 1.4rem + 6vw, 5.4rem); font-weight: 600; max-width: 14ch; text-wrap: balance; }
.hero__lead { margin-top: 18px; max-width: 54ch; font-size: clamp(1.02rem, .95rem + .4vw, 1.2rem); color: rgba(255, 255, 255, .92); }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero__rating { display: inline-flex; align-items: center; gap: 10px; margin-top: 28px; padding: 8px 16px 8px 12px; border-radius: 999px; background: rgba(255,255,255,.14); backdrop-filter: blur(8px); text-decoration: none; font-size: .92rem; }
.stars { color: #ffc24a; letter-spacing: 2px; }
@media (max-width: 520px) {
  .hero__cta .btn { width: 100%; }
}

/* Cifras */
.stats { background: var(--navy); color: #fff; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 28px 16px; text-align: center; display: grid; gap: 4px; justify-items: center; border-left: 1px solid rgba(255,255,255,.12); }
.stat:first-child { border-left: 0; }
.stat strong { font-family: var(--font-display); font-size: 2.2rem; font-weight: 600; line-height: 1.1; color: #fff; display: flex; align-items: center; min-height: 2.4rem; }
.stat span { font-size: .88rem; color: rgba(255,255,255,.75); }
@media (max-width: 760px) {
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .stat { padding: 22px 10px; }
  .stat:nth-child(3) { border-left: 0; }
  .stat:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.12); }
  .stat strong { font-size: 1.8rem; }
}

/* Secciones */
.section { padding: clamp(64px, 9vw, 112px) 0; }
.section--sand { background: var(--sand); }
.section__head { max-width: 680px; margin-bottom: 32px; }
.section__sub { margin-top: 12px; color: var(--ink-2); }
.eyebrow { font-weight: 800; font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: var(--teal-deep); margin-bottom: 10px; }

/* Filtros */
.filters { display: flex; gap: 8px; overflow-x: auto; padding: 4px 16px 12px; margin: 0 -16px 20px; scrollbar-width: none; scroll-snap-type: x proximity; }
.filters::-webkit-scrollbar { display: none; }
.chip {
  flex: none; scroll-snap-align: start; cursor: pointer;
  font: 700 .92rem/1 var(--font-body); color: var(--ink-2);
  padding: .8em 1.15em; border-radius: 999px; border: 1.5px solid var(--line); background: #fff;
  transition: all .18s ease;
}
.chip:hover { border-color: var(--teal); color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.chip__n { font-weight: 600; opacity: .6; margin-left: .35em; }

/* Tarjetas */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 24px; }
.card {
  background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  display: flex; flex-direction: column; transition: transform .25s ease, box-shadow .25s ease;
  animation: cardIn .45s ease both;
}
@keyframes cardIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.card:hover { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(11,42,61,.06), 0 18px 40px rgba(11,42,61,.14); }
.card__media { position: relative; aspect-ratio: 4 / 3; background: var(--sand-2); overflow: hidden; border: 0; padding: 0; cursor: pointer; display: block; width: 100%; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.card:hover .card__media img { transform: scale(1.05); }
.card__cat { position: absolute; top: 12px; left: 12px; background: rgba(255,255,255,.94); color: var(--navy); font-weight: 700; font-size: .75rem; padding: .45em .8em; border-radius: 999px; }
.card__photos { position: absolute; bottom: 12px; right: 12px; background: rgba(6,30,46,.65); color: #fff; font-size: .75rem; font-weight: 600; padding: .35em .7em; border-radius: 999px; }
.card__body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.card__title { font-size: 1.22rem; }
.card__title button { all: unset; cursor: pointer; }
.card__title button:focus-visible { outline: 3px solid var(--orange); outline-offset: 2px; border-radius: 4px; }
.card__desc { color: var(--ink-2); font-size: .94rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card__meta { display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .85rem; color: var(--muted); font-weight: 600; }
.card__meta span { display: inline-flex; align-items: center; gap: 5px; }
.card__meta .ico { width: 1.05em; height: 1.05em; color: var(--teal-deep); }
.card__foot { margin-top: auto; padding-top: 14px; border-top: 1px dashed var(--line); display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.price { display: grid; line-height: 1.15; }
.price__label { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; }
.price__value { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: var(--navy); }
.price__value small { font-family: var(--font-body); font-size: .72rem; font-weight: 700; color: var(--muted); margin-left: 3px; }
.card__actions { display: flex; gap: 8px; }
.card__actions .btn { padding: .75em 1em; font-size: .9rem; }
.btn--icon { width: 44px; height: 44px; padding: 0 !important; }

.fineprint { margin-top: 28px; font-size: .85rem; color: var(--muted); text-align: center; }
.empty { grid-column: 1 / -1; text-align: center; color: var(--muted); padding: 40px 0; }

/* Nosotros */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.about__media { position: relative; padding: 0 10% 12% 0; }
.about__media > picture img { border-radius: var(--radius); aspect-ratio: 4/5; object-fit: cover; width: 100%; box-shadow: var(--shadow); }
.about__media-sm { position: absolute; right: 0; bottom: 0; width: 46%; }
.about__media-sm img { border-radius: var(--radius-sm); aspect-ratio: 1; object-fit: cover; width: 100%; border: 6px solid var(--sand); box-shadow: var(--shadow-lg); }
.about__text h2 { margin-bottom: 18px; }
.about__desc { color: var(--ink-2); font-size: 1.05rem; }
.checks { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 14px; }
.checks li { display: flex; gap: 12px; align-items: flex-start; font-weight: 600; }
.checks .ico { color: #fff; background: var(--teal); border-radius: 50%; padding: 4px; width: 26px; height: 26px; margin-top: 1px; }
.mission { margin: 30px 0 0; padding: 18px 22px; border-left: 4px solid var(--orange); background: #fff; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; font-family: var(--font-display); font-size: 1.15rem; font-style: italic; color: var(--navy); }
@media (max-width: 860px) {
  .about { grid-template-columns: 1fr; }
  .about__media { max-width: 520px; }
}

/* Reseñas */
.reviews { display: grid; grid-template-columns: minmax(260px, 360px) 1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.reviews__score { background: var(--sand); border-radius: var(--radius); padding: 28px; }
.score { display: grid; justify-items: start; gap: 4px; margin-bottom: 20px; }
.score strong { font-family: var(--font-display); font-size: 4rem; line-height: 1; color: var(--navy); }
.score .stars { font-size: 1.3rem; }
.score__total { color: var(--muted); font-weight: 600; font-size: .92rem; }
.bars { display: grid; gap: 8px; }
.bar { display: grid; grid-template-columns: 26px 1fr 34px; align-items: center; gap: 10px; font-size: .85rem; font-weight: 700; color: var(--ink-2); }
.bar__track { height: 8px; border-radius: 99px; background: var(--sand-2); overflow: hidden; }
.bar__fill { display: block; height: 100%; background: linear-gradient(90deg, var(--orange), #ffc24a); border-radius: 99px; }
.bar__n { text-align: right; color: var(--muted); font-weight: 600; }
.reviews__body h3 { margin-bottom: 12px; }
.reviews__summary { font-size: 1.12rem; color: var(--ink-2); max-width: 62ch; }
.tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.tag { padding: .55em 1em; border-radius: 999px; background: #e7f6f8; color: var(--teal-deep); font-weight: 700; font-size: .88rem; }
.tag small { font-weight: 600; opacity: .75; margin-left: 4px; }
.reviewers { margin-top: 22px; color: var(--muted); font-size: .92rem; }
.reviewers strong { color: var(--ink); }
@media (max-width: 860px) { .reviews { grid-template-columns: 1fr; } }

/* CTA */
.cta { position: relative; color: #fff; text-align: center; padding: clamp(80px, 12vw, 140px) 0; isolation: isolate; overflow: hidden; }
.cta__bg, .cta__bg img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11,58,87,.55), rgba(6,30,46,.78)); }
.cta__content { display: grid; justify-items: center; gap: 16px; }
.cta p { max-width: 52ch; color: rgba(255,255,255,.9); font-size: 1.08rem; margin-bottom: 10px; }
@media (max-width: 520px) { .cta .btn { width: 100%; white-space: normal; } }

/* Contacto */
.contact { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: stretch; }
.contact__info h2 { margin-bottom: 24px; }
.contact__list { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.contact__item { display: flex; gap: 14px; align-items: flex-start; }
.contact__icon { width: 44px; height: 44px; border-radius: 12px; background: var(--sand); color: var(--blue); display: grid; place-items: center; flex: none; }
.contact__icon--wa { background: #e5f7ec; color: var(--wa-dark); }
.contact__label { font-size: .76rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 800; color: var(--muted); }
.contact__value { font-weight: 600; overflow-wrap: anywhere; }
.contact__value a { text-decoration: none; }
.contact__value a:hover { color: var(--blue); text-decoration: underline; }
.socials { display: flex; gap: 10px; margin-top: 26px; flex-wrap: wrap; }
.social { display: inline-flex; align-items: center; gap: 8px; padding: .65em 1.1em; border: 1.5px solid var(--line); border-radius: 999px; text-decoration: none; font-weight: 700; font-size: .92rem; transition: border-color .2s, color .2s; }
.social:hover { border-color: var(--blue); color: var(--blue); }
.contact__map { border-radius: var(--radius); overflow: hidden; min-height: 360px; background: var(--sand-2); box-shadow: var(--shadow); }
.contact__map iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } .contact__map, .contact__map iframe { min-height: 300px; } }

/* Footer */
.footer { background: var(--ink); color: rgba(255,255,255,.75); padding: 36px 0 calc(36px + env(safe-area-inset-bottom)); font-size: .9rem; }
.footer__inner { display: flex; flex-wrap: wrap; gap: 16px 32px; justify-content: space-between; align-items: center; }
.footer strong { color: #fff; font-family: var(--font-display); font-size: 1.1rem; }

/* WhatsApp flotante */
.fab {
  position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 40;
  width: 60px; height: 60px; border-radius: 50%; background: var(--wa); color: #fff;
  display: grid; place-items: center; box-shadow: 0 10px 30px rgba(31, 174, 88, .45);
  transition: transform .2s ease, opacity .25s ease;
}
.fab .ico { width: 32px; height: 32px; }
.fab:hover { transform: scale(1.07); }
.fab.is-hidden { opacity: 0; pointer-events: none; transform: translateY(20px); }

/* Modal */
.modal { padding: 0; border: 0; background: transparent; max-width: none; max-height: none; width: 100%; height: 100%; margin: 0; color: var(--ink); }
.modal::backdrop { background: rgba(6, 22, 34, .7); backdrop-filter: blur(3px); }
.modal[open] { display: flex; align-items: center; justify-content: center; }
.modal__box {
  position: relative; background: #fff; width: min(880px, 100% - 32px); max-height: calc(100% - 48px);
  border-radius: 22px; overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-lg);
  animation: modalIn .28s ease both;
}
@keyframes modalIn { from { opacity: 0; transform: translateY(24px) scale(.98); } to { opacity: 1; transform: none; } }
.modal__scroll { overflow-y: auto; overscroll-behavior: contain; flex: 1; }
.modal__close { position: absolute; top: 12px; right: 12px; z-index: 3; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255,255,255,.95); color: var(--ink); display: grid; place-items: center; cursor: pointer; box-shadow: 0 4px 14px rgba(0,0,0,.18); }
.modal__close:hover { background: #fff; transform: scale(1.05); }

.gallery { position: relative; background: #0d2330; flex: none; }
.gallery__track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; aspect-ratio: 16 / 10; max-height: 52vh; width: 100%; }
.gallery__track::-webkit-scrollbar { display: none; }
.gallery__slide { flex: 0 0 100%; scroll-snap-align: center; height: 100%; display: grid; place-items: center; }
.gallery__slide picture, .gallery__slide img { width: 100%; height: 100%; object-fit: cover; }
.gallery__nav { position: absolute; top: 50%; translate: 0 -50%; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: var(--ink); display: grid; place-items: center; cursor: pointer; box-shadow: 0 4px 14px rgba(0,0,0,.2); }
.gallery__nav--prev { left: 12px; }
.gallery__nav--prev .ico { transform: rotate(180deg); }
.gallery__nav--next { right: 12px; }
.gallery__nav:disabled { opacity: 0; pointer-events: none; }
.gallery__count { position: absolute; left: 14px; bottom: 12px; background: rgba(6,30,46,.7); color: #fff; font-size: .8rem; font-weight: 700; padding: .35em .75em; border-radius: 999px; }
.gallery__dots { position: absolute; bottom: 14px; left: 50%; translate: -50% 0; display: flex; gap: 6px; }

.modal__body { padding: 26px clamp(20px, 4vw, 36px) 12px; }
.modal__cat { font-weight: 800; font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-deep); margin-bottom: 8px; }
.modal__title { font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.2rem); margin-bottom: 12px; padding-right: 24px; }
.modal__desc { color: var(--ink-2); font-size: 1.05rem; }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; margin: 22px 0 6px; }
.fact { background: var(--sand); border-radius: var(--radius-sm); padding: 14px 16px; display: flex; gap: 12px; align-items: flex-start; }
.fact .ico { color: var(--blue); margin-top: 2px; }
.fact__label { font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 800; color: var(--muted); }
.fact__value { font-weight: 600; font-size: .95rem; }
.lists { display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; margin-top: 22px; }
.lists--single { grid-template-columns: 1fr; }
.lists h3 { font-family: var(--font-body); font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; font-weight: 800; color: var(--navy); margin-bottom: 12px; }
.lists ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.lists li { display: flex; gap: 10px; align-items: flex-start; font-size: .96rem; }
.lists li .ico { width: 20px; height: 20px; margin-top: 2px; border-radius: 50%; padding: 3px; }
.lists .yes .ico { background: #e3f6ea; color: var(--wa-dark); }
.lists .no .ico { background: #fde9e3; color: var(--coral); }
.note { margin-top: 22px; display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: var(--radius-sm); background: #fff6ea; color: #7a4a12; font-size: .94rem; font-weight: 500; }
.note .ico { color: var(--orange); margin-top: 2px; }
.note + .note { margin-top: 10px; }
.ask { margin-top: 20px; color: var(--muted); font-size: .95rem; }

.modal__footer { flex: none; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px clamp(20px, 4vw, 36px) calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: #fff; }

@media (max-width: 640px) {
  .modal__box { width: 100%; max-height: 100%; height: 100%; border-radius: 0; }
  .gallery__track { aspect-ratio: 4 / 3.2; max-height: 46vh; }
  .gallery__nav { display: none; }
  .lists { grid-template-columns: 1fr; }
  .modal__footer { gap: 12px; }
  .modal__footer .btn { flex: 1; min-width: 0; padding: .95em .8em; font-size: .95rem; }
  .modal__footer .price__value { font-size: 1.3rem; }
}

body.modal-open { overflow: hidden; }

/* ---------- Test ¿cuál elegir? ---------- */
.link { color: var(--blue); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(30,111,184,.35); }
.link:hover { text-decoration-color: currentColor; }
.section__head--center { margin-inline: auto; text-align: center; }
.quiz-section { background:
  radial-gradient(1000px 500px at 10% 0%, rgba(43,179,192,.20), transparent 60%),
  radial-gradient(900px 500px at 100% 100%, rgba(242,140,40,.16), transparent 60%),
  var(--sand); }
.quiz { max-width: 860px; margin-inline: auto; }
.quiz__card { background: #fff; border-radius: 24px; box-shadow: var(--shadow); padding: clamp(22px, 4vw, 40px); animation: quizIn .45s cubic-bezier(.2,.8,.2,1) both; }
.quiz__card[data-dir="-1"] { animation-name: quizInBack; }
@keyframes quizIn { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: none; } }
@keyframes quizInBack { from { opacity: 0; transform: translateX(-40px); } to { opacity: 1; transform: none; } }
.quiz__top { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; min-height: 32px; }
.quiz__step { font-weight: 800; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-deep); }
.quiz__back { border: 0; background: none; font: 700 .92rem var(--font-body); color: var(--ink-2); cursor: pointer; padding: 6px 4px; }
.quiz__back:hover { color: var(--blue); }
.quiz__progress { height: 6px; background: var(--sand-2); border-radius: 99px; overflow: hidden; }
.quiz__progress span { display: block; height: 100%; border-radius: 99px; background: linear-gradient(90deg, var(--teal), var(--blue)); transition: width .6s cubic-bezier(.2,.8,.2,1); }
.quiz__q { font-size: clamp(1.4rem, 1.1rem + 1.2vw, 1.9rem); margin: 26px 0 20px; }
.quiz__ops { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.quiz__ops--3 { grid-template-columns: repeat(3, 1fr); }
.quiz__op {
  display: grid; justify-items: start; gap: 4px; text-align: left; cursor: pointer;
  padding: 18px; border-radius: 16px; border: 2px solid var(--line); background: #fff; color: var(--ink);
  font-family: var(--font-body); transition: border-color .2s, transform .2s, box-shadow .2s, background-color .2s;
  animation: fadeUp .45s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(.08s + var(--k) * .06s);
}
.quiz__op:hover { border-color: var(--teal); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(11,42,61,.08); }
.quiz__op[aria-checked="true"] { border-color: var(--blue); background: #eef6fd; }
.quiz__op.is-picked { animation: pick .32s ease; }
@keyframes pick { 50% { transform: scale(.96); } }
.quiz__emoji { font-size: 1.9rem; line-height: 1; margin-bottom: 6px; }
.quiz__label { font-weight: 800; font-size: 1.02rem; }
.quiz__desc { font-size: .86rem; color: var(--muted); line-height: 1.4; }
@media (max-width: 640px) {
  .quiz__ops, .quiz__ops--3 { grid-template-columns: 1fr; }
  .quiz__op { grid-template-columns: auto 1fr; column-gap: 14px; align-items: center; padding: 14px 16px; }
  .quiz__emoji { grid-row: span 2; margin: 0; font-size: 1.7rem; }
}

.quiz__done { font-family: var(--font-display); font-size: clamp(1.35rem, 1.1rem + 1vw, 1.8rem); font-weight: 600; margin: 22px 0 12px; }
.quiz__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.quiz__chips span { background: var(--sand); border-radius: 99px; padding: .4em .9em; font-size: .82rem; font-weight: 700; color: var(--ink-2); }
.quiz__results { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.rec { position: relative; border: 1.5px solid var(--line); border-radius: 18px; overflow: hidden; display: flex; flex-direction: column; background: #fff; animation: fadeUp .55s cubic-bezier(.2,.8,.2,1) both; animation-delay: calc(.15s + var(--k) * .12s); }
.rec:first-child { border-color: var(--orange); box-shadow: 0 10px 30px rgba(242,140,40,.18); }
.rec__badge { position: absolute; z-index: 1; top: 10px; left: 10px; background: var(--orange); color: #fff; font-weight: 800; font-size: .72rem; padding: .45em .8em; border-radius: 99px; letter-spacing: .02em; }
.rec__media { border: 0; padding: 0; cursor: pointer; aspect-ratio: 16/10; overflow: hidden; display: block; width: 100%; background: var(--sand-2); }
.rec__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.rec:hover .rec__media img { transform: scale(1.05); }
.rec__body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.rec__cat { font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--teal-deep); }
.rec__title { font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; line-height: 1.2; margin: 0; }
.rec__why { list-style: none; margin: 0; padding: 0; display: grid; gap: 5px; font-size: .86rem; color: var(--ink-2); }
.rec__why li { display: flex; gap: 7px; align-items: flex-start; line-height: 1.35; }
.rec__why .ico { width: 16px; height: 16px; color: var(--wa-dark); margin-top: 1px; }
.rec__foot { margin-top: auto; padding-top: 10px; display: flex; justify-content: space-between; align-items: center; gap: 8px; flex-wrap: wrap; }
.rec__price { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--navy); }
.rec__price small { font-family: var(--font-body); font-size: .7rem; color: var(--muted); font-weight: 700; }
.quiz__note { margin-top: 16px; font-size: .9rem; color: #7a4a12; background: #fff6ea; border-radius: 12px; padding: 12px 14px; }
.quiz__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; align-items: center; }
@media (max-width: 860px) { .quiz__results { grid-template-columns: 1fr; } .rec { flex-direction: row; } .rec__media { width: 38%; aspect-ratio: auto; flex: none; } }
@media (max-width: 520px) {
  .rec { flex-direction: column; } .rec__media { width: 100%; aspect-ratio: 16/9; }
  .quiz__actions .btn { width: 100%; white-space: normal; }
}

/* ---------- Animaciones ---------- */
/* Hero: palabras del título que suben desde una máscara, una tras otra */
.hero__title .w { display: inline-block; overflow: hidden; vertical-align: bottom; padding-bottom: .08em; margin-bottom: -.08em; }
.hero__title .w > span { display: inline-block; transform: translateY(110%) rotate(4deg); animation: wordUp .9s cubic-bezier(.2, .8, .2, 1) forwards; animation-delay: calc(.35s + var(--i) * .12s); }
@keyframes wordUp { to { transform: none; } }
.hero__title .w--accent { filter: drop-shadow(0 2px 3px rgba(6, 30, 46, .55)) drop-shadow(0 0 18px rgba(6, 30, 46, .45)); }
.hero__title .w--accent > span {
  background: linear-gradient(100deg, #ff9d3d 0%, #ff7a2e 30%, #ffc98a 50%, #ff7a2e 70%, #ff9d3d 100%);
  background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: wordUp .9s cubic-bezier(.2, .8, .2, 1) forwards, shimmer 4.5s ease-in-out 1.6s infinite;
  animation-delay: calc(.35s + var(--i) * .12s), 1.6s;
}
@keyframes shimmer { 0%, 100% { background-position: 100% 0; } 50% { background-position: 0 0; } }

/* Kicker: letras que se abren */
.hero__kicker { animation: kickerIn 1.1s cubic-bezier(.2, .8, .2, 1) .1s both; }
@keyframes kickerIn { from { opacity: 0; letter-spacing: .5em; filter: blur(4px); } to { opacity: 1; letter-spacing: .14em; filter: none; } }

/* Resto del hero: aparece en cascada */
.hero__lead, .hero__cta, .hero__rating { animation: fadeUp .8s cubic-bezier(.2, .8, .2, 1) both; }
.hero__lead { animation-delay: .95s; }
.hero__cta { animation-delay: 1.15s; }
.hero__rating { animation-delay: 1.35s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }

/* Barra superior baja al cargar */
.topbar__inner { animation: dropIn .7s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes dropIn { from { opacity: 0; transform: translateY(-16px); } to { opacity: 1; transform: none; } }

/* Indicador de scroll */
.hero__scroll { position: absolute; left: 50%; bottom: 18px; translate: -50% 0; width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.7); border-radius: 14px; animation: fadeUp .8s 1.8s both; }
.hero__scroll::after { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: scrollDot 1.8s ease-in-out infinite; }
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }
@media (max-width: 760px) { .hero__scroll { display: none; } }

/* Aparición al hacer scroll */
.js-anim .reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s cubic-bezier(.2, .8, .2, 1), transform .8s cubic-bezier(.2, .8, .2, 1); transition-delay: var(--d, 0s); }
.js-anim .reveal--left { transform: translateX(-36px); }
.js-anim .reveal--right { transform: translateX(36px); }
.js-anim .reveal--zoom { transform: scale(.94); }
.js-anim .reveal.is-in { opacity: 1; transform: none; }
.card { animation: none; }
.js-anim .card.reveal { transition-property: opacity, transform, box-shadow; }
.js-anim .card.reveal.is-in:hover { transform: translateY(-4px); transition-delay: 0s; }

/* Barras de reseñas que se llenan */
.js-anim .bar__fill { width: 0 !important; transition: width 1.2s cubic-bezier(.2, .8, .2, 1); transition-delay: var(--d, 0s); }
.js-anim .bars.is-in .bar__fill { width: var(--w) !important; }

/* Estrellas que se encienden una a una */
.star { display: inline-block; }
.js-anim .is-in .star, .hero__rating .star { animation: starPop .5s cubic-bezier(.3, 1.6, .5, 1) both; animation-delay: calc(var(--d, 0s) + var(--s) * .09s); }
.js-anim .score:not(.is-in) .star { opacity: 0; animation: none; }
.hero__rating .star { --d: 1.5s; }
@keyframes starPop { from { opacity: 0; transform: scale(0) rotate(-40deg); } to { opacity: 1; transform: none; } }

/* Check de la lista "Por qué" */
.js-anim .checks li.reveal .ico { transform: scale(0); transition: transform .5s cubic-bezier(.3, 1.6, .5, 1) calc(var(--d, 0s) + .2s); }
.js-anim .checks li.reveal.is-in .ico { transform: none; }

/* Fotos del hero y del CTA con ligero parallax */
.cta__bg img { transform: translateY(var(--py, 0)) scale(1.12); will-change: transform; }

/* Pulso del botón de WhatsApp */
.fab::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--wa); z-index: -1; animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { 0% { transform: scale(1); opacity: .55; } 100% { transform: scale(1.7); opacity: 0; } }

/* Ficha del tour: contenido en cascada */
.modal[open] .modal__body > * { animation: fadeUp .5s cubic-bezier(.2, .8, .2, 1) both; }
.modal[open] .modal__body > :nth-child(2) { animation-delay: .05s; }
.modal[open] .modal__body > :nth-child(3) { animation-delay: .1s; }
.modal[open] .modal__body > :nth-child(4) { animation-delay: .15s; }
.modal[open] .modal__body > :nth-child(n+5) { animation-delay: .2s; }


@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
}
