/* Vereda Arenal — demo de Fuerte y Claro
   Identidad: "libreta de campo" — papel crema, verde selva, basalto volcánico,
   amarillo azufre/amanecer y rojo heliconia. Young Serif + Figtree. */

:root {
  --paper: #f4eee2;
  --paper-2: #ebe2cf;
  --card: #fbf8f1;
  --ink: #14382b;
  --ink-2: #0c241b;
  --basalt: #2b2724;
  --moss: #e1e6cf;
  --sun: #f2b33d;
  --sun-2: #e59f1f;
  --heli: #b8431d;
  --text: #1c2a23;
  --muted: #55625a;
  --line: rgba(20, 56, 43, .16);
  --map-bg: #e6e0cd;
  --map-line: rgba(20, 56, 43, .28);
  --map-water: #8fb7ae;
  --road: #c9b994;

  --f-display: "Young Serif", Georgia, "Times New Roman", serif;
  --f-body: "Figtree", system-ui, -apple-system, "Segoe UI", sans-serif;

  --r: 18px;
  --r-sm: 12px;
  --bar: 36px;
  --head: 60px;
  --shadow: 0 1px 2px rgba(12, 36, 27, .06), 0 10px 30px -12px rgba(12, 36, 27, .25);
  --ease: cubic-bezier(.2, .8, .2, 1);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--bar) + var(--head) + 12px); }
body {
  margin: 0; background: var(--paper); color: var(--text);
  font: 400 1rem/1.6 var(--f-body);
  padding-top: var(--bar);
  -webkit-font-smoothing: antialiased;
}
body.locked { overflow: hidden; }
img { max-width: 100%; display: block; height: auto; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--sun-2); outline-offset: 2px; border-radius: 6px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
[hidden] { display: none !important; }

.wrap { width: min(1180px, 100% - 32px); margin-inline: auto; }
.wrap--narrow { width: min(820px, 100% - 32px); }

.skip { position: fixed; left: 12px; top: calc(var(--bar) + 8px); z-index: 200; background: var(--sun); color: var(--ink-2); padding: 10px 16px; border-radius: 10px; font-weight: 700; transform: translateY(-400%); }
.skip:focus { transform: none; }

/* ---------- type ---------- */
.h2 { font: 400 clamp(1.75rem, 1.2rem + 2.4vw, 2.9rem)/1.08 var(--f-display); letter-spacing: -.01em; margin: 0 0 .5em; color: var(--ink); }
.h3 { font: 700 1.06rem/1.3 var(--f-body); margin: 0 0 .35em; color: var(--ink); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 .8rem;
  font: 700 .75rem/1 var(--f-body); letter-spacing: .14em; text-transform: uppercase; color: var(--heli);
}
.eyebrow::before { content: ""; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
.eyebrow--light { color: var(--sun); }
.hero .eyebrow { color: #fff; background: rgba(12, 36, 27, .62); padding: 7px 12px; border-radius: 999px; line-height: 1.3; backdrop-filter: blur(4px); }
.hero .eyebrow::before { background: var(--sun); }
.eyebrow .pin { display: none; }
.fineprint { font-size: .85rem; color: var(--muted); margin-top: 1.25rem; }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--ink); --fg: var(--paper);
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 44px; padding: 10px 20px; border-radius: 999px; border: 2px solid transparent;
  background: var(--bg); color: var(--fg); font-weight: 700; text-decoration: none; line-height: 1.1;
  transition: transform .2s var(--ease), background-color .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(1px) scale(.98); }
