/* Panorama Tour · el azul y el amarillo de los afiches de Paula. Una página, pensada para el teléfono. */
:root {
  --azul: #1747b5;
  --azul-osc: #0f3489;
  --amarillo: #f6d548;
  --tinta: #101a30;
  --gris: #5b6478;
  --linea: #e3e7f0;
  --fondo: #f5f7fb;
  --blanco: #fff;
  --wa: #1fa855;
  --r: 16px;
  --sombra: 0 1px 2px rgba(16, 26, 48, .06), 0 6px 20px rgba(16, 26, 48, .06);
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--fondo); 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.15; }
button { font: inherit; color: inherit; cursor: pointer; }
a { color: var(--azul); }

.top {
  position: sticky; top: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px; background: var(--azul); color: var(--blanco);
}
.marca { font-weight: 800; letter-spacing: .02em; text-transform: uppercase; font-size: 15px; }
.marca::first-letter { color: var(--amarillo); }
.top-wa {
  color: var(--azul-osc); background: var(--amarillo); text-decoration: none; font-weight: 700; font-size: 13px;
  padding: 7px 12px; border-radius: 999px;
}

.hero { background: var(--azul); color: var(--blanco); padding: 20px 16px 28px; }
.hero-k { margin: 0 0 10px; font-size: 13px; opacity: .85; }
.hero h1 { font-size: clamp(28px, 8vw, 42px); font-weight: 800; color: var(--amarillo); }

.filtros { padding: 18px 16px 4px; max-width: 760px; margin: 0 auto; }
.k { margin: 0 0 8px; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--gris); }
.filtros .k + .chips { margin-bottom: 16px; }
.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: 600; font-size: 14px;
}
.chip.on { background: var(--azul); border-color: var(--azul); color: var(--blanco); }

.lista { display: grid; gap: 12px; padding: 8px 16px 24px; max-width: 760px; margin: 0 auto; }
.tour {
  display: grid; grid-template-columns: 112px 1fr; gap: 12px; text-align: left; padding: 10px;
  background: var(--blanco); border: 0; border-radius: var(--r); box-shadow: var(--sombra);
}
.tour img { width: 112px; height: 100%; min-height: 128px; object-fit: cover; border-radius: 10px; }
.tour h3 { font-size: 17px; font-weight: 800; }
.tour-res { margin: 4px 0 6px; font-size: 13px; color: var(--gris); }
.tour-hora { margin: 0; font-size: 12px; color: var(--gris); }
.tour-pie { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-top: 8px; }
.precio { font-weight: 800; font-size: 18px; color: var(--azul); }
.tour-dias { font-size: 12px; font-weight: 700; color: var(--azul-osc); background: #e8eefb; padding: 3px 8px; border-radius: 6px; }
.vacio { text-align: center; color: var(--gris); padding: 24px 0; }
.link { border: 0; background: none; color: var(--azul); text-decoration: underline; padding: 0; }

.como { background: var(--blanco); padding: 28px 16px; border-top: 1px solid var(--linea); }
.como > * { max-width: 728px; margin-left: auto; margin-right: auto; }
.como h2 { font-size: 24px; font-weight: 800; margin-bottom: 14px; }
.pasos { padding: 0; list-style: none; counter-reset: p; display: grid; gap: 12px; }
.pasos li { counter-increment: p; position: relative; padding-left: 44px; min-height: 32px; }
.pasos li::before {
  content: counter(p); position: absolute; left: 0; top: -2px; width: 32px; height: 32px; border-radius: 50%;
  display: grid; place-items: center; background: var(--amarillo); color: var(--azul-osc); font-weight: 800;
}
.recogida { margin-top: 20px; padding: 16px; background: var(--fondo); border-radius: var(--r); }
.recogida h3 { font-size: 16px; margin-bottom: 6px; }
.recogida p { margin: 6px 0 0; font-size: 15px; }

.pie { padding: 24px 16px 40px; text-align: center; font-size: 13px; color: var(--gris); }
.pie p { margin: 4px 0; }

.velo { position: fixed; inset: 0; background: rgba(10, 18, 40, .5); z-index: 10; }
.hoja {
  position: fixed; z-index: 11; left: 0; right: 0; bottom: 0; max-height: 92dvh; 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: rgba(255, 255, 255, .92); font-size: 22px; line-height: 1; box-shadow: var(--sombra);
}
.hoja-foto { display: block; width: 100%; aspect-ratio: 4 / 3; max-height: 300px; object-fit: cover; }
.hoja-in { padding: 18px 16px 8px; }
.hoja-in > .k { margin-top: 6px; }
.hoja h2 { font-size: 26px; font-weight: 800; }
.hoja h3 { font-size: 13px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: var(--gris); margin: 22px 0 10px; }
.datos { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; }
.datos div { background: var(--fondo); 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(--azul); font-size: 18px; }
.dias-tour { margin: 12px 0 0; font-size: 14px; }
.ruta { margin: 0; padding-left: 20px; display: grid; gap: 8px; font-size: 15px; }
.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(--azul-osc); background: #e8eefb; 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(--amarillo); }

.hoja-cta { position: sticky; bottom: 0; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); background: linear-gradient(transparent, var(--blanco) 30%); }
.btn {
  display: block; width: 100%; text-align: center; border: 0; border-radius: 14px; padding: 15px;
  background: var(--azul); color: var(--blanco); font-weight: 800; font-size: 16px; text-decoration: none;
}
.btn.wa { background: var(--wa); }

.stepper { display: inline-flex; align-items: center; gap: 18px; background: var(--fondo); 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: 600; }
.opciones label:has(input:checked) { border-color: var(--azul); background: #eef3fd; }
.opciones input { accent-color: var(--azul); }
.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(--azul); }
.nota { margin: 8px 0 0; font-size: 13px; color: var(--gris); }
.cuenta { margin-top: 22px; background: var(--fondo); 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(--azul); }
.cuenta .hoy span { font-weight: 700; }
.cuenta small { display: block; font-weight: 500; font-size: 12px; color: var(--gris); }

@media (min-width: 720px) {
  .lista { grid-template-columns: 1fr 1fr; }
  .tour { grid-template-columns: 1fr; }
  .tour img { width: 100%; height: auto; aspect-ratio: 4 / 3; min-height: 0; }
  .hoja { bottom: 4vh; border-radius: 20px; }
}
