/* Turismo Montt · el lago y el sol del sur. Una página pensada para el teléfono; cada tour se lee etapa por etapa. */
:root {
  --tinta: #0e2230;
  --lago: #0f5d7a;
  --turquesa: #2bb7b0;
  --sol: #f6d548;
  --gris: #5d6b76;
  --linea: #e2e6ea;
  --papel: #f5f3ee;
  --blanco: #fff;
  --wa: #1fa855;
  --r: 16px;
  --sombra: 0 1px 2px rgba(14, 34, 48, .06), 0 8px 24px rgba(14, 34, 48, .08);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; } /* el viaje es display:grid en escritorio: sin esto tapa la página */
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--papel); color: var(--tinta); font: 500 16px/1.45 Montserrat, system-ui, sans-serif; }
body.fijo { overflow: hidden; }
h1, h2, h3 { margin: 0; line-height: 1.1; }
button { font: inherit; color: inherit; cursor: pointer; }
a { color: var(--lago); }
img { display: block; }
.k { margin: 0 0 8px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gris); }

.top {
  position: fixed; top: 0; left: 0; right: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px; background: linear-gradient(rgba(14, 34, 48, .55), transparent); transition: background .25s;
}
body.bajo .top { background: var(--tinta); }
.marca { color: var(--blanco); text-decoration: none; font-weight: 900; letter-spacing: .03em; text-transform: uppercase; font-size: 15px; }
.top-cta { background: var(--sol); color: var(--tinta); text-decoration: none; font-weight: 800; font-size: 14px; padding: 8px 14px; border-radius: 999px; }

.hero { position: relative; height: min(88svh, 760px); min-height: 520px; color: var(--blanco); overflow: hidden; }
.hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 80%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 35%, rgba(14, 34, 48, .85)); }
.hero-txt { position: absolute; z-index: 1; left: 16px; right: 16px; bottom: 28px; max-width: 720px; }
.hero-k { margin: 0 0 10px; font-weight: 700; font-size: 13px; opacity: .9; }
.hero h1 { font-size: clamp(36px, 10vw, 64px); font-weight: 900; letter-spacing: -.01em; }
.hero-sub { margin: 12px 0 0; font-size: 16px; font-weight: 600; opacity: .92; }

section > h2 { font-size: 26px; font-weight: 900; margin-bottom: 14px; }
.salidas, .todas, .como { padding: 28px 16px; }
.salidas > *, .todas > *, .como > * { max-width: 760px; margin-left: auto; margin-right: auto; }
.salidas { background: var(--tinta); color: var(--blanco); }
.tablero { display: grid; gap: 18px; }
.t-dia h3 { font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--sol); margin-bottom: 8px; }
.t-fila {
  display: grid; grid-template-columns: 56px 1fr auto; gap: 12px; align-items: center; width: 100%; text-align: left;
  padding: 8px; margin-bottom: 8px; border: 0; border-radius: 14px; background: rgba(255, 255, 255, .07); color: var(--blanco);
}
.t-fila img { width: 56px; height: 56px; object-fit: cover; border-radius: 10px; }
.t-nom b { display: block; font-size: 16px; font-weight: 800; }
.t-nom small { display: block; font-size: 13px; opacity: .75; }
.t-precio { font-weight: 800; font-size: 16px; padding-right: 6px; }
.t-fila.salio { opacity: .5; }
.t-vacio { margin: 0; opacity: .85; }

.chips { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 2px; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; border: 1.5px solid var(--linea); background: var(--blanco); border-radius: 999px; padding: 8px 14px; font-weight: 700; font-size: 14px; }
.chip.on { background: var(--tinta); border-color: var(--tinta); color: var(--blanco); }
.lista { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; }
.card { position: relative; padding: 0; border: 0; border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 5; text-align: left; background: var(--tinta); color: var(--blanco); box-shadow: var(--sombra); }
.card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 40%, rgba(14, 34, 48, .9)); }
.card-txt { position: absolute; z-index: 1; left: 10px; right: 10px; bottom: 10px; }
.card-txt small { display: block; font-size: 11px; font-weight: 600; opacity: .85; line-height: 1.25; margin-bottom: 4px; }
.card-txt b { display: block; font-size: 17px; font-weight: 900; line-height: 1.1; }
.card-pie { display: flex; flex-direction: column; margin-top: 6px; font-size: 12px; font-weight: 600; opacity: .9; }
.card-pie span:first-child { font-size: 16px; font-weight: 800; color: var(--sol); opacity: 1; }