.btn--sun { --bg: var(--sun); --fg: var(--ink-2); box-shadow: 0 6px 18px -8px rgba(229, 159, 31, .9); }
.btn--sun:hover { --bg: #f6c158; }
.btn--ink { --bg: var(--ink); --fg: var(--paper); }
.btn--ghost { --bg: rgba(255, 255, 255, .12); --fg: #fff; border-color: rgba(255, 255, 255, .55); backdrop-filter: blur(6px); }
.btn--ghost:hover { --bg: rgba(255, 255, 255, .22); }
.btn--line { --bg: transparent; --fg: var(--ink); border-color: var(--ink); }
.btn--line:hover { --bg: rgba(20, 56, 43, .07); }
.btn--sm { min-height: 40px; padding: 8px 15px; font-size: .9rem; }
.btn--lg { min-height: 52px; padding: 14px 26px; font-size: 1.02rem; }
.btn--block { width: 100%; }
.link { background: none; border: 0; padding: 4px 0; color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.icon-btn { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 0; background: transparent; color: var(--ink); flex: none; }
.icon-btn:hover { background: rgba(20, 56, 43, .08); }
.icon-btn svg { width: 22px; height: 22px; }

/* ---------- demo bar ---------- */
.demobar {
  position: fixed; inset: 0 0 auto; z-index: 120; height: var(--bar);
  display: flex; align-items: center; justify-content: center; gap: 12px; padding: 0 12px;
  background: var(--basalt); color: #f4eee2; font-size: .78rem;
}
.demobar p { margin: 0; display: flex; align-items: center; gap: 8px; min-width: 0; line-height: 1.25; }
@media (max-width: 600px) {
  :root { --bar: 46px; }
  .demobar { justify-content: space-between; font-size: .74rem; }
}
.demobar__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--sun); flex: none; }
.demobar__cta { color: var(--sun); font-weight: 700; white-space: nowrap; text-underline-offset: 3px; flex: none; padding: 8px 0; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: var(--bar); z-index: 90; height: var(--head);
  background: rgba(244, 238, 226, .92); backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.site-header.is-scrolled { border-color: var(--line); box-shadow: 0 6px 20px -16px rgba(0, 0, 0, .5); }
.site-header__in { height: 100%; display: flex; align-items: center; gap: 12px; }
.logo { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink); margin: 0; }
.logo__mark { width: 34px; height: 34px; color: var(--ink); }
.logo__txt { font: 400 1.2rem/1 var(--f-display); letter-spacing: -.01em; }
.logo__txt b { font-weight: 400; color: var(--heli); margin-left: 2px; }
.nav { display: none; }
.header-tools { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.lang { display: inline-flex; padding: 3px; border-radius: 999px; background: rgba(20, 56, 43, .08); }
.lang button { border: 0; background: transparent; min-width: 40px; min-height: 36px; border-radius: 999px; font-weight: 800; font-size: .8rem; letter-spacing: .06em; color: var(--muted); }
.lang button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
.menu-btn { width: 44px; height: 44px; border: 0; background: transparent; border-radius: 50%; display: grid; place-content: center; gap: 6px; }
.menu-btn span { display: block; width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s var(--ease); }
.menu-open .menu-btn span:first-child { transform: translateY(4px) rotate(45deg); }
.menu-open .menu-btn span:last-child { transform: translateY(-4px) rotate(-45deg); }
.hide-sm { display: none; }

.menu-open .nav {
  display: flex; flex-direction: column; position: fixed; left: 0; right: 0; top: calc(var(--bar) + var(--head));
  background: var(--paper); padding: 8px 16px 20px; border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px -20px rgba(0, 0, 0, .4);
}
.menu-open .nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); text-decoration: none; font: 400 1.3rem/1.2 var(--f-display); color: var(--ink); }

@media (min-width: 900px) {
  .nav { display: flex; gap: 4px; margin-left: 20px; }
  .nav a { text-decoration: none; padding: 8px 12px; border-radius: 999px; font-weight: 600; font-size: .93rem; color: var(--ink); }
  .nav a:hover { background: rgba(20, 56, 43, .08); }
  .menu-btn { display: none; }
  .hide-sm { display: inline-flex; }
}

