/* Conversion funnel · 2026-08-07 */
:root { --dock-green:#8fc45f; --dock-ink:#111510; }
html { scroll-padding-bottom: 118px; }
html, body { overflow-x:clip; }
body { padding-bottom: 108px; }
.mobile-cta[hidden] { display:none !important; }

.hero,
.mini-hero { min-height:clamp(610px, 78svh, 760px) !important; }
.hero .hero-copy { max-width:780px; }
.hero-actions .button.primary,
.top-cta { white-space:nowrap; }

.funnel-proof {
  display:flex; align-items:center; justify-content:center; gap:10px;
  min-height:58px; padding:12px 20px; color:#111510; background:#f0f4eb;
  border-bottom:1px solid #d7dfcf; text-decoration:none;
}
.funnel-proof span { color:#598b36; letter-spacing:2px; }
.funnel-proof strong { font-size:1.02rem; }
.funnel-proof small { color:#4d5449; }

#reservar { padding-top:clamp(34px, 5vw, 70px); padding-bottom:clamp(42px, 6vw, 82px); }
#reservar .route-finder > h2 { max-width:780px; margin-bottom:10px; }
#reservar .route-finder > p:not(.eyebrow):not(.route-prompt) { max-width:680px; }
.route-choices { gap:12px; }
.route-choice {
  min-height:112px; border:1px solid rgba(17,21,16,.16); border-radius:18px;
  transition:border-color .2s ease, transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.route-choice:hover { transform:translateY(-2px); box-shadow:0 14px 34px rgba(24,38,18,.10); }
.route-choice[aria-pressed="true"] {
  border-color:#639a3d; background:#f0f7e9; box-shadow:0 0 0 3px rgba(124,180,78,.18);
}
.route-choice[aria-pressed="true"]::after { content:'Elegido ✓'; color:#47762d; font-weight:800; font-size:.78rem; }
.route-details { border-radius:20px; }
.trial-booking { scroll-margin-top:92px; }
.trial-fallback { display:inline-flex; margin-top:12px; color:#315f20; font-weight:850; text-decoration:underline; text-underline-offset:4px; }

.booking-dock {
  --dock-progress:0%;
  position:fixed; z-index:1100; left:50%; bottom:16px; width:min(760px, calc(100% - 28px));
  transform:translateX(-50%); display:grid; grid-template-columns:1fr auto; align-items:center;
  gap:16px; padding:18px 18px 14px; color:#fff; background:rgba(17,21,16,.96);
  border:1px solid rgba(255,255,255,.16); border-radius:22px;
  box-shadow:0 22px 70px rgba(0,0,0,.30); backdrop-filter:blur(18px);
  transition:transform .25s ease, opacity .25s ease;
}
.dock-progress { position:absolute; inset:0 0 auto; height:5px; overflow:hidden; border-radius:22px 22px 0 0; background:rgba(255,255,255,.12); }
.dock-progress i { display:block; width:var(--dock-progress); height:100%; background:linear-gradient(90deg,#78b34e,#a7d76f); transition:width .35s ease; }
.dock-copy { display:grid; gap:2px; min-width:0; }
.dock-copy small { color:#b8c4b2; font-size:.72rem; font-weight:800; text-transform:uppercase; letter-spacing:.08em; }
.dock-copy strong { overflow:hidden; font-size:1rem; line-height:1.2; text-overflow:ellipsis; white-space:nowrap; }
.dock-action {
  display:inline-flex; align-items:center; justify-content:center; min-height:44px; padding:0 20px;
  color:#0e140b; background:var(--dock-green); border-radius:999px; font-weight:900; text-decoration:none;
}
.booking-dock.is-complete { background:#24461c; }
.booking-dock.is-complete .dock-action { background:#fff; }
body.consent-open .booking-dock { transform:translate(-50%, 160%); opacity:0; pointer-events:none; }

.cookie {
  position:fixed; z-index:1200; left:50%; bottom:18px; width:min(900px, calc(100% - 28px));
  transform:translateX(-50%); display:grid; grid-template-columns:1fr auto; align-items:center; gap:20px;
  padding:20px; color:#fff; background:#151915; border:1px solid rgba(255,255,255,.15); border-radius:20px;
  box-shadow:0 24px 80px rgba(0,0,0,.38);
}
.cookie[hidden] { display:none !important; }
.cookie strong { font-size:1.05rem; }
.cookie p { margin:4px 0 0; color:#c8cec4; font-size:.9rem; }
.cookie-actions { display:flex; gap:8px; }
.cookie-actions .button { min-height:42px; padding:0 16px; }
footer button, .site-footer button { padding:0; color:inherit; background:none; border:0; font:inherit; cursor:pointer; }

@media (max-width:720px) {
  html { scroll-padding-bottom:126px; }
  body { padding-bottom:116px; }
  .hero, .mini-hero { min-height:620px !important; }
  .topbar .top-cta { display:none !important; }
  .hero-actions .button.primary { width:100%; }
  .funnel-proof { flex-wrap:wrap; gap:5px 9px; text-align:center; }
  .funnel-proof small { width:100%; }
  #reservar { padding-top:32px; }
  .route-choices { grid-template-columns:1fr !important; }
  .route-choice { min-height:92px; padding:18px; }
  .booking-dock {
    bottom:0; width:100%; grid-template-columns:1fr auto; gap:10px;
    padding:15px max(14px, env(safe-area-inset-right)) calc(12px + env(safe-area-inset-bottom)) max(14px, env(safe-area-inset-left));
    border-width:1px 0 0; border-radius:18px 18px 0 0;
  }
  .dock-copy strong { max-width:205px; font-size:.9rem; }
  .dock-action { min-height:42px; padding:0 16px; font-size:.88rem; }
  .cookie { bottom:10px; grid-template-columns:1fr; gap:14px; padding:18px; }
  .cookie-actions { display:grid; grid-template-columns:1fr 1fr; }
}

@media (prefers-reduced-motion:reduce) {
  .route-choice, .dock-progress i, .booking-dock { transition:none; }
}