.como { background: var(--blanco); }
.pasos { padding: 0; list-style: none; counter-reset: p; display: grid; gap: 14px; }
.pasos li { counter-increment: p; position: relative; padding-left: 46px; min-height: 34px; }
.pasos li::before { content: counter(p); position: absolute; left: 0; top: -3px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: var(--sol); font-weight: 900; }
.recogida { margin-top: 22px; padding: 16px; background: var(--papel); border-radius: var(--r); }
.recogida h3 { font-size: 16px; margin-bottom: 6px; }
.recogida p { margin: 6px 0 0; font-size: 15px; }

.pie { padding: 28px 16px 44px; text-align: center; font-size: 14px; color: var(--gris); }
.pie p { margin: 6px 0; }
.marca-pie { font-weight: 900; text-transform: uppercase; letter-spacing: .03em; color: var(--tinta); }

/* El viaje */
.viaje { position: fixed; inset: 0; z-index: 10; background: var(--blanco); overflow-y: auto; overscroll-behavior: contain; }
.v-media { position: sticky; top: 0; z-index: 3; height: 48svh; background: var(--tinta); overflow: hidden; }
.v-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transform: scale(1.04); transition: opacity .6s ease, transform 1.2s ease; }
.v-media img.on { opacity: 1; transform: none; }
.v-volver { position: absolute; z-index: 2; top: 12px; left: 12px; width: 40px; height: 40px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .92); font-size: 20px; font-weight: 800; box-shadow: var(--sombra); }
.v-prog { position: absolute; z-index: 2; left: 12px; right: 12px; bottom: 10px; display: flex; gap: 4px; }
.v-prog i { flex: 1; height: 3px; border-radius: 3px; background: rgba(255, 255, 255, .35); transition: background .3s; }
.v-prog i.on { background: var(--sol); }
.v-cuerpo { position: relative; z-index: 1; background: var(--blanco); padding: 20px 16px 120px; }
.v-head h2 { font-size: 30px; font-weight: 900; }
.v-res { margin: 10px 0 0; font-size: 16px; }
.datos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 16px; }
.datos div { background: var(--papel); border-radius: 12px; padding: 10px; }
.datos span { display: block; font-size: 11px; color: var(--gris); font-weight: 700; text-transform: uppercase; letter-spacing: .05em; }
.datos b { font-size: 15px; }
.datos div:first-child b { color: var(--lago); font-size: 18px; }
.v-dias { margin: 12px 0 0; font-size: 14px; }
.v-incluye { margin: 12px 0 0; padding: 10px 12px; background: #e4f3f2; border-radius: 10px; font-size: 14px; }
.v-baja { margin: 28px 0 0; font-size: 13px; font-weight: 700; color: var(--gris); }
.etapas { list-style: none; margin: 8px 0 0; padding: 0 0 0 22px; border-left: 2px solid var(--linea); }
.etapa { position: relative; min-height: 26svh; padding: 18px 0 18px 4px; opacity: .45; transition: opacity .3s; }
.etapa::before { content: ""; position: absolute; left: -31px; top: 22px; width: 14px; height: 14px; border-radius: 50%; background: var(--blanco); border: 2px solid var(--linea); transition: .3s; }
.etapa.on { opacity: 1; }
.etapa.on::before { background: var(--sol); border-color: var(--tinta); }
.e-hora { display: inline-block; font-size: 12px; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; color: var(--lago); background: #e4f3f2; padding: 3px 8px; border-radius: 6px; }
.etapa h3 { font-size: 22px; font-weight: 900; margin-top: 8px; }
.etapa p { margin: 8px 0 0; font-size: 16px; }
.v-info h3 { font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--gris); margin: 28px 0 10px; }
.aparte, .ojo { margin: 0; padding: 0; list-style: none; }
.aparte li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--linea); font-size: 14px; }
.aparte li b { white-space: nowrap; }
.aparte em { font-style: normal; font-size: 11px; font-weight: 700; color: var(--lago); background: #e4f3f2; padding: 1px 6px; border-radius: 5px; white-space: nowrap; }
.ojo li { position: relative; padding-left: 18px; margin-bottom: 8px; font-size: 14px; }
.ojo li::before { content: ""; position: absolute; left: 2px; top: 7px; width: 8px; height: 8px; border-radius: 50%; background: var(--sol); }
.v-cta {
  position: fixed; z-index: 11; left: 0; right: 0; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: var(--blanco); border-top: 1px solid var(--linea);
}
.v-cta b { display: block; font-size: 20px; font-weight: 900; }
.v-cta small { display: block; font-size: 12px; color: var(--gris); }
.v-cta .btn { width: auto; padding: 14px 28px; }

/* La hoja de reserva */
.velo { position: fixed; inset: 0; background: rgba(10, 20, 30, .55); z-index: 20; }
.hoja { position: fixed; z-index: 21; left: 0; right: 0; bottom: 0; max-height: 92svh; overflow-y: auto; background: var(--blanco); border-radius: 20px 20px 0 0; max-width: 640px; margin: 0 auto; overscroll-behavior: contain; }
.cerrar { position: sticky; top: 10px; float: right; margin: 10px 10px -46px 0; z-index: 2; width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--papel); font-size: 22px; line-height: 1; }
.hoja-in { padding: 20px 16px 8px; }
.hoja h2 { font-size: 26px; font-weight: 900; }
.hoja h3 { font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--gris); margin: 22px 0 10px; }
.btn { display: block; width: 100%; text-align: center; border: 0; border-radius: 14px; padding: 15px; background: var(--tinta); color: var(--blanco); font-weight: 800; font-size: 16px; text-decoration: none; }
.btn.wa { background: var(--wa); }
.hoja-cta { position: sticky; bottom: 0; padding: 10px 16px calc(12px + env(safe-area-inset-bottom)); background: var(--blanco); border-top: 1px solid var(--linea); }
.quien { margin: 0 0 8px; text-align: center; font-size: 13px; color: var(--gris); }
.stepper { display: inline-flex; align-items: center; gap: 18px; background: var(--papel); border-radius: 999px; padding: 4px; }
.stepper button { width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--blanco); font-size: 22px; box-shadow: var(--sombra); }
.stepper b { min-width: 20px; text-align: center; font-size: 18px; }
.opciones { display: flex; gap: 8px; }
.opciones label { flex: 1; display: flex; gap: 8px; align-items: center; border: 1.5px solid var(--linea); border-radius: 12px; padding: 12px; font-weight: 700; }
.opciones label:has(input:checked) { border-color: var(--tinta); background: var(--papel); }
.opciones input { accent-color: var(--tinta); }
.campo { width: 100%; margin-top: 10px; padding: 13px 14px; border: 1.5px solid var(--linea); border-radius: 12px; font: inherit; font-size: 16px; }
.campo:focus { outline: none; border-color: var(--lago); }
.nota { margin: 8px 0 0; font-size: 13px; color: var(--gris); }
.cuenta { margin-top: 22px; background: var(--papel); border-radius: var(--r); padding: 8px 14px 14px; }
.cuenta > div { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--linea); }
.cuenta .hoy b { font-size: 22px; color: var(--lago); }
.cuenta .hoy span { font-weight: 800; }
.cuenta small { display: block; font-weight: 500; font-size: 12px; color: var(--gris); }

@media (min-width: 760px) {
  .lista { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 960px) {
  .viaje { display: grid; grid-template-columns: 1fr 520px; }
  .v-media { height: 100vh; }
  .v-cuerpo { padding: 40px 36px 140px; }
  .etapa { min-height: 40vh; }
  .v-cta { left: auto; width: 520px; }
  .hoja { bottom: 4vh; border-radius: 20px; }
}