/* ---------- hero ---------- */
.hero { position: relative; min-height: calc(100svh - var(--bar) - var(--head)); display: flex; align-items: flex-end; color: #fff; overflow: hidden; background: var(--ink-2); }
.hero__img, .hero__img img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__img img { object-fit: cover; object-position: center 30%; animation: heroZoom 18s var(--ease) both; }
@keyframes heroZoom { from { transform: scale(1.08); } to { transform: scale(1); } }
.hero__shade { position: absolute; inset: 0; background:
  linear-gradient(180deg, rgba(12, 36, 27, .35) 0%, rgba(12, 36, 27, .25) 18%, rgba(12, 36, 27, .62) 40%, rgba(12, 36, 27, .9) 100%); }
@media (min-width: 900px) {
  .hero__shade { background:
    linear-gradient(90deg, rgba(12, 36, 27, .78) 0%, rgba(12, 36, 27, .45) 45%, rgba(12, 36, 27, 0) 75%),
    linear-gradient(180deg, rgba(12, 36, 27, 0) 50%, rgba(12, 36, 27, .6) 100%); }
}
.hero__content { position: relative; padding: 120px 0 84px; }
.hero__title { text-shadow: 0 2px 24px rgba(0, 0, 0, .35); font: 400 clamp(2.4rem, 1.4rem + 5vw, 5rem)/1.02 var(--f-display); margin: 0 0 18px; letter-spacing: -.02em; text-wrap: balance; max-width: 14ch; }
.hero__title em { font-style: normal; color: var(--sun); }
.hero__lead { font-size: clamp(1.02rem, .95rem + .4vw, 1.2rem); max-width: 54ch; margin: 0 0 26px; color: rgba(255, 255, 255, .92); }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__ctas .btn { flex: 1 1 200px; }
.hero__facts { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hero__facts li { font-size: .82rem; font-weight: 600; padding: 7px 12px 7px 10px; border-radius: 999px; background: rgba(12, 36, 27, .55); border: 1px solid rgba(255, 255, 255, .2); display: inline-flex; align-items: center; gap: 7px; }
.hero__facts li::before { content: ""; width: 7px; height: 7px; border-radius: 2px; transform: rotate(45deg); background: var(--sun); }
.hero__edge { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 40px; }
@media (min-width: 700px) {
  .hero__ctas .btn { flex: 0 0 auto; }
  .hero__content { padding-bottom: 110px; }
}

/* ---------- how ---------- */
.how { padding: 28px 0 8px; }
.how__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.how__list li { display: flex; gap: 14px; align-items: flex-start; }
.how__n { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%; border: 2px dashed var(--heli); color: var(--heli); font: 400 1.15rem/1 var(--f-display); }
.how h3 { font: 700 1rem/1.3 var(--f-body); margin: 6px 0 2px; color: var(--ink); }
.how p { margin: 0; color: var(--muted); font-size: .93rem; }
@media (min-width: 760px) { .how__list { grid-template-columns: repeat(3, 1fr); gap: 28px; } .how { padding-top: 40px; } }

/* ---------- sections ---------- */
.section { padding: 64px 0; position: relative; }
.section--ink { background: var(--ink); color: #e9efe6; }
.section--ink .h2 { color: #fff; }
.section--moss { background: var(--moss); }
.section__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px 24px; margin-bottom: 24px; }
.section__head .h2 { margin-bottom: 0; }
.section__aside { max-width: 40ch; margin: 0; color: rgba(233, 239, 230, .78); font-size: .93rem; }
@media (min-width: 900px) { .section { padding: 96px 0; } }

/* topographic texture on paper sections */
#tours::before, #ubicacion::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='360' height='360' viewBox='0 0 360 360'%3E%3Cg fill='none' stroke='%2314382b' stroke-opacity='.07' stroke-width='1.2'%3E%3Cpath d='M-20 80 C 60 40 120 120 200 80 S 320 30 380 70'/%3E%3Cpath d='M-20 110 C 60 70 120 150 200 110 S 320 60 380 100'/%3E%3Cpath d='M-20 140 C 60 100 120 180 200 140 S 320 90 380 130'/%3E%3Cpath d='M-20 250 C 70 220 140 290 220 250 S 330 210 380 240'/%3E%3Cpath d='M-20 280 C 70 250 140 320 220 280 S 330 240 380 270'/%3E%3C/g%3E%3C/svg%3E");
}
#tours > .wrap, #ubicacion > .wrap { position: relative; }

/* switch */
.switch { display: inline-flex; align-items: center; gap: 10px; font-size: .9rem; font-weight: 600; color: var(--ink); cursor: pointer; min-height: 44px; }
.switch input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.switch__track { width: 42px; height: 24px; border-radius: 999px; background: rgba(20, 56, 43, .2); position: relative; transition: background .2s; flex: none; }
.switch__track::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .3); transition: transform .2s var(--ease); }
.switch input:checked + .switch__track { background: var(--ink); }
.switch input:checked + .switch__track::after { transform: translateX(18px); }
.switch input:focus-visible + .switch__track { outline: 3px solid var(--sun-2); outline-offset: 2px; }

/* ---------- tours ---------- */
.tour-grid { display: grid; gap: 18px; }
@media (min-width: 680px) { .tour-grid { grid-template-columns: repeat(2, 1fr); gap: 22px; } }
@media (min-width: 1060px) { .tour-grid { grid-template-columns: repeat(3, 1fr); } }
.tour { background: var(--card); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; border: 1px solid rgba(20, 56, 43, .08); }
.tour__media { position: relative; padding: 0; border: 0; background: var(--paper-2); aspect-ratio: 4 / 3; overflow: hidden; display: block; width: 100%; }
.tour__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.tour:hover .tour__media img { transform: scale(1.05); }
.tour__num {
  position: absolute; left: 14px; top: 14px; min-width: 44px; height: 30px; padding: 0 10px; display: grid; place-items: center;
  background: var(--sun); color: var(--ink-2); font: 800 .8rem/1 var(--f-body); letter-spacing: .08em;
  clip-path: polygon(0 0, 85% 0, 100% 50%, 85% 100%, 0 100%); padding-right: 16px;
}
.tour__body { padding: 18px 18px 18px; display: flex; flex-direction: column; flex: 1; }
.tour__name { font: 400 1.45rem/1.15 var(--f-display); margin: 0 0 6px; color: var(--ink); }
.tour__short { margin: 0 0 14px; color: var(--muted); font-size: .95rem; }
.tour__meta { list-style: none; margin: 0 0 16px; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: .85rem; font-weight: 600; color: var(--ink); }
.tour__meta li { display: inline-flex; align-items: center; gap: 6px; }
.tour__meta svg { width: 17px; height: 17px; color: var(--heli); }
.tour__foot { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-top: 14px; border-top: 1px dashed var(--line); }
.tour__price { margin: 0; line-height: 1.2; }
.tour__price strong { font: 400 1.6rem/1 var(--f-display); color: var(--ink); }
.tour__pp { font-size: .8rem; color: var(--muted); }
.tour__kid { display: block; font-size: .8rem; color: var(--muted); margin-top: 3px; }
.crc { display: block; font-size: .78rem; color: var(--heli); font-weight: 600; margin-top: 2px; }
.tour__btns { display: flex; gap: 8px; }

.diff { display: inline-flex; gap: 3px; margin-right: 5px; vertical-align: middle; }
.diff span { width: 6px; height: 14px; border-radius: 2px; background: rgba(20, 56, 43, .18); transform: skewX(-12deg); }
.diff[data-d="1"] span:nth-child(-n+1), .diff[data-d="2"] span:nth-child(-n+2), .diff[data-d="3"] span { background: var(--heli); }

/* ---------- gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; gap: 8px; grid-auto-flow: dense; }
.g { position: relative; padding: 0; border: 0; border-radius: var(--r-sm); overflow: hidden; background: var(--ink-2); }
.g img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), opacity .3s; }
.g:hover img { transform: scale(1.06); }
.g--wide { grid-column: span 2; }
.g--tall { grid-row: span 2; }
.g__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 10px 8px; font-size: .78rem; font-weight: 600; text-align: left; color: #fff; background: linear-gradient(transparent, rgba(0, 0, 0, .65)); }
@media (min-width: 760px) { .gallery { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; gap: 12px; } }

/* ---------- info ---------- */
.info-grid { display: grid; gap: 18px; margin-top: 8px; }
@media (min-width: 900px) { .info-grid { grid-template-columns: 5fr 7fr; gap: 28px; } }
.card { background: var(--card); border-radius: var(--r); padding: 22px; box-shadow: var(--shadow); }
.card--bring { background: var(--ink); color: #eef2ea; }
.card--bring .h3 { color: var(--sun); font: 400 1.5rem/1.1 var(--f-display); margin-bottom: 14px; }
.bring { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; }
.bring li { display: flex; gap: 10px; align-items: flex-start; padding: 9px 0; border-bottom: 1px dashed rgba(255, 255, 255, .16); }
.bring li:last-child { border-bottom: 0; }
.bring svg { width: 20px; height: 20px; color: var(--sun); flex: none; margin-top: 2px; }
.policies { display: grid; gap: 12px; }
@media (min-width: 600px) { .policies { grid-template-columns: 1fr 1fr; } }
.policy { display: flex; gap: 14px; padding: 18px; background: var(--card); border-radius: var(--r); border: 1px solid rgba(20, 56, 43, .08); }
.policy p { margin: 0; color: var(--muted); font-size: .93rem; }
.policy__ic { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--moss); color: var(--ink); }
.policy__ic svg { width: 22px; height: 22px; }
.reviews-ph { margin-top: 22px; display: flex; gap: 14px; padding: 20px; border: 2px dashed rgba(20, 56, 43, .3); border-radius: var(--r); color: var(--muted); align-items: flex-start; }
.reviews-ph svg { width: 28px; height: 28px; flex: none; color: var(--heli); }
.reviews-ph p { margin: 0; }

/* ---------- faq ---------- */
.faq { display: grid; gap: 10px; }
.qa { background: var(--card); border-radius: var(--r-sm); border: 1px solid rgba(20, 56, 43, .1); }
.qa summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 16px 18px; font-weight: 700; color: var(--ink); min-height: 56px; }
.qa summary::-webkit-details-marker { display: none; }
.qa summary i { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--moss); position: relative; transition: transform .25s var(--ease); }
.qa summary i::before, .qa summary i::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--ink); transform: translate(-50%, -50%); border-radius: 2px; }
.qa summary i::after { transform: translate(-50%, -50%) rotate(90deg); transition: transform .25s var(--ease); }
.qa[open] summary i::after { transform: translate(-50%, -50%) rotate(0); }
.qa p { margin: 0; padding: 0 18px 18px; color: var(--muted); }

/* ---------- location ---------- */
.loc { display: grid; gap: 28px; align-items: center; }
@media (min-width: 900px) { .loc { grid-template-columns: 1fr 1.1fr; gap: 56px; } }
.loc__text p { color: var(--muted); }
.loc__dl { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 20px 0 24px; }
.loc__dl dt { font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; color: var(--heli); }
.loc__dl dd { margin: 4px 0 0; font-weight: 600; color: var(--ink); font-size: .93rem; }
.map { margin: 0; }
.map svg { width: 100%; height: auto; border-radius: var(--r); box-shadow: var(--shadow); display: block; }
.map__label { font: 700 15px var(--f-body); fill: var(--ink); }
.map__label--sm { font-size: 12px; font-weight: 600; fill: var(--ink); }
.map figcaption { font-size: .82rem; color: var(--muted); margin-top: 10px; }

/* ---------- final ---------- */
.final { position: relative; color: #fff; overflow: hidden; padding: 96px 0; text-align: center; background: var(--ink-2); }
.final img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.final__shade { position: absolute; inset: 0; background: linear-gradient(rgba(12, 36, 27, .72), rgba(12, 36, 27, .82)); }
.final__in { position: relative; }
.final .h2 { color: #fff; }
.final p { max-width: 46ch; margin: 0 auto 26px; color: rgba(255, 255, 255, .9); }
.final .hero__ctas { justify-content: center; }

/* ---------- footer ---------- */
.footer { background: var(--basalt); color: #d9d3c6; padding: 40px 0 120px; font-size: .92rem; }
.footer__in { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 20px; padding-bottom: 22px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
.logo--foot { color: #fff; }
.logo--foot b { color: var(--sun); }
.footer__muted { color: #a9a294; margin: 6px 0 0; font-size: .85rem; }
.footer__links { display: flex; flex-wrap: wrap; gap: 6px 20px; align-items: center; }
.footer__links a, .footer__links .link { color: #f4eee2; text-decoration: none; font-weight: 600; padding: 8px 0; }
.footer__links a:hover, .footer__links .link:hover { text-decoration: underline; }
.footer__demo { padding-top: 18px; }
.footer__demo p { margin: 0 0 6px; }
.footer__demo a { color: var(--sun); }
@media (min-width: 900px) { .footer { padding-bottom: 40px; } }

/* ---------- mobile bar ---------- */
.mbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 80; display: flex; gap: 10px; padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  background: rgba(244, 238, 226, .94); backdrop-filter: blur(10px); border-top: 1px solid var(--line);
}
.mbar__book { flex: 1; min-height: 50px; }
.mbar__wa { width: 50px; height: 50px; border-radius: 50%; border: 2px solid var(--ink); background: transparent; color: var(--ink); display: grid; place-items: center; flex: none; }
.mbar__wa svg { width: 24px; height: 24px; }
@media (min-width: 900px) {
  .mbar { left: auto; right: 22px; bottom: 22px; background: none; border: 0; backdrop-filter: none; padding: 0; }
  .mbar__book { display: none; }
  .mbar__wa { width: 58px; height: 58px; background: var(--ink); color: var(--paper); border: 0; box-shadow: var(--shadow); }
}

/* ---------- dialogs (shared) ---------- */
dialog { padding: 0; border: 0; color: var(--text); max-width: none; max-height: none; }
dialog::backdrop { background: rgba(12, 24, 19, .6); backdrop-filter: blur(3px); }

.sheet {
  margin: auto 0 0; width: 100%; max-height: 92dvh; border-radius: 22px 22px 0 0; background: var(--paper); overflow: hidden;
}
.sheet[open] { display: flex; flex-direction: column; animation: sheetUp .38s var(--ease); }
@keyframes sheetUp { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.sheet__in { overflow-y: auto; overscroll-behavior: contain; display: flex; flex-direction: column; }
@media (min-width: 760px) {
  .sheet { margin: auto; width: min(680px, 100% - 48px); max-height: 88vh; border-radius: 22px; }
}

/* tour detail */
.ts__media { position: relative; aspect-ratio: 16 / 10; background: var(--ink-2); flex: none; }
.ts__media img { width: 100%; height: 100%; object-fit: cover; }
.icon-btn--float { position: absolute; top: 12px; right: 12px; background: rgba(244, 238, 226, .92); }
.icon-btn--float:hover { background: #fff; }
.ts__body { padding: 22px 20px 8px; }
.ts__title { margin-bottom: 14px; }
.ts__facts { list-style: none; padding: 0; margin: 0 0 18px; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border-radius: var(--r-sm); overflow: hidden; }
.ts__facts li { background: var(--card); padding: 10px 12px; display: flex; flex-direction: column; gap: 2px; }
.ts__facts span { font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 700; }
.ts__facts strong { color: var(--ink); font-size: .95rem; }
.ts__desc { margin: 0 0 20px; }
.checks { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 6px; }
.checks li { display: flex; gap: 8px; align-items: flex-start; }
.checks svg { width: 20px; height: 20px; color: var(--heli); flex: none; margin-top: 2px; }
.ts__pickup { display: flex; gap: 8px; margin: 0 0 20px; color: var(--muted); }
.ts__pickup svg { width: 20px; height: 20px; flex: none; color: var(--heli); margin-top: 2px; }
.ts__prices { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 12px; }
.ts__prices div { background: var(--moss); border-radius: var(--r-sm); padding: 12px 14px; }
.ts__prices span { display: block; font-size: .8rem; color: var(--muted); font-weight: 600; }
.ts__prices strong { font: 400 1.6rem/1.1 var(--f-display); color: var(--ink); }
.ts__cta { position: sticky; bottom: 0; padding: 12px 20px calc(14px + env(safe-area-inset-bottom)); background: linear-gradient(rgba(244, 238, 226, 0), var(--paper) 30%); }

/* ---------- booking ---------- */
.sheet--book { height: 100dvh; max-height: 100dvh; border-radius: 0; }
@media (min-width: 760px) { .sheet--book { height: min(780px, 92vh); max-height: 92vh; border-radius: 22px; } }
.book { display: flex; flex-direction: column; height: 100%; min-height: 0; flex: 1; }
.book__head { display: flex; align-items: center; gap: 6px; padding: 10px 8px 8px; }
.book__titles { flex: 1; text-align: center; min-width: 0; }
.book__step { margin: 0; font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--heli); }
.book__title { margin: 2px 0 0; font: 400 1.35rem/1.2 var(--f-display); color: var(--ink); }
.book__progress { height: 4px; background: var(--paper-2); margin: 0 16px; border-radius: 4px; overflow: hidden; flex: none; }
.book__progress span { display: block; height: 100%; background: var(--sun-2); border-radius: 4px; transition: width .35s var(--ease); }
.book__body { flex: 1; overflow-y: auto; overscroll-behavior: contain; padding: 18px 16px 12px; min-height: 0; }
.book__ctx { margin: 0 0 14px; font-size: .88rem; color: var(--muted); font-weight: 600; }
.book__error { margin: 0; padding: 0 16px; color: #a32a12; font-weight: 700; font-size: .9rem; min-height: 0; }
.book__error:not(:empty) { padding: 10px 16px; background: #fbe6dc; }
.book__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: var(--card); flex: none; }
.book__total { display: flex; flex-direction: column; line-height: 1.1; min-width: 0; }
.book__total-l { white-space: nowrap; font-size: .74rem; color: var(--muted); font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.book__total strong { font: 400 1.6rem/1.15 var(--f-display); color: var(--ink); }
.book__total-crc { font-size: .78rem; color: var(--heli); font-weight: 600; }
.book__foot .btn { flex: 0 1 auto; padding-inline: 20px; }

/* step 1: tour pick */
.pick { border: 0; margin: 0; padding: 0; display: grid; gap: 10px; }
.pick__opt { display: flex; align-items: center; gap: 12px; padding: 8px; padding-right: 14px; border-radius: 14px; background: var(--card); border: 2px solid transparent; cursor: pointer; position: relative; box-shadow: 0 1px 2px rgba(0, 0, 0, .05); transition: border-color .15s, background .15s; }
.pick__opt input { position: absolute; opacity: 0; }
.pick__opt img { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; flex: none; }
.pick__txt { flex: 1; display: flex; flex-direction: column; min-width: 0; }
.pick__txt strong { color: var(--ink); font-size: 1rem; }
.pick__txt span { font-size: .84rem; color: var(--muted); }
.pick__price { font: 400 1.15rem/1 var(--f-display); color: var(--ink); }
.pick__opt:has(input:checked) { border-color: var(--ink); background: #fff; }
.pick__opt:has(input:checked)::after { content: ""; position: absolute; top: 6px; left: 6px; width: 20px; height: 20px; border-radius: 50%; background: var(--sun) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.2 4.2L19 7' fill='none' stroke='%230c241b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/14px no-repeat; }
.pick__opt:has(input:focus-visible) { outline: 3px solid var(--sun-2); outline-offset: 2px; }

/* fields */
.lbl { display: block; font-size: .84rem; font-weight: 700; color: var(--ink); margin: 0 0 6px; padding: 0; }
.field { display: block; margin-bottom: 14px; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 12px; border: 1.5px solid rgba(20, 56, 43, .25); background: #fff;
  font-size: 16px; /* evita zoom en iOS */ transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 70px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(242, 179, 61, .55); }
.hint { font-size: .84rem; color: var(--muted); margin: 0 0 12px; }
.hint--box { background: var(--moss); padding: 12px 14px; border-radius: 12px; margin-top: 14px; color: var(--ink); }

/* dates */
.dates { display: flex; gap: 8px; overflow-x: auto; padding: 2px 2px 10px; margin: 0 -2px 10px; scroll-snap-type: x mandatory; }
.chip-date { flex: none; width: 64px; padding: 8px 0; border-radius: 14px; border: 1.5px solid rgba(20, 56, 43, .2); background: var(--card); display: flex; flex-direction: column; align-items: center; line-height: 1.15; scroll-snap-align: start; }
.chip-date span { font-size: .72rem; text-transform: uppercase; color: var(--muted); font-weight: 700; letter-spacing: .05em; }
.chip-date strong { font: 400 1.45rem/1.2 var(--f-display); color: var(--ink); }
.chip-date.is-on { background: var(--ink); border-color: var(--ink); }
.chip-date.is-on span, .chip-date.is-on strong { color: var(--paper); }
.times { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.times legend { width: 100%; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; }
.chip span { display: inline-flex; align-items: center; min-height: 46px; padding: 0 18px; border-radius: 999px; border: 1.5px solid rgba(20, 56, 43, .25); background: var(--card); font-weight: 700; cursor: pointer; }
.chip input:checked + span { background: var(--sun); border-color: var(--sun-2); color: var(--ink-2); }
.chip input:focus-visible + span { outline: 3px solid var(--sun-2); outline-offset: 2px; }

/* people */
.stepper { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.stepper__l { margin: 0; font-weight: 700; color: var(--ink); font-size: 1.05rem; }
.stepper__h { margin: 0; font-size: .84rem; color: var(--muted); }
.stepper__ctl { display: flex; align-items: center; gap: 10px; }
.stepper__ctl output { min-width: 28px; text-align: center; font: 400 1.5rem/1 var(--f-display); color: var(--ink); }
.round { width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid var(--ink); background: var(--card); color: var(--ink); display: grid; place-items: center; transition: background .15s, transform .1s; }
.round:active { transform: scale(.92); }
.round svg { width: 20px; height: 20px; }
.round:disabled { opacity: .3; cursor: not-allowed; }
.stepper + .hint { margin-top: 12px; }
.calc { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; padding: 14px; border-radius: 12px; background: var(--moss); color: var(--ink); font-weight: 600; }
.calc strong { font: 400 1.25rem/1 var(--f-display); margin-left: auto; }

/* pickup segmented */
.seg { border: 0; margin: 0 0 16px; padding: 0; display: grid; gap: 8px; }
.seg__opt { position: relative; }
.seg__opt input { position: absolute; opacity: 0; }
.seg__opt span { display: flex; align-items: center; gap: 10px; min-height: 56px; padding: 0 16px; border-radius: 14px; border: 2px solid rgba(20, 56, 43, .18); background: var(--card); font-weight: 700; color: var(--ink); cursor: pointer; }
.seg__opt svg { width: 22px; height: 22px; color: var(--heli); }
.seg__opt input:checked + span { border-color: var(--ink); background: #fff; box-shadow: inset 0 0 0 1px var(--ink); }
.seg__opt input:focus-visible + span { outline: 3px solid var(--sun-2); outline-offset: 2px; }
@media (min-width: 520px) { .seg { grid-template-columns: 1fr 1fr; } }

/* summary */
.sum__hero { display: flex; gap: 14px; align-items: center; margin-bottom: 14px; }
.sum__hero img { width: 76px; height: 76px; object-fit: cover; border-radius: 14px; }
.sum__hero > div { display: flex; flex-direction: column; align-items: flex-start; }
.sum__hero .eyebrow { margin-bottom: 4px; }
.sum__hero strong { font: 400 1.35rem/1.15 var(--f-display); color: var(--ink); }
.sum { margin: 0; background: var(--card); border-radius: 14px; padding: 4px 14px; }
.sum__row { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.sum__row:last-child { border-bottom: 0; }
.sum__row dt { grid-column: 1; font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; font-weight: 700; color: var(--heli); }
.sum__row dd { grid-column: 1; margin: 0; color: var(--ink); font-weight: 600; overflow-wrap: anywhere; }
.sum__row dd small { color: var(--muted); font-weight: 500; font-size: .85rem; }
.sum__row .link { grid-column: 2; grid-row: 1 / span 2; align-self: center; font-size: .88rem; min-height: 44px; }

/* ---------- demo modal ---------- */
.modal { margin: auto; width: min(520px, 100% - 24px); border-radius: 22px; background: var(--paper); max-height: 90dvh; }
.modal[open] { animation: pop .3s var(--ease); }
@keyframes pop { from { transform: scale(.96); opacity: 0; } to { transform: none; opacity: 1; } }
.modal__in { padding: 24px 20px 20px; position: relative; overflow-y: auto; max-height: 90dvh; }
.modal__x { position: absolute; top: 8px; right: 8px; }
.modal__badge { display: inline-block; margin: 0 0 12px; padding: 5px 10px; border-radius: 999px; background: var(--basalt); color: var(--sun); font-size: .74rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.modal .h3 { padding-right: 36px; font-size: 1.1rem; }
.modal__msg {
  white-space: pre-wrap; word-break: break-word; margin: 12px 0; padding: 14px 16px; border-radius: 14px 14px 14px 4px;
  background: #dcf3d0; color: #102a1c; font: 500 .9rem/1.5 var(--f-body); max-height: 42dvh; overflow: auto; border: 1px solid rgba(16, 42, 28, .1);
}
.modal__note { font-size: .85rem; color: var(--muted); margin: 0 0 16px; }
.modal__actions { display: flex; flex-direction: column; gap: 10px; }
@media (min-width: 520px) { .modal__actions { flex-direction: row; } .modal__actions .btn { flex: 1; } .modal__in { padding: 28px; } }

/* ---------- lightbox ---------- */
.lightbox { width: 100%; height: 100%; margin: 0; background: rgba(8, 18, 14, .96); color: #fff; }
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: rgba(8, 18, 14, .9); }
.lightbox figure { margin: 0; padding: 60px 12px; max-width: 100%; display: flex; flex-direction: column; align-items: center; }
.lightbox img { max-height: calc(100dvh - 160px); max-width: min(1200px, 100%); width: auto; object-fit: contain; border-radius: 10px; }
.lightbox figcaption { margin-top: 12px; font-size: .9rem; color: #d9e2da; }
.lightbox .icon-btn { position: fixed; color: #fff; background: rgba(255, 255, 255, .12); }
.lightbox .icon-btn:hover { background: rgba(255, 255, 255, .24); }
.lb-close { top: 14px; right: 14px; }
.lb-prev { left: 12px; bottom: 20px; }
.lb-next { right: 12px; bottom: 20px; }
@media (min-width: 760px) { .lb-prev, .lb-next { top: 50%; bottom: auto; transform: translateY(-50%); } }

/* ---------- small screens ---------- */
@media (max-width: 380px) {
  .demobar { font-size: .72rem; gap: 8px; }
  .logo__txt { font-size: 1.05rem; }
  .logo__mark { width: 28px; height: 28px; }
  .lang button { min-width: 36px; }
  .tour__btns { width: 100%; }
  .tour__btns .btn { flex: 1; }
  .book__foot .btn { padding-inline: 14px; font-size: .95rem; }
}

/* ---------- entrance animation (only with JS + motion OK) ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .tour { animation: rise .6s var(--ease) both; animation-delay: calc(var(--i, 0) * 60ms); }
  @keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Disponibilidad (salidas llenas o bloqueadas desde el panel) */
.chip-date:disabled, .chip-date.is-full { opacity: .45; cursor: not-allowed; border-style: dashed; }
.chip-date.is-full strong { text-decoration: line-through; }
.chip__left { font-weight: 600; font-size: .78rem; color: #a32a12; }
.chip input:checked + span .chip__left { color: inherit; }
.times > .hint { width: 100%; margin: 0; }

/* Logo (SVG en img/logo.svg) */
.logo-img { display: block; flex: none; width: 34px; height: 34px; }
