/* RUTA MÉXICO · estilos */
:root {
  /* Paleta vasvoy.com: papel, tinta, ladrillo, añil, cempasúchil, bugambilia */
  --bg: #F3ECE1; --card: #FFFDF8; --ink: #211912; --mute: #6A5948; --line: #E7DDCD;
  --pri: #C1440E; --pri-d: #9C3609; --pri-l: #FBE9DE; --teal: #0F6B63; --teal-d: #0B4F49; --teal-l: #E1EFEB;
  --cempa: #F2A93B; --bug: #B23A63; --bug-l: #F8E5EC;
  --ok: #1F7A4D; --ok-l: #E3F2E9; --warn: #9A5B00; --warn-l: #FDF1DC; --bad: #B42318; --info: #2F5AA8; --info-l: #EAF0FB;
  --r: 22px; --sh: 0 1px 2px rgba(33, 25, 18, .05), 0 10px 30px rgba(33, 25, 18, .06); --sh-lg: 0 24px 60px rgba(33, 25, 18, .20);
  --display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --top: 62px; --rail: 88px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; font: 15px/1.5 'Work Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif; color: var(--ink); background: var(--bg); -webkit-font-smoothing: antialiased; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .5rem; letter-spacing: -.01em; }
h1 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; }
h2 { font-size: 1.35rem; font-weight: 800; }
h3 { font-size: 1.02rem; font-weight: 700; }
p { margin: 0 0 .6rem; }
a { color: var(--pri-d); }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 3px solid rgba(217, 72, 15, .45); outline-offset: 2px; }
.muted { color: var(--mute); } .small { font-size: .84rem; } .mt { margin-top: 1.2rem; } .good { color: var(--ok); } .bad { color: var(--bad); font-weight: 600; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.page { padding-top: 32px; padding-bottom: 32px; }

/* --- header --- */

/* --- botones --- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-weight: 700; font-size: .92rem; text-decoration: none; color: var(--ink); transition: .15s; white-space: nowrap; }
.btn:hover { border-color: #cfc6b9; box-shadow: var(--sh); }
.btn:disabled { opacity: .5; cursor: not-allowed; box-shadow: none; }
.btn-pri { background: var(--pri); border-color: var(--pri); color: #fff; }
.btn-pri:hover { background: var(--pri-d); border-color: var(--pri-d); }
.btn-ghost { background: transparent; border-color: transparent; color: var(--mute); }
.btn-glass { background: rgba(255, 255, 255, .16); border-color: rgba(255, 255, 255, .45); color: #fff; backdrop-filter: blur(6px); }
.btn-lg { padding: 14px 24px; font-size: 1rem; } .btn-sm { padding: 7px 13px; font-size: .84rem; } .btn-xs { padding: 4px 10px; font-size: .78rem; }
.icon-btn { width: 36px; height: 36px; flex: none; display: inline-grid; place-items: center; border-radius: 50%; border: 1px solid var(--line); background: #fff; font-size: 1.05rem; text-decoration: none; color: var(--ink); }
.icon-btn:hover:not(:disabled) { background: var(--teal-l); } .icon-btn:disabled { opacity: .35; }
.icon-btn.sm { width: 30px; height: 30px; font-size: .95rem; } .icon-btn.pri { background: var(--pri); color: #fff; border-color: var(--pri); }
.lnk-b { border: 0; background: none; padding: 0; font-weight: 700; text-align: left; }
.lnk-b:hover { color: var(--pri-d); }
.spin { width: 16px; height: 16px; border: 2px solid rgba(255, 255, 255, .4); border-top-color: #fff; border-radius: 50%; animation: sp .7s linear infinite; }
@keyframes sp { to { transform: rotate(360deg); } }

/* --- etiquetas y chips --- */
.tag { display: inline-block; font-size: .66rem; font-weight: 800; letter-spacing: .03em; text-transform: uppercase; padding: 2px 7px; border-radius: 6px; margin-left: 4px; vertical-align: middle; white-space: nowrap; }
.t-est { background: var(--warn-l); color: var(--warn); } .t-demo { background: #f3e8ff; color: #6b21a8; }
.t-ok { background: var(--ok-l); color: var(--ok); } .t-pick { background: #eef0f2; color: #4b5563; } .t-info { background: var(--info-l); color: var(--info); }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip { display: inline-flex; align-items: center; gap: 4px; padding: 5px 11px; border-radius: 999px; background: var(--teal-l); color: var(--teal); font-size: .8rem; font-weight: 600; border: 1px solid transparent; }
button.chip { cursor: pointer; background: #fff; border-color: var(--line); color: var(--ink); }
button.chip:hover { border-color: var(--teal); } .chip.on, button.chip.on { background: var(--teal); color: #fff; border-color: var(--teal); }
.chip.xs { padding: 1px 8px; font-size: .7rem; }

/* --- fotos --- */
.ph { background: #ddd center/cover no-repeat; }
.ph-empty { display: grid; place-content: center; text-align: center; color: #fff; background: linear-gradient(135deg, hsl(var(--h) 55% 45%), hsl(calc(var(--h) + 40) 60% 35%)); }
.ph-empty span { font-size: 2rem; font-weight: 800; letter-spacing: .05em; }
.ph-empty small { font-size: .62rem; text-transform: uppercase; letter-spacing: .08em; opacity: .85; }
.ph-sm { width: 52px; height: 52px; border-radius: 12px; flex: none; } .ph-sm span { font-size: 1rem; } .ph-sm small { display: none; }

/* --- inicio --- */
.hero { position: relative; min-height: 560px; display: flex; align-items: center; color: #fff; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; background: center/cover; transform: scale(1.03); }
.hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(10, 35, 36, .88) 0%, rgba(10, 35, 36, .55) 55%, rgba(10, 35, 36, .15)); }
.hero-in { position: relative; z-index: 1; max-width: 1180px; margin: 0 auto; padding: 60px 20px 96px; width: 100%; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.4rem); max-width: 720px; }
.hero h1 em { font-style: normal; color: #ffb38a; }
.hero p { max-width: 560px; font-size: 1.08rem; opacity: .92; }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: #ffb38a; margin-bottom: 12px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 36px; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 32px; }
.hero-stats b { display: block; font-size: 1.8rem; font-weight: 800; } .hero-stats span { font-size: .82rem; opacity: .8; }
.steps3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: -48px; position: relative; z-index: 2; }
.steps3 > div { background: #fff; border-radius: var(--r); padding: 22px; box-shadow: var(--sh); }
.steps3 span { display: inline-grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--pri-l); color: var(--pri); font-weight: 800; margin-bottom: 10px; }
.steps3 p { color: var(--mute); margin: 0; font-size: .92rem; }
.sec-h { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin: 44px 0 18px; flex-wrap: wrap; }
.page .sec-h { margin-top: 0; }
.sec-h a:not(.btn) { font-weight: 700; text-decoration: none; }
.foot { padding: 40px 20px 60px; color: var(--mute); font-size: .82rem; border-top: 1px solid var(--line); margin-top: 60px; }

/* --- tarjetas pueblo --- */
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.pcard { background: #fff; border-radius: var(--r); overflow: hidden; box-shadow: var(--sh); cursor: pointer; transition: transform .18s, box-shadow .18s; display: flex; flex-direction: column; }
.pcard:hover { transform: translateY(-3px); box-shadow: var(--sh-lg); }
.pcard-ph { height: 180px; }
.pcard-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.pcard-body h3 { margin: 0; font-size: 1.1rem; }
.pcard-body p { color: var(--mute); font-size: .88rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin: 0; }
.pcard-st { font-size: .72rem; font-weight: 800; color: var(--pri); text-transform: uppercase; letter-spacing: .06em; }
.pcard-foot { margin-top: auto; padding-top: 6px; font-size: .8rem; color: var(--mute); }
.filters { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; margin-bottom: 12px; }
.filters input[type=search] { flex: 1 1 280px; }
.chips-filter { margin-bottom: 22px; }
input[type=search], input[type=text], input[type=number], input[type=date], input[type=time], input:not([type]), select {
  padding: 10px 12px; border-radius: 10px; border: 1px solid var(--line); background: #fff; min-width: 0; }
input:focus, select:focus { border-color: var(--teal); outline: none; box-shadow: 0 0 0 3px rgba(15, 61, 62, .12); }
.inp-lg { width: 100%; padding: 13px 16px; font-size: 1rem; border-radius: 12px; margin-bottom: 14px; }

/* --- mis viajes --- */
.trip-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(330px, 1fr)); gap: 18px; }
.tcard { display: flex; background: #fff; border-radius: var(--r); overflow: hidden; box-shadow: var(--sh); }
.tcard-ph { width: 120px; flex: none; } .tcard-ph span { font-size: 1.4rem; }
.tcard-b { padding: 14px 16px; flex: 1; min-width: 0; }
.tcard-b h3 a { color: var(--ink); text-decoration: none; } .tcard-b p { font-size: .86rem; margin: 0 0 4px; }
.tcard-a { display: flex; gap: 6px; margin-top: 10px; flex-wrap: wrap; }
.empty { text-align: center; padding: 48px 20px; color: var(--mute); }
.empty.sm { padding: 16px; border: 1px dashed var(--line); border-radius: 12px; }
.empty-i { font-size: 2.6rem; }

/* --- switch --- */
.switch { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; font-weight: 600; font-size: .9rem; user-select: none; margin: 6px 0; }
.switch input { position: absolute; opacity: 0; width: 0; height: 0; }
.switch span { width: 40px; height: 23px; flex: none; border-radius: 999px; background: #d4cdc3; position: relative; transition: .2s; }
.switch span::after { content: ''; position: absolute; top: 3px; left: 3px; width: 17px; height: 17px; border-radius: 50%; background: #fff; transition: .2s; box-shadow: 0 1px 3px rgba(0, 0, 0, .2); }
.switch input:checked + span { background: var(--teal); } .switch input:checked + span::after { left: 20px; }
.switch input:focus-visible + span { outline: 3px solid rgba(217, 72, 15, .45); }

/* --- asistente --- */
.wiz { display: grid; grid-template-columns: 260px 1fr; gap: 28px; padding-top: 28px; padding-bottom: 60px; align-items: start; }
.wiz-side { position: sticky; top: calc(var(--top) + 20px); background: #fff; border-radius: var(--r); padding: 20px; box-shadow: var(--sh); }
.wiz-side ol { list-style: none; padding: 0; margin: 10px 0 16px; }
.wiz-side li button { width: 100%; display: flex; align-items: center; gap: 10px; padding: 8px 6px; border: 0; background: none; text-align: left; font-weight: 600; color: var(--mute); border-radius: 8px; }
.wiz-side li button span { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--bg); font-size: .8rem; font-weight: 800; }
.wiz-side li.on button { color: var(--ink); } .wiz-side li.on span { background: var(--pri); color: #fff; }
.wiz-side li.done span { background: var(--teal); color: #fff; } .wiz-side li button:disabled { cursor: default; }
.wiz-sum { border-top: 1px solid var(--line); padding-top: 12px; font-size: .84rem; } .wiz-sum p { margin: 0 0 4px; }
.wiz-main { background: #fff; border-radius: var(--r); padding: 28px 32px; box-shadow: var(--sh); min-height: 520px; display: flex; flex-direction: column; }
.wiz-prog { height: 5px; background: var(--bg); border-radius: 9px; margin: -8px 0 22px; overflow: hidden; }
.wiz-prog i { display: block; height: 100%; background: linear-gradient(90deg, var(--pri), #f59f00); transition: width .3s; }
.lead { color: var(--mute); margin-bottom: 20px; }
.wiz-nav { display: flex; justify-content: space-between; margin-top: auto; padding-top: 28px; }
.opt-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(165px, 1fr)); gap: 10px; }
.opt { display: flex; flex-direction: column; align-items: flex-start; gap: 2px; text-align: left; padding: 14px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; transition: .15s; }
.opt:hover { border-color: #c9bfb2; } .opt.on { border-color: var(--pri); background: var(--pri-l); box-shadow: 0 0 0 3px rgba(217, 72, 15, .12); }
.opt small { color: var(--mute); font-size: .78rem; }
.opt-big .opt { align-items: center; text-align: center; padding: 20px 12px; }
.opt-i { font-size: 1.6rem; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fld { display: flex; flex-direction: column; gap: 6px; margin-bottom: 8px; }
.fld > span { font-size: .8rem; font-weight: 700; color: var(--mute); }
.stepper { display: inline-flex; align-items: center; gap: 12px; padding: 6px; border: 1px solid var(--line); border-radius: 999px; width: max-content; }
.stepper button { width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--bg); font-size: 1.2rem; font-weight: 700; }
.stepper button:hover { background: var(--teal-l); } .stepper b { min-width: 22px; text-align: center; font-size: 1.1rem; } .stepper span { color: var(--mute); margin-left: -6px; }
.kids { display: flex; flex-wrap: wrap; gap: 8px; }
.note { background: var(--teal-l); color: var(--teal); padding: 12px 14px; border-radius: 10px; }
.dest-bar { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 12px; } .dest-bar input { flex: 1 1 200px; }
.picks { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-bottom: 14px; }
.pick { background: var(--teal); color: #fff; padding: 5px 6px 5px 12px; border-radius: 999px; font-size: .84rem; font-weight: 600; display: inline-flex; align-items: center; gap: 4px; }
.pick button { border: 0; background: rgba(255, 255, 255, .2); color: #fff; width: 20px; height: 20px; border-radius: 50%; line-height: 1; }
.rec-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 10px; }
.rec { position: relative; display: flex; gap: 10px; padding: 8px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; text-align: left; align-items: center; }
.rec:hover { border-color: #c9bfb2; } .rec.on { border-color: var(--pri); background: var(--pri-l); }
.rec-ph { width: 64px; height: 64px; border-radius: 10px; flex: none; } .rec-ph span { font-size: 1.1rem; } .rec-ph small { display: none; }
.rec-b { min-width: 0; flex: 1; display: flex; flex-direction: column; }
.rec-b small { color: var(--mute); font-size: .76rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rec-b .why { color: var(--teal); }
.rec-top { display: flex; justify-content: space-between; gap: 6px; }
.match { font-size: .7rem; font-weight: 800; color: var(--ok); background: var(--ok-l); padding: 1px 6px; border-radius: 6px; }
.rec-check { position: absolute; top: -7px; right: -7px; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: #fff; border: 1.5px solid var(--line); font-size: .8rem; font-weight: 800; }
.rec.on .rec-check { background: var(--pri); color: #fff; border-color: var(--pri); }

/* --- planificador --- */
body[data-view=viaje] .foot { display: none; }
.planner { display: grid; grid-template-columns: minmax(380px, 470px) 1fr; height: calc(100vh - var(--top)); height: calc(100dvh - var(--top)); }
.panel { display: flex; flex-direction: column; min-height: 0; background: var(--bg); border-right: 1px solid var(--line); }
.pl-head { padding: 14px 16px 0; background: #fff; border-bottom: 1px solid var(--line); }
.tabs { display: flex; gap: 4px; }
.tabs button { flex: 1; border: 0; background: none; padding: 10px 6px 12px; font-weight: 700; color: var(--mute); border-bottom: 3px solid transparent; }
.tabs button.on { color: var(--pri); border-bottom-color: var(--pri); }
.pl-scroll { flex: 1; overflow-y: auto; padding: 16px; scroll-behavior: smooth; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin-bottom: 16px; }
.stats div { background: #fff; border-radius: 12px; padding: 10px; text-align: center; box-shadow: var(--sh); }
.stats b { display: block; font-size: 1.05rem; } .stats small { color: var(--mute); font-size: .74rem; }
.ptitle { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; } .ptitle h3 { margin: 0; }
.stop { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 14px; padding: 10px; box-shadow: var(--sh); border: 2px solid transparent; transition: border-color .15s; }
.stop.focus { border-color: var(--pri); }
.stop-o { box-shadow: none; background: transparent; padding: 4px 10px; }
.o-dot { width: 32px; height: 32px; border-radius: 50%; background: var(--teal); color: #fff; display: grid; place-items: center; font-weight: 800; flex: none; }
.stop-ph { position: relative; border: 0; padding: 0; background: none; border-radius: 12px; }
.num { position: absolute; top: -6px; left: -6px; width: 22px; height: 22px; border-radius: 50%; background: var(--pri); color: #fff; font-size: .74rem; font-weight: 800; display: grid; place-items: center; border: 2px solid #fff; }
.stop-b { flex: 1; min-width: 0; }
.stop-t { display: flex; flex-direction: column; } .stop-t small { color: var(--mute); font-size: .78rem; }
.stop-c { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 6px; }
.stop-c select { padding: 5px 8px; font-size: .78rem; max-width: 220px; }
.stop-a { display: flex; flex-direction: column; gap: 4px; }
.nights { display: inline-flex; align-items: center; gap: 6px; background: var(--bg); border-radius: 999px; padding: 2px; font-size: .82rem; }
.nights button { width: 26px; height: 26px; border-radius: 50%; border: 0; background: #fff; font-weight: 800; box-shadow: 0 1px 2px rgba(0, 0, 0, .1); }
.nights button:disabled { opacity: .35; } .nights span { min-width: 64px; text-align: center; }
.grip { cursor: grab; color: #b6ada1; font-weight: 800; letter-spacing: -2px; padding: 6px 2px; user-select: none; touch-action: none; flex: none; }
.grip:active { cursor: grabbing; }
.ghost { opacity: .4; outline: 2px dashed var(--pri); }
.sortable-chosen { box-shadow: var(--sh-lg) !important; }
.legline { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 0 26px; padding: 8px 0 8px 18px; border-left: 2px dashed #d6cdc0; font-size: .8rem; color: var(--mute); }
.leg-i { font-weight: 600; }
.row-btns { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; margin: 16px 0 6px; }
.mini-recs { display: flex; flex-direction: column; gap: 8px; }
.mini-recs.scroll { max-height: 55vh; overflow-y: auto; padding-right: 4px; }
.mrec { display: flex; align-items: center; gap: 10px; background: #fff; padding: 8px; border-radius: 12px; border: 1px solid var(--line); }
.mrec > div { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.mrec small { color: var(--mute); font-size: .76rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* itinerario */
.day { background: #fff; border-radius: 16px; box-shadow: var(--sh); margin-bottom: 16px; overflow: hidden; }
.day-h { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--line); background: linear-gradient(180deg, #fff, #fcfaf7); }
.day-n { border: 0; background: var(--teal); color: #fff; border-radius: 12px; padding: 6px 12px; display: flex; flex-direction: column; align-items: flex-start; line-height: 1.2; }
.day-n span { font-size: .74rem; opacity: .85; } .day-n:hover { background: #155354; }
.day-w { flex: 1; display: flex; flex-direction: column; align-items: flex-end; gap: 2px; font-size: .78rem; color: var(--mute); }
.day-w input { padding: 3px 6px; font-size: .8rem; }
.day-f { padding: 8px 14px; font-size: .76rem; color: var(--mute); background: #fcfaf7; border-top: 1px solid var(--line); }
.warn { margin: 8px 14px 0; padding: 8px 10px; border-radius: 10px; background: var(--warn-l); color: var(--warn); font-size: .8rem; font-weight: 600; }
.leg { display: flex; gap: 10px; align-items: center; margin: 10px 14px; padding: 10px 12px; border-radius: 12px; background: var(--teal-l); color: var(--teal); font-size: .86rem; }
.leg small { display: block; color: #3d6463; font-size: .76rem; } .leg-ico { font-size: 1.3rem; }
.seg { padding: 4px 14px 12px; }
.seg-h { font-size: .76rem; font-weight: 800; color: var(--pri); text-transform: uppercase; letter-spacing: .05em; margin: 6px 0; }
.seg-list { min-height: 34px; display: flex; flex-direction: column; gap: 6px; border-radius: 10px; }
.seg-list:empty { border: 1.5px dashed var(--line); }
.seg-list:empty::before { content: 'Suelta aquí una actividad'; display: block; padding: 7px; text-align: center; color: #b6ada1; font-size: .78rem; }
.seg-add { width: 100%; margin-top: 8px; padding: 7px 10px; font-size: .82rem; color: var(--mute); border-style: dashed; background: #fcfaf7; cursor: pointer; }

/* presupuesto */
.bud-hero { display: grid; grid-template-columns: 1.3fr 1fr; gap: 10px; margin-bottom: 16px; }
.bud-hero > div { background: var(--teal); color: #fff; border-radius: 16px; padding: 16px; }
.bud-hero > div + div { background: #fff; color: var(--ink); box-shadow: var(--sh); }
.bud-hero small { display: block; font-size: .76rem; opacity: .8; } .bud-hero b { display: block; font-size: 1.6rem; font-weight: 800; }
.row-in { display: flex; gap: 10px; align-items: center; } .row-in input[type=range] { flex: 1; accent-color: var(--pri); }
.meter { height: 10px; background: #eee6da; border-radius: 9px; overflow: hidden; margin-top: 4px; }
.meter i { display: block; height: 100%; background: var(--ok); } .meter.near i { background: #f59f00; } .meter.over i { background: var(--bad); }
.sugg { background: #fff4f2; border: 1px solid #f7c9c2; border-radius: 12px; padding: 12px; font-size: .84rem; display: flex; flex-direction: column; gap: 6px; }
.sugg div { display: flex; align-items: center; gap: 8px; } .sugg div span { flex: 1; } .sugg div b { color: var(--ok); }
.bars { display: flex; flex-direction: column; gap: 6px; }
.bar { position: relative; display: flex; justify-content: space-between; padding: 9px 12px; background: #fff; border-radius: 10px; overflow: hidden; font-size: .86rem; box-shadow: 0 1px 2px rgba(0, 0, 0, .04); }
.bar span, .bar b { position: relative; z-index: 1; }
.bar i { position: absolute; left: 0; top: 0; bottom: 0; background: var(--pri-l); }
.seg-btns { display: flex; flex-wrap: wrap; background: #fff; border: 1px solid var(--line); border-radius: 12px; padding: 3px; gap: 3px; }
.seg-btns button { flex: 1; border: 0; background: none; border-radius: 9px; padding: 8px 6px; font-weight: 600; font-size: .82rem; white-space: nowrap; }
.seg-btns button.on { background: var(--teal); color: #fff; }

/* mapa */
.mapwrap { position: relative; min-height: 0; }
#map { position: absolute; inset: 0; background: #e8e4dc; }
.map-layers { position: absolute; top: 12px; right: 12px; z-index: 500; background: rgba(255, 255, 255, .96); border-radius: 12px; padding: 10px 12px; box-shadow: var(--sh); display: flex; flex-direction: column; gap: 4px; font-size: .8rem; max-width: 210px; }
.map-layers label { display: flex; gap: 6px; align-items: center; cursor: pointer; } .map-layers small { color: var(--mute); font-size: .7rem; line-height: 1.3; }
.map-legend { position: absolute; left: 12px; bottom: 22px; z-index: 500; display: flex; gap: 12px; background: rgba(255, 255, 255, .95); padding: 6px 12px; border-radius: 999px; font-size: .74rem; box-shadow: var(--sh); }
.lg { display: inline-block; width: 10px; height: 10px; border-radius: 50%; margin-right: 4px; vertical-align: -1px; }
.lg-o { background: var(--teal); } .lg-s { background: var(--pri); } .lg-x { background: #6b7280; }
.pin-wrap { background: none; border: 0; }
.pin { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: .85rem; color: #fff; border: 3px solid #fff; box-shadow: 0 3px 10px rgba(0, 0, 0, .3); transition: transform .15s; }
.pin-o { background: var(--teal); } .pin-s { background: var(--pri); } .pin-f { transform: scale(1.25); background: #8f2d06; }
.pin-poi { background: #fff; border: 2px solid var(--teal); font-size: .9rem; width: 28px; height: 28px; }
.pin-food { border-color: #e67700; } .pin-hotel { border-color: var(--info); }
.pin-used { background: var(--ok-l); border-color: var(--ok); }
.km-tip { background: var(--ink); color: #fff; border: 0; border-radius: 999px; font-weight: 700; font-size: .72rem; padding: 2px 8px; box-shadow: none; }
.km-tip::before { display: none; }
.leaflet-popup-content-wrapper { border-radius: 14px; } .leaflet-popup-content { margin: 12px 14px; font-family: inherit; }
.pop { display: flex; flex-direction: column; gap: 4px; min-width: 190px; font-size: .84rem; }
.pop small { color: var(--mute); } .pop-ph { height: 90px; border-radius: 10px; margin-bottom: 4px; } .pop-ph small { display: none; }
.pop-a { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; align-items: center; } .pop-a select { padding: 4px 6px; font-size: .78rem; }
.mobile-toggle { display: none; }

/* modal y drawer */
#modal, #drawer { position: fixed; inset: 0; z-index: 2000; }
.modal-back, .drawer-back { position: absolute; inset: 0; background: rgba(12, 28, 28, .45); }
.modal-card { position: relative; max-width: 560px; margin: 8vh auto 0; background: #fff; border-radius: 20px; padding: 26px; box-shadow: var(--sh-lg); max-height: 84vh; overflow-y: auto; }
.x { position: absolute; top: 12px; right: 12px; z-index: 2; width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .9); font-size: 1.3rem; box-shadow: var(--sh); }
.form { display: flex; flex-direction: column; gap: 6px; } .form .fld input, .form .fld select { width: 100%; }
.drawer-card { position: absolute; top: 0; right: 0; bottom: 0; width: min(520px, 100%); background: #fff; overflow-y: auto; box-shadow: var(--sh-lg); transform: translateX(100%); transition: transform .22s ease; }
#drawer.in .drawer-card { transform: none; }
.drawer-back { opacity: 0; transition: opacity .2s; } #drawer.in .drawer-back { opacity: 1; }
.dr-ph { height: 260px; } .dr-ph span { font-size: 3rem; }
.dr-b { padding: 20px 24px 40px; } .dr-b h3 { margin-top: 24px; }
.dr-actions { display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0 4px; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; }
.facts div { background: var(--bg); border-radius: 12px; padding: 10px; font-size: .84rem; } .facts small { display: block; color: var(--mute); font-size: .72rem; }
.list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; }
.list li { display: flex; gap: 10px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: .88rem; }
.list li > div { flex: 1; min-width: 0; } .list small { display: block; color: var(--mute); font-size: .78rem; }
.li-i { width: 34px; height: 34px; flex: none; border-radius: 10px; background: var(--bg); display: grid; place-items: center; }
.lnk { font-size: .78rem; font-weight: 700; text-decoration: none; white-space: nowrap; }

/* toasts */
#toasts { position: fixed; bottom: 20px; left: 50%; transform: translateX(-50%); z-index: 3000; display: flex; flex-direction: column; gap: 8px; align-items: center; pointer-events: none; }
.toast { pointer-events: auto; display: flex; gap: 14px; align-items: center; background: var(--ink); color: #fff; padding: 11px 16px; border-radius: 12px; box-shadow: var(--sh-lg); font-size: .88rem; animation: tin .2s ease; transition: opacity .4s, transform .4s; max-width: 92vw; }
.toast button { border: 0; background: none; color: #ffb38a; font-weight: 800; padding: 0; }
.toast.out { opacity: 0; transform: translateY(8px); }
@keyframes tin { from { opacity: 0; transform: translateY(10px); } }

/* --- responsive --- */
@media (max-width: 900px) {
  .steps3 { grid-template-columns: 1fr; margin-top: 20px; }
  .wiz { grid-template-columns: minmax(0, 1fr); padding-top: 16px; }
  .wiz-side, .wiz-main { min-width: 0; }
  .opt-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
  .wiz-side { position: static; padding: 14px; } .wiz-side h2, .wiz-sum { display: none; }
  .wiz-side ol { display: flex; margin: 0; overflow-x: auto; } .wiz-side li button { font-size: .76rem; white-space: nowrap; }
  .wiz-main { padding: 20px 16px; }
  .planner { grid-template-columns: minmax(0, 1fr); position: relative; }
  .panel { border-right: 0; min-width: 0; }
  .mapwrap { position: absolute; inset: 0; z-index: 5; visibility: hidden; }
  .planner.show-map .mapwrap { visibility: visible; }
  .mobile-toggle { display: block; position: fixed; bottom: 18px; left: 50%; transform: translateX(-50%); z-index: 1500; border: 0; background: var(--ink); color: #fff; font-weight: 700; padding: 12px 22px; border-radius: 999px; box-shadow: var(--sh-lg); }
  .pl-scroll { padding-bottom: 90px; }
  .map-layers { top: auto; bottom: 80px; right: 10px; } .map-legend { display: none; }
  .facts { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .pl-sub { white-space: normal; }
  .stop-c select { max-width: 100%; }
  .row2 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .hero { min-height: 520px; }
  .tcard-ph { width: 90px; }
  .trip-grid { grid-template-columns: 1fr; }
  .pl-sub { margin-left: 0; }
}


/* lugares reales */
.pnote { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-radius: 10px; background: #fff; border: 1px solid var(--line); font-size: .8rem; color: var(--mute); margin-bottom: 12px; }
.pnote.ok-n { background: var(--ok-l); border-color: #c4e6d3; color: var(--ok); }
.pnote.warn-n { background: var(--warn-l); border-color: #f3dcae; color: var(--warn); }
.spin.dark { border-color: rgba(0, 0, 0, .15); border-top-color: var(--teal); width: 14px; height: 14px; flex: none; }
.hpick { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: 6px; }
.hpick select { padding: 5px 8px; font-size: .78rem; max-width: 250px; }
.lnks { display: inline-flex; gap: 10px; flex-wrap: wrap; } .lnks .lnk { font-size: .76rem; }
.list li .lnks { flex-direction: column; gap: 2px; align-items: flex-end; }
.pin-approx { border-style: dashed; opacity: .85; }
.pin-osm { border-color: var(--ok); font-size: .8rem; }
.it-x select { padding: 4px 6px; font-size: .78rem; max-width: 100%; }

/* ===== editor: encabezado ===== */
.pl-bar { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.pl-mode { font-size: .7rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--pri); background: var(--pri-l); padding: 3px 8px; border-radius: 6px; margin-right: auto; }
.trip-name { display: block; width: 100%; resize: none; overflow: hidden; font: inherit; font-size: 1.15rem; font-weight: 800; line-height: 1.3; border: 1px solid transparent; background: transparent; border-radius: 10px; padding: 6px 8px; margin: 8px 0 4px -8px; width: calc(100% + 16px); }
.trip-name:hover { background: var(--bg); } .trip-name:focus { background: #fff; border-color: var(--line); outline: 2px solid var(--pri-l); }
.pl-chips { margin-bottom: 10px; }
.chip.sm { padding: 3px 9px; font-size: .74rem; }
.chip.warm { background: var(--pri-l); color: var(--pri-d); }

/* ===== editor: itinerario compacto ===== */
.day.dfocus { box-shadow: 0 0 0 2px var(--pri), var(--sh); }
.day.dfocus .day-n { background: var(--pri); }
.day-w { align-items: flex-start; min-width: 0; }
.day-tt { color: var(--ink); font-size: .9rem; line-height: 1.25; }
.day-st { display: flex; flex-direction: column; align-items: center; font-size: .66rem; color: var(--mute); font-weight: 700; }
.day-st input { width: 58px; padding: 3px 4px; font-size: .82rem; text-align: center; font-weight: 700; }
.leg-t { font-weight: 800; font-size: .8rem; white-space: nowrap; }
.it { border-radius: 12px; }
.it-card { border: 1px solid var(--line); border-radius: 12px; background: #fff; transition: box-shadow .15s, border-color .15s; }
.it.k-comida .it-card { background: #fffaf3; } .it.k-hotel .it-card { background: #f6f8ff; } .it.k-custom .it-card { background: #f8fbf6; }
.it.has-warn .it-card { border-color: #f0c36d; }
.it.sel .it-card { border-color: var(--pri); box-shadow: 0 0 0 2px var(--pri-l); }
.it.flash .it-card { animation: flash 1.4s ease; }
@keyframes flash { 0%, 40% { background: #ffe3cf; border-color: var(--pri); } }
.it-row { display: flex; align-items: center; gap: 6px; padding: 5px 6px 5px 2px; min-height: 42px; }
.it-row > .grip, .it-rm { opacity: 0; transition: opacity .12s; }
.it:hover .it-row > .grip, .it:hover .it-rm, .it:focus-within .it-row > .grip, .it:focus-within .it-rm, .it.open .it-rm { opacity: 1; }
@media (hover: none) { .it-row > .grip, .it-rm { opacity: 1; } }
.it-time { flex: none; border: 0; background: none; padding: 4px 4px; border-radius: 8px; font-size: .78rem; font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.it-time:hover { background: var(--bg); color: var(--pri-d); }
.it-t { flex: 1; min-width: 0; display: flex; align-items: center; gap: 8px; border: 0; background: none; padding: 4px 2px; text-align: left; font-weight: 700; font-size: .88rem; color: var(--ink); }
.it-t:hover .it-n { color: var(--pri-d); }
.it-i { flex: none; width: 22px; text-align: center; }
.it-n { min-width: 0; line-height: 1.25; }
.it-n small { display: block; font-weight: 500; font-size: .74rem; color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.it-n .tag { margin-left: 2px; }
.it-c { flex: none; font-size: .78rem; font-weight: 700; text-align: right; max-width: 92px; white-space: nowrap; }
.it-c:empty { display: none; }
.it-c .muted { font-weight: 500; font-size: .72rem; }
.it-more { border: 0; background: none; color: var(--mute); }
.it-w { font-size: .74rem; color: var(--warn); font-weight: 600; padding: 0 10px 6px 36px; }
.it-x { display: none; font-size: .8rem; color: var(--mute); border-top: 1px dashed var(--line); margin: 0 10px; padding: 8px 0 4px 26px; }
.it.open .it-x { display: block; }
.it-x p { margin: 0 0 6px; } .it-x input { padding: 4px 6px; font-size: .8rem; }
.it-x select { padding: 4px 6px; font-size: .78rem; max-width: 100%; }
.it-ed { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; margin-bottom: 8px; }
.it-ed label { display: flex; align-items: center; gap: 5px; font-weight: 700; font-size: .76rem; }
.it-ed input[data-chg=time] { width: 62px; text-align: center; font-weight: 700; }
.it-gap { display: flex; align-items: center; gap: 8px; padding: 2px 0 8px 32px; font-size: .74rem; color: var(--mute); }
.it-gap::before, .it-gap::after { content: ''; flex: 1; border-top: 1.5px dashed #ddd3c6; }
.it-gap::before { flex: 0 0 14px; }
.it-gap.free { color: var(--teal); font-weight: 700; }
.it-gap.free::before, .it-gap.free::after { border-color: #b9d3d1; }
.foot-n { font-size: .74rem; color: var(--mute); text-align: center; margin: 14px 0 4px; }

/* ===== editor: hospedaje en tarjetas ===== */
.hsel { display: flex; align-items: center; gap: 8px; margin-top: 8px; padding: 7px 8px; border-radius: 10px; background: var(--bg); font-size: .8rem; }
.hsel.is-set { background: var(--ok-l); }
.hsel > div { flex: 1; min-width: 0; line-height: 1.25; }
.hsel small { display: block; color: var(--mute); font-size: .72rem; }
.hsel-i { flex: none; }
.hlist { display: flex; flex-direction: column; gap: 6px; margin-top: 6px; }
.hcard { display: flex; align-items: center; gap: 6px; padding: 8px; border: 1px solid var(--line); border-radius: 10px; background: #fff; font-size: .8rem; }
.hcard.sel { border-color: var(--ok); background: var(--ok-l); }
.hcard-b { flex: 1; min-width: 0; line-height: 1.25; }
.hcard-b small { display: block; color: var(--mute); font-size: .72rem; }
.hlist .lnk-b { color: var(--pri-d); font-size: .78rem; align-self: flex-start; }
.hlist p { margin: 0; }

/* ===== presupuesto ===== */
.meter.amber i { background: #f59f00; }
.bnote { font-size: .82rem; font-weight: 600; padding: 8px 10px; border-radius: 10px; margin: 8px 0; }
.bnote.ok { background: var(--ok-l); color: var(--ok); }
.bnote.amber { background: var(--warn-l); color: var(--warn); }
.bnote.bad { background: #fff0ee; color: var(--bad); }
.sugg div span small { display: block; color: var(--mute); font-size: .74rem; }
.dbars .bar { flex-wrap: wrap; }
.dbars .bar small { position: relative; z-index: 1; flex-basis: 100%; color: var(--mute); font-size: .72rem; margin-top: 2px; }
.dbars .bar .lnk-b { font-size: inherit; }

/* ===== mapa: pines numerados ===== */
.pin-num { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; background: var(--teal); color: #fff; font-weight: 800; font-size: .72rem; border: 2px solid #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, .35); white-space: nowrap; }
.pin-num.k-comida { background: #c2410c; } .pin-num.k-hotel { background: #7c3aed; } .pin-num.k-custom { background: #4d7c0f; }
.map-layers .lnk-b { display: block; margin-top: 6px; color: var(--pri-d); font-size: .78rem; }


/* =====================================================================
   DISEÑO VASVOY · tarjetas, barra lateral y resumen tipo bento
   ===================================================================== */
svg[viewBox="0 0 24 24"] { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
h1, h2 { font-family: var(--display); font-weight: 600; letter-spacing: -.02em; }
:focus-visible { outline: 3px solid rgba(193, 68, 14, .4); outline-offset: 2px; }
.btn { border-radius: 999px; }
.btn:hover { border-color: #d6c9b5; }
.btn svg { width: 17px; height: 17px; }
.btn-light { background: #fff; border-color: #fff; color: var(--pri-d); }
.btn-light:hover { background: #fff7ef; }
.chip svg { width: 14px; height: 14px; flex: none; }
.chip { border-radius: 999px; }
.chip.warm { background: var(--pri-l); color: var(--pri-d); }
.wrap { max-width: 1280px; }

/* --- marco: barra lateral (escritorio) y barra superior (móvil) --- */
.top { position: sticky; top: 0; z-index: 1000; height: var(--top); display: flex; align-items: center; gap: 12px; padding: 0 14px; background: rgba(255, 253, 248, .92); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-i svg { width: 40px; height: 40px; display: block; }
.brand-i rect { fill: var(--pri); } .brand-i path { fill: none; stroke: #F7F1E6; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.brand-t { font-family: var(--display); font-size: 1.2rem; font-weight: 600; letter-spacing: -.02em; } .brand-t b { color: var(--pri); font-weight: 700; }
.nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.nav a { display: flex; align-items: center; gap: 6px; text-decoration: none; color: var(--mute); font-weight: 600; font-size: .86rem; border-radius: 999px; padding: 4px 12px 4px 4px; transition: color .15s, background .15s; }
.nav a svg { width: 38px; height: 38px; padding: 9px; border-radius: 50%; transition: background .15s, color .15s, box-shadow .15s; }
.nav a:hover { color: var(--ink); } .nav a:hover svg { background: var(--pri-l); color: var(--pri); }
.nav a.on { color: var(--pri-d); } .nav a.on svg { background: var(--pri); color: #fff; box-shadow: 0 6px 16px rgba(193, 68, 14, .35); }
.nav .nav-new svg { background: var(--teal); color: #fff; }
.nav .nav-new:hover svg { background: var(--teal-d); color: #fff; }
.nav-vv { display: flex; align-items: center; gap: 2px; color: var(--mute); font-size: .76rem; font-weight: 600; text-decoration: none; }
.nav-vv svg { width: 16px; height: 16px; }
.nav-vv:hover { color: var(--pri); }
@media (min-width: 900px) {
  :root { --top: 0px; }
  body { padding-left: var(--rail); }
  .top { position: fixed; left: 0; top: 0; bottom: 0; width: var(--rail); height: auto; flex-direction: column; padding: 20px 0 18px; gap: 0; background: var(--card); border-bottom: 0; border-right: 1px solid var(--line); backdrop-filter: none; }
  .brand-t { display: none; }
  .brand-i svg { width: 46px; height: 46px; }
  .nav { flex-direction: column; margin: auto 0; gap: 14px; }
  .nav a { flex-direction: column; gap: 4px; padding: 0; font-size: .66rem; width: 72px; text-align: center; line-height: 1.15; }
  .nav a svg { width: 46px; height: 46px; padding: 12px; }
  .nav-vv { flex-direction: column; font-size: .66rem; }
  .nav-vv svg { width: 34px; height: 34px; padding: 8px; border-radius: 50%; border: 1px solid var(--line); }
}
@media (max-width: 899px) {
  .nav a span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .nav a { padding: 0; }
  .nav-vv span { display: none; }
}
@media (max-width: 420px) { .brand-t { display: none; } }

/* --- inicio y tarjetas --- */
.hero { border-radius: 28px; margin: 16px; min-height: 540px; }
.hero::after { background: linear-gradient(100deg, rgba(33, 25, 18, .86) 0%, rgba(33, 25, 18, .55) 55%, rgba(33, 25, 18, .12)); }
.hero h1 { font-weight: 600; } .hero h1 em { font-style: italic; color: var(--cempa); }
.eyebrow { color: var(--cempa); font-weight: 700; }
.btn-glass { background: rgba(255, 255, 255, .14); }
.steps3 > div, .pcard, .tcard, .wiz-main, .wiz-side { border-radius: var(--r); background: var(--card); }
.steps3 span { background: var(--pri-l); color: var(--pri); }
.pcard-st { color: var(--pri); font-weight: 700; }
.pcard-ph { height: 190px; }
.ph-empty { background: linear-gradient(135deg, hsl(var(--h) 45% 42%), hsl(calc(var(--h) + 40) 50% 30%)); }
.foot { border-top: 0; }
.opt.on, .rec.on { box-shadow: 0 0 0 3px rgba(193, 68, 14, .12); }
.wiz-prog i { background: linear-gradient(90deg, var(--pri), var(--cempa)); }

/* --- resumen: rejilla bento --- */
.sum { padding-top: 20px; padding-bottom: 48px; max-width: 1320px; }
.shared-bar { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; background: var(--teal-l); color: var(--teal-d); border-radius: 16px; padding: 10px 14px; margin-bottom: 14px; font-weight: 600; font-size: .88rem; }
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.bento > * { min-width: 0; }
.b-hero { grid-column: 1 / span 4; height: 380px; position: relative; border-radius: var(--r); overflow: hidden; color: #fff; box-shadow: var(--sh); }
.b-hero-ph { position: absolute; inset: 0; }
.b-hero-ph.ph-empty span, .b-hero-ph.ph-empty small { display: none; }
.b-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(33, 25, 18, .25) 0%, rgba(33, 25, 18, 0) 30%, rgba(33, 25, 18, .2) 55%, rgba(33, 25, 18, .88) 100%); pointer-events: none; }
.b-hero-top { position: absolute; top: 14px; left: 14px; right: 14px; z-index: 2; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.glass-chip { display: inline-flex; align-items: center; gap: 6px; background: rgba(255, 255, 255, .18); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, .28); padding: 6px 12px; border-radius: 999px; font-size: .74rem; font-weight: 600; }
.glass-chip svg { width: 14px; height: 14px; }
.avatars { display: flex; align-items: center; background: rgba(255, 255, 255, .2); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, .28); padding: 3px 10px 3px 3px; border-radius: 999px; }
.avatars > span { width: 30px; height: 30px; border-radius: 50%; overflow: hidden; border: 2px solid #fff; margin-left: -9px; flex: none; }
.avatars > span:first-child { margin-left: 0; }
.avatars .av { width: 100%; height: 100%; } .avatars .av span, .avatars .av small { display: none; }
.avatars em { font-style: normal; font-size: .76rem; font-weight: 700; margin-left: 8px; }
.b-hero-b { position: absolute; left: 20px; right: 20px; bottom: 18px; z-index: 2; }
.b-hero h1 { color: #fff; font-size: clamp(1.45rem, 2.2vw, 1.95rem); margin: 0 0 6px; overflow-wrap: anywhere; }
.b-hero p { font-size: .84rem; opacity: .88; margin: 0 0 12px; }
.chips.glass .chip { background: rgba(255, 255, 255, .15); color: #fff; border: 1px solid rgba(255, 255, 255, .22); backdrop-filter: blur(8px); font-size: .74rem; padding: 4px 10px; }
.b-map { grid-column: 5 / span 8; height: 380px; position: relative; border-radius: var(--r); overflow: hidden; box-shadow: var(--sh); background: #e9e2d6; }
.b-map .sum-map { position: absolute; inset: 0; height: auto; margin: 0; border-radius: 0; }
.map-badge { position: absolute; top: 14px; left: 14px; z-index: 500; background: var(--card); border-radius: 999px; padding: 8px 14px; font-size: .78rem; color: var(--mute); box-shadow: var(--sh); }
.map-badge b { color: var(--ink); }
.map-tools, .map-go { position: absolute; bottom: 14px; z-index: 500; display: flex; gap: 4px; background: var(--card); padding: 5px; border-radius: 999px; box-shadow: 0 6px 24px rgba(33, 25, 18, .16); }
.map-tools { left: 14px; } .map-go { right: 14px; }
.mt-b { width: 42px; height: 42px; border-radius: 50%; border: 0; background: transparent; display: grid; place-items: center; color: var(--mute); text-decoration: none; transition: background .15s, color .15s; }
.mt-b svg { width: 20px; height: 20px; }
.mt-b:hover { background: var(--bg); color: var(--ink); }
.mt-b.on { background: var(--pri-l); color: var(--pri); }
.mt-b.pri, .mt-b[data-act=sum-fit] { background: var(--pri); color: #fff; }
.mt-b.pri:hover, .mt-b[data-act=sum-fit]:hover { background: var(--pri-d); color: #fff; }

.b-brand { grid-column: 1 / span 4; min-height: 300px; position: relative; overflow: hidden; border-radius: var(--r); padding: 22px; color: #fff; display: flex; flex-direction: column; gap: 4px; box-shadow: var(--sh);
  background: radial-gradient(110% 70% at 50% 118%, rgba(242, 169, 59, .95) 0%, rgba(242, 169, 59, 0) 60%), radial-gradient(60% 50% at 100% 0%, rgba(178, 58, 99, .55), rgba(178, 58, 99, 0) 70%), linear-gradient(160deg, #C1440E 0%, #9C3609 60%, #74290A 100%); }
.b-brand-h { display: flex; align-items: center; gap: 10px; font-family: var(--display); font-size: 1.35rem; font-weight: 600; }
.b-brand-i { width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 255, 255, .18); border: 1px solid rgba(255, 255, 255, .25); display: grid; place-items: center; }
.b-brand-i svg { width: 20px; height: 20px; }
.b-brand small { opacity: .8; margin-top: 12px; font-size: .78rem; }
.b-brand p { font-family: var(--display); font-size: 1.32rem; line-height: 1.3; font-weight: 500; margin: 0 0 12px; }
.b-brand .btn-light { align-self: flex-start; }
.b-brand-a { margin-top: auto; padding-top: 14px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
.b-brand-a button { display: flex; flex-direction: column; align-items: center; gap: 6px; border: 1px solid rgba(255, 255, 255, .2); background: rgba(255, 255, 255, .13); color: #fff; border-radius: 16px; padding: 10px 2px 8px; font-size: .7rem; font-weight: 600; backdrop-filter: blur(6px); transition: background .15s, transform .15s; }
.b-brand-a button:hover { background: rgba(255, 255, 255, .26); transform: translateY(-1px); }
.b-brand-a svg { width: 20px; height: 20px; }

.b-widgets { grid-column: 5 / span 4; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.wdg { background: var(--card); border-radius: var(--r); padding: 14px 14px 12px; box-shadow: var(--sh); display: flex; flex-direction: column; align-items: center; text-align: center; min-height: 142px; min-width: 0; }
.wdg header { align-self: stretch; display: flex; align-items: center; gap: 8px; font-size: .8rem; font-weight: 600; }
.wdg-i { width: 30px; height: 30px; border-radius: 50%; background: var(--pri-l); color: var(--pri); display: grid; place-items: center; flex: none; }
.wdg-i svg { width: 16px; height: 16px; }
.wdg-big { font-family: var(--display); font-size: 1.75rem; font-weight: 600; line-height: 1; margin-top: 10px; white-space: nowrap; }
.wdg-big sup { font-family: 'Work Sans', sans-serif; font-size: .42em; font-weight: 600; margin-left: 1px; vertical-align: .9em; }
.sunarc { width: 62px; height: 31px; border-radius: 62px 62px 0 0; background: linear-gradient(180deg, var(--cempa), #F8DDA9); margin-top: 8px; }
.gauge { width: 86px; margin-top: 4px; }
.gauge line { stroke: var(--line); stroke-width: 3.2; stroke-linecap: round; } .gauge line.on { stroke: var(--pri); }
.wdg footer { font-size: .74rem; color: var(--mute); margin-top: auto; padding-top: 6px; }
.wdg footer em { font-style: normal; } .wok { color: var(--ok); } .wbad { color: var(--warn); }
.pace { display: flex; gap: 6px; align-items: flex-end; justify-content: center; height: 62px; width: 100%; margin-top: 10px; }
.pace-b { flex: 0 1 16px; height: 100%; border: 0; padding: 0; background: var(--bg); border-radius: 6px; display: flex; align-items: flex-end; overflow: hidden; cursor: pointer; }
.pace-b i { display: block; width: 100%; background: #CDBDA6; border-radius: 6px; transition: background .15s; }
.pace-b:hover i { background: #b7a284; } .pace-b.on i { background: var(--teal); }
.wdg-mid { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-family: var(--display); font-size: 1.35rem; font-weight: 600; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: #CDBDA6; flex: none; }
.dot.ok { background: var(--ok); } .dot.amber { background: var(--cempa); } .dot.bad { background: var(--bad); }
.segbar { display: flex; gap: 3px; width: 100%; height: 26px; margin-top: 10px; }
.segbar i { flex: 1; border-radius: 4px; background: var(--bg); }
.segbar i.on { background: hsl(calc(145 - var(--p) * 145) 52% 44%); }

.b-near { grid-column: 9 / span 4; display: flex; flex-direction: column; gap: 10px; }
.b-near header { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding: 2px 4px 0; }
.b-near h2 { margin: 0; font-size: 1.4rem; }
.b-near header a { color: var(--pri); font-weight: 600; font-size: .86rem; text-decoration: none; }
.near { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; flex: 1; scrollbar-width: none; }
.near::-webkit-scrollbar { display: none; }
.near-c { position: relative; flex: 0 0 calc(50% - 6px); min-height: 240px; border: 0; padding: 0; border-radius: var(--r); overflow: hidden; color: #fff; text-align: left; scroll-snap-align: start; box-shadow: var(--sh); background: #ccc; }
.near-ph { position: absolute; inset: 0; transition: transform .5s ease; }
.near-ph.ph-empty span { font-size: 1.6rem; } .near-ph.ph-empty small { display: none; }
.near-c:hover .near-ph { transform: scale(1.06); }
.near-c::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(33, 25, 18, 0) 45%, rgba(33, 25, 18, .85)); }
.near-c > span { position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 1; line-height: 1.25; }
.near-c b { display: block; font-size: .95rem; } .near-c small { font-size: .74rem; opacity: .82; }

/* línea de ruta */
.sum-route { display: flex; align-items: flex-start; overflow-x: auto; background: var(--card); border-radius: var(--r); padding: 18px 20px 16px; box-shadow: var(--sh); margin: 16px 0 0; scrollbar-width: thin; }
.rn { flex: none; display: flex; flex-direction: column; align-items: center; text-align: center; min-width: 96px; max-width: 140px; }
.rn i { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-weight: 700; font-size: .78rem; margin-bottom: 6px; }
.rn-s i { background: var(--pri); color: #fff; box-shadow: 0 4px 12px rgba(193, 68, 14, .3); }
.rn-o i { background: var(--teal-l); } .rn-o i::after { content: ''; width: 10px; height: 10px; border-radius: 50%; background: var(--teal); }
.rn b { font-size: .86rem; line-height: 1.2; } .rn small { font-size: .72rem; color: var(--mute); }
.rl { flex: 1 0 84px; position: relative; height: 28px; margin: 0 -14px; }
.rl::before { content: ''; position: absolute; left: 18px; right: 18px; top: 13px; border-top: 2px dashed #D6C8B3; }
.rl span { position: absolute; left: 0; right: 0; top: -9px; text-align: center; font-size: .7rem; font-weight: 600; color: var(--teal); white-space: nowrap; }

/* itinerario del resumen */
.sum-sec-h { display: flex; align-items: center; gap: 16px; margin: 30px 0 14px; flex-wrap: wrap; }
.sum-sec-h h2 { margin: 0; font-size: 1.7rem; }
.dtabs { display: flex; gap: 8px; overflow-x: auto; flex: 1; padding: 3px; scrollbar-width: none; }
.dtabs::-webkit-scrollbar { display: none; }
.dtab { flex: none; display: flex; flex-direction: column; align-items: flex-start; line-height: 1.2; border: 1px solid var(--line); background: var(--card); border-radius: 16px; padding: 8px 14px; text-align: left; transition: background .15s, color .15s, border-color .15s; }
.dtab b { font-size: .86rem; } .dtab small { font-size: .72rem; color: var(--mute); }
.dtab:hover { border-color: #d3c4ad; }
.dtab.on { background: var(--ink); border-color: var(--ink); color: #fff; } .dtab.on small { color: #d9ccba; }
.sum-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 16px; align-items: start; }
.sum-days { display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.sday { display: none; background: var(--card); border-radius: var(--r); box-shadow: var(--sh); overflow: hidden; break-inside: avoid; animation: fadein .25s ease; }
.sday.on { display: block; }
@keyframes fadein { from { opacity: 0; transform: translateY(4px); } }
.sday-h { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.sday-n { width: 40px; height: 40px; border-radius: 14px; background: var(--teal); color: #fff; display: grid; place-items: center; font-weight: 700; flex: none; font-family: var(--display); font-size: 1.1rem; }
.sday-t { flex: 1; min-width: 160px; }
.sday-t small { color: var(--mute); font-size: .78rem; }
.sday-t h3 { margin: 0; font-family: var(--display); font-weight: 600; font-size: 1.15rem; }
.sday-c { display: flex; flex-wrap: wrap; gap: 6px; }
.srows { list-style: none; margin: 0; padding: 6px 8px; }
.srow { display: grid; grid-template-columns: 96px 88px minmax(0, 1fr) auto; gap: 10px; align-items: center; padding: 9px 10px; font-size: .86rem; border-radius: 14px; transition: background .15s; }
.srow + .srow { box-shadow: 0 -1px 0 #F1EAE0; }
.srow.has-loc { cursor: pointer; } .srow.has-loc:hover { background: #FBF6EE; }
.srow.sel { background: var(--pri-l) !important; box-shadow: none; }
.st { font-weight: 600; font-size: .8rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.pill { justify-self: start; font-size: .64rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 4px 9px; border-radius: 999px; white-space: nowrap; }
.p-leg { background: var(--teal-l); color: var(--teal-d); } .p-vis { background: var(--ok-l); color: var(--ok); } .p-food { background: #FDEFD9; color: #9A5B00; }
.p-hotel { background: var(--bug-l); color: var(--bug); } .p-act { background: #EEF3E2; color: #55701c; } .p-free { background: #F2ECE3; color: var(--mute); }
.srow.k-free { color: var(--mute); }
.sn { min-width: 0; } .sn b { display: block; font-weight: 600; line-height: 1.25; }
.sn small { display: block; color: var(--mute); font-size: .76rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sc { font-weight: 600; font-size: .82rem; white-space: nowrap; text-align: right; }
.sday-f { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; padding: 12px 18px; background: #FAF5EC; border-top: 1px solid var(--line); font-size: .8rem; color: var(--mute); }
.sday-f b { color: var(--ink); font-size: .92rem; margin-left: 4px; }
.sum-side { display: flex; flex-direction: column; gap: 16px; position: sticky; top: calc(var(--top) + 16px); }
.scard { background: var(--card); border-radius: var(--r); box-shadow: var(--sh); padding: 18px; }
.scard h3 { margin: 0 0 10px; font-family: var(--display); font-weight: 600; font-size: 1.15rem; }
.scard-h { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; } .scard-h small { color: var(--mute); font-size: .76rem; }
.bl { display: flex; justify-content: space-between; gap: 8px; padding: 6px 0; font-size: .84rem; border-bottom: 1px dashed #EDE4D6; }
.bl span { color: var(--mute); }
.bl-t { border-bottom: 0; border-top: 2px solid var(--ink); margin-top: 6px; padding-top: 10px; font-size: 1rem; }
.bl-t span { color: var(--ink); font-weight: 700; } .bl-t b { font-family: var(--display); font-size: 1.15rem; }
.lnk-b2 { border: 0; background: none; padding: 0; color: var(--pri-d); cursor: pointer; }
.chk { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; font-size: .86rem; }
.chk label { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; padding: 7px 8px; border-radius: 12px; }
.chk label:hover { background: var(--bg); }
.chk input { margin-top: 2px; width: 17px; height: 17px; accent-color: var(--teal); flex: none; }
.chk input:checked + span { text-decoration: line-through; color: var(--mute); }
.sum-foot { text-align: center; color: var(--mute); font-size: .78rem; margin-top: 24px; }
.share-url { width: 100%; font-family: ui-monospace, monospace; font-size: .76rem; word-break: break-all; padding: 10px; border-radius: 12px; border: 1px solid var(--line); }
.bnote { border-radius: 12px; }

/* --- mapas: tono cálido, pines y herramientas --- */
.leaflet-container { font-family: 'Work Sans', system-ui, sans-serif; background: #ECE5D8; }
.leaflet-tile { filter: saturate(.55) sepia(.14) brightness(1.04) contrast(.94); }   /* por mosaico: en el panel completo Chrome recorta al desplazar */
.leaflet-control-zoom { border: 0 !important; box-shadow: var(--sh) !important; border-radius: 14px !important; overflow: hidden; }
.leaflet-control-zoom a { width: 34px !important; height: 34px !important; line-height: 34px !important; color: var(--ink) !important; border-color: var(--line) !important; }
.leaflet-popup-content-wrapper { border-radius: 16px; box-shadow: var(--sh-lg); }
.pin { border-width: 3px; box-shadow: 0 4px 12px rgba(33, 25, 18, .3); font-family: var(--display); }
.pin-o { width: 22px; height: 22px; background: var(--teal); border-width: 4px; }
.pin-s { background: var(--pri); } .pin-f { transform: scale(1.25); background: var(--pri-d); }
.pin-num { background: var(--teal); box-shadow: 0 3px 8px rgba(33, 25, 18, .3); }
.pin-num.k-comida { background: #C77B0A; } .pin-num.k-hotel { background: var(--bug); } .pin-num.k-custom { background: #55701c; }
.km-tip { background: var(--ink); font-family: 'Work Sans', sans-serif; font-weight: 600; }

/* --- editor --- */
.planner { gap: 14px; padding: 14px; background: var(--bg); grid-template-columns: minmax(380px, 480px) minmax(0, 1fr); }
.panel { background: var(--card); border: 0; border-radius: var(--r); overflow: hidden; box-shadow: var(--sh); }
.pl-head { background: var(--card); padding: 16px 18px 0; }
.trip-name { font-family: var(--display); font-weight: 600; font-size: 1.3rem; letter-spacing: -.01em; }
.pl-mode { background: var(--pri-l); color: var(--pri-d); border-radius: 999px; padding: 4px 10px; }
.tabs { background: var(--bg); border-radius: 14px; padding: 4px; margin: 4px 0 14px; gap: 2px; }
.tabs button { border-bottom: 0; border-radius: 11px; padding: 9px 6px; font-weight: 600; font-size: .88rem; transition: background .15s, color .15s; }
.tabs button:hover { color: var(--ink); }
.tabs button.on { background: var(--card); color: var(--ink); box-shadow: 0 1px 2px rgba(33, 25, 18, .08), 0 4px 12px rgba(33, 25, 18, .06); }
.pl-scroll { background: #F8F3EA; padding: 16px; }
.stats div, .stop, .day, .bar, .mrec, .hcard { border-radius: 18px; }
.stats div { background: var(--card); box-shadow: none; border: 1px solid var(--line); }
.stats b { font-family: var(--display); font-size: 1.2rem; font-weight: 600; }
.stop { background: var(--card); box-shadow: 0 1px 2px rgba(33, 25, 18, .05); border: 1px solid var(--line); }
.stop.focus { border-color: var(--pri); box-shadow: 0 0 0 3px var(--pri-l); }
.o-dot { background: var(--teal); }
.day { background: var(--card); box-shadow: 0 1px 2px rgba(33, 25, 18, .05); border: 1px solid var(--line); }
.day-h { background: var(--card); }
.day-n { background: var(--teal); border-radius: 14px; }
.day-n:hover { background: var(--teal-d); }
.day.dfocus { border-color: var(--pri); box-shadow: 0 0 0 3px var(--pri-l); }
.leg { background: var(--teal-l); color: var(--teal-d); border-radius: 14px; }
.seg-h { color: var(--pri); }
.it-card { border-radius: 14px; background: var(--card); }
.it.k-comida .it-card { background: #FEF8EE; } .it.k-hotel .it-card { background: #FCF2F5; } .it.k-custom .it-card { background: #F6F8EF; }
.seg-add { border-radius: 12px; background: #FBF7F0; }
.bud-hero > div { border-radius: 18px; background: linear-gradient(160deg, var(--pri), var(--pri-d)); }
.bud-hero > div + div { background: var(--card); border: 1px solid var(--line); box-shadow: none; }
.bud-hero b { font-family: var(--display); font-weight: 600; }
.bar { background: var(--card); border: 1px solid var(--line); box-shadow: none; }
.bar i { background: var(--pri-l); }
.seg-btns { background: var(--bg); border: 0; border-radius: 14px; padding: 4px; }
.seg-btns button { border-radius: 11px; }
.seg-btns button.on { background: var(--card); color: var(--ink); box-shadow: 0 1px 2px rgba(33, 25, 18, .08), 0 4px 12px rgba(33, 25, 18, .06); }
.meter { background: #EDE4D6; }
.meter i { background: var(--ok); } .meter.near i, .meter.amber i { background: var(--cempa); }
.sugg { background: #FDF3EC; border-color: #F3D2BF; border-radius: 16px; }
.hsel { border-radius: 14px; } .hsel.is-set { background: var(--teal-l); } .hcard.sel { border-color: var(--teal); background: var(--teal-l); }
.mapwrap { border-radius: var(--r); overflow: hidden; box-shadow: var(--sh); }
.map-layers { top: auto; right: auto; left: 14px; bottom: 14px; background: none; padding: 0; box-shadow: none; display: flex; flex-direction: row; align-items: center; gap: 8px; max-width: none; }
.map-layers .map-tools { position: static; }
.map-all { border: 0; background: var(--card); color: var(--pri-d); font-weight: 600; font-size: .84rem; border-radius: 999px; padding: 12px 16px; box-shadow: 0 6px 24px rgba(33, 25, 18, .16); }
.map-legend { left: auto; right: 14px; bottom: auto; top: 14px; background: var(--card); border-radius: 999px; padding: 8px 14px; color: var(--mute); }
.lg-o { background: var(--teal); } .lg-s { background: var(--pri); } .lg-x { background: #9a8b7a; }
.mobile-toggle { background: var(--ink); }
.modal-card, .drawer-card { background: var(--card); }
.modal-card { border-radius: 26px; }
.toast { background: var(--ink); border-radius: 14px; } .toast button { color: var(--cempa); }

/* --- responsive del nuevo diseño --- */
@media (max-width: 1180px) {
  .b-hero { grid-column: 1 / span 5; } .b-map { grid-column: 6 / span 7; }
  .b-brand { grid-column: 1 / span 5; } .b-widgets { grid-column: 6 / span 7; }
  .b-near { grid-column: 1 / -1; } .near-c { flex-basis: 240px; min-height: 200px; }
}
@media (max-width: 980px) {
  .sum-grid { grid-template-columns: minmax(0, 1fr); }
  .sum-side { position: static; display: grid; grid-template-columns: 1fr 1fr; align-items: start; }
}
@media (max-width: 899px) {
  .planner { padding: 0; gap: 0; }
  .panel, .mapwrap { border-radius: 0; box-shadow: none; }
  .map-layers { bottom: 84px; }
  .map-legend { display: none; }
}
@media (max-width: 760px) {
  .sum { padding: 12px 12px 90px; }
  .bento { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .b-hero, .b-map, .b-brand, .b-widgets, .b-near { grid-column: 1 / -1; }
  .b-hero { height: 340px; } .b-map { height: 300px; }
  .b-brand { min-height: 0; }
  .b-widgets { gap: 12px; }
  .map-badge { font-size: .72rem; padding: 6px 12px; }
  .sum-side { display: flex; }
  .sum-sec-h { margin-top: 22px; gap: 10px; } .sum-sec-h h2 { font-size: 1.4rem; }
  .dtabs { flex-basis: 100%; }
  .srow { grid-template-columns: 78px minmax(0, 1fr) auto; gap: 4px 8px; padding: 9px 8px; }
  .srow .pill { grid-column: 2; grid-row: 1; }
  .srow .sn { grid-column: 2 / 4; grid-row: 2; }
  .srow .sc { grid-column: 3; grid-row: 1; }
  .st { grid-row: 1; font-size: .76rem; }
  .hero { margin: 10px; border-radius: 22px; min-height: 0; }
  .hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; } .hero-stats b { font-size: 1.4rem; } .hero-stats span { font-size: .72rem; }
  .mt-b { width: 38px; height: 38px; } .mt-b svg { width: 18px; height: 18px; }
  .b-map .leaflet-control-zoom { display: none; }
}

/* --- impresión: el resumen completo, sin controles --- */
@media print {
  body { padding-left: 0 !important; background: #fff; }
  .top, .b-map, .b-near, .b-brand-a, .b-brand .btn, .map-tools, .map-go, .dtabs, .shared-bar, .lnk-b2, .foot, #toasts,
  .mapwrap, .tabs, .pl-bar, .mobile-toggle, .seg-add, .grip, .icon-btn, .ptitle button { display: none !important; }
  .wrap.sum { max-width: none; padding: 0; }
  .bento { grid-template-columns: 1fr 1fr; }
  .b-hero { grid-column: 1 / -1; height: 220px; }
  .b-brand { grid-column: 1 / 2; min-height: 0; }
  .b-widgets { grid-column: 2 / 3; }
  .b-brand, .b-hero, .wdg, .sday, .scard, .sum-route { box-shadow: none !important; }
  .wdg, .sday, .scard, .sum-route { border: 1px solid #ddd; }
  .sday { display: block !important; break-inside: avoid; margin-bottom: 10px; }
  .sum-grid { display: block; } .sum-side { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 14px; }
  .planner { display: block; height: auto; padding: 0; } .panel { border: 0; box-shadow: none; } .pl-scroll { overflow: visible; }
  .day { box-shadow: none; border: 1px solid #ccc; break-inside: avoid; }
  .it-x { display: block !important; }
  * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
}
/* enlace a la calculadora de puentes (/puentes) */
.hero-puentes{display:inline-block; margin-top:14px; color:rgba(255,255,255,.92); font-size:.92rem; text-decoration:none; border-bottom:1px solid rgba(255,255,255,.4); padding-bottom:2px;}
.hero-puentes b{color:#F2A93B;}
.hero-puentes:hover{border-bottom-color:#F2A93B;}

/* ======================================================================
   ASISTENTE "Nuevo viaje" · una sola pantalla tipo app
   (pregunta + opciones + barra fija, y a la derecha "Tu viaje" con mapa vivo)
   ====================================================================== */
.wz { max-width: 1280px; margin: 0 auto; padding: 24px 24px 40px; display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 22px; align-items: start; }
.wz-main svg, .wz-trip-b svg, .wz-mini svg { fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.wz-main { background: var(--card); border-radius: 26px; box-shadow: var(--sh); display: flex; flex-direction: column; min-height: calc(100vh - 48px); min-height: calc(100dvh - 48px); }

/* pasos */
.wz-steps { padding: 22px 32px 0; }
.wz-steps-k { margin: 0 0 10px; font-size: .78rem; font-weight: 600; color: var(--mute); letter-spacing: .02em; }
.wz-steps-k b { color: var(--ink); font-weight: 600; }
.wz-steps ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.wz-st { width: 100%; border: 0; background: none; padding: 0 0 4px; display: flex; flex-direction: column; gap: 8px; text-align: left; color: var(--mute); font-size: .8rem; font-weight: 600; }
.wz-st i { display: block; height: 4px; border-radius: 4px; background: var(--line); transition: background .25s; }
.wz-st.done { color: var(--teal-d); } .wz-st.done i { background: var(--teal); }
.wz-st.on { color: var(--ink); } .wz-st.on i { background: var(--pri); }
.wz-st:disabled { cursor: default; }
.wz-st.done:hover span { text-decoration: underline; text-underline-offset: 3px; }
.wz-mini { display: none; }

/* cuerpo */
.wz-body { flex: 1; padding: 30px 32px 36px; }
.wz-in { animation: wzIn .28s ease-out; }
@keyframes wzIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.wz-q { margin-bottom: 22px; }
.wz-q h1 { font-family: var(--display); font-weight: 600; font-size: clamp(1.7rem, 2.8vw, 2.3rem); letter-spacing: -.02em; line-height: 1.12; margin: 0 0 8px; }
.wz-q h1:focus { outline: none; }
.wz-q .lead { color: var(--mute); font-size: 1rem; margin: 0; max-width: 60ch; }
.wz-sub { margin-top: 30px; }
.wz-sub h2 { font-size: 1.02rem; font-weight: 700; margin: 0 0 12px; letter-spacing: 0; }
.wz-sub h2 small { font-weight: 500; color: var(--mute); font-size: .86rem; margin-left: 4px; }
.wz-sub > .muted { margin: -6px 0 12px; font-size: .9rem; }
.wz-empty { color: var(--mute); padding: 18px 2px; margin: 0; }

/* palomita común */
.wz-tick { width: 24px; height: 24px; flex: none; border-radius: 50%; display: grid; place-items: center; border: 1.5px solid var(--line); background: #fff; color: transparent; transition: background .15s, border-color .15s; }
.wz-tick svg { width: 14px; height: 14px; stroke-width: 3; }
.on > .wz-tick { background: var(--pri); border-color: var(--pri); color: #fff; }

/* buscador */
.wz-search { display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 16px; border: 1.5px solid var(--line); border-radius: 14px; background: #fff; transition: border-color .15s, box-shadow .15s; }
.wz-search:focus-within { border-color: var(--ink); box-shadow: 0 0 0 4px rgba(33, 25, 18, .06); }
.wz-search svg { width: 20px; height: 20px; color: var(--mute); flex: none; }
.wz .wz-search input, .wz .wz-money input { flex: 1; min-width: 0; border: 0; outline: 0; box-shadow: none; border-radius: 0; padding: 0; background: transparent; font-size: 16px; height: 100%; }

/* paso 1: ciudades */
.wz-cities { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 8px; margin-top: 14px; }
.wz-city { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 12px 12px 16px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; text-align: left; transition: border-color .15s, background .15s; }
.wz-city b { display: block; font-weight: 600; font-size: .95rem; }
.wz-city small { display: block; color: var(--mute); font-size: .78rem; }
.wz-city:hover { border-color: #cfc3b2; }
.wz-city.on { border-color: var(--pri); background: var(--pri-l); }
.wz-toggle { margin-top: 22px; display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 16px; border: 1.5px solid var(--line); cursor: pointer; position: relative; }
.wz-toggle input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.wz-toggle-i { width: 42px; height: 42px; flex: none; display: grid; place-items: center; border-radius: 12px; background: var(--teal-l); color: var(--teal); }
.wz-toggle-i svg { width: 22px; height: 22px; }
.wz-toggle-t { flex: 1; } .wz-toggle-t b { display: block; font-weight: 600; } .wz-toggle-t small { color: var(--mute); font-size: .84rem; }
.wz-sw { width: 46px; height: 28px; flex: none; border-radius: 999px; background: #d4cbbd; position: relative; transition: background .2s; }
.wz-sw::after { content: ''; position: absolute; top: 3px; left: 3px; width: 22px; height: 22px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: left .2s; }
.wz-toggle input:checked ~ .wz-sw { background: var(--teal); }
.wz-toggle input:checked ~ .wz-sw::after { left: 21px; }
.wz-toggle input:focus-visible ~ .wz-sw { outline: 3px solid rgba(193, 68, 14, .45); outline-offset: 2px; }

/* paso 2: fechas */
.wz-presets { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.wz-pre { display: flex; flex-direction: column; align-items: flex-start; padding: 12px 14px; border-radius: 16px; border: 1.5px solid var(--line); background: #fff; text-align: left; transition: border-color .15s, background .15s; }
.wz-pre b { font-family: var(--display); font-weight: 600; font-size: 1.7rem; line-height: 1; }
.wz-pre span { font-size: .8rem; font-weight: 600; color: var(--mute); }
.wz-pre small { margin-top: 8px; font-size: .78rem; color: var(--mute); }
.wz-pre:hover { border-color: #cfc3b2; }
.wz-pre.on { border-color: var(--pri); background: var(--pri-l); } .wz-pre.on b { color: var(--pri-d); }
.wz-row { display: grid; grid-template-columns: 1fr auto; gap: 16px; margin-top: 20px; align-items: start; }
.wz-field { display: flex; flex-direction: column; gap: 6px; }
.wz-field > span { font-size: .8rem; font-weight: 700; color: var(--mute); }
.wz-field input[type=date] { height: 52px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: 14px; background: #fff; font-size: 16px; -webkit-appearance: none; appearance: none; display: block; width: 100%; min-width: 0; text-align: left; }
.wz-field input[type=date]::-webkit-date-and-time-value { text-align: left; margin: 0; }
.wz-field input[type=date]:focus { outline: 0; border-color: var(--ink); }
.wz-cal { display: flex; gap: 6px; overflow-x: auto; padding: 18px 0 6px; scrollbar-width: thin; }
.wz-day { flex: none; width: 54px; padding: 8px 0 6px; border-radius: 14px; background: var(--pri-l); text-align: center; display: flex; flex-direction: column; align-items: center; }
.wz-day small { font-size: .68rem; font-weight: 600; text-transform: uppercase; letter-spacing: .04em; color: var(--mute); }
.wz-day b { font-size: 1.15rem; font-weight: 700; line-height: 1.3; }
.wz-day em { font-style: normal; font-size: .66rem; min-height: 1em; color: var(--mute); text-transform: uppercase; letter-spacing: .04em; }
.wz-day.we small { color: var(--pri-d); }
.wz-day.ini, .wz-day.fin { background: var(--pri); color: #fff; }
.wz-day.ini small, .wz-day.fin small, .wz-day.ini em, .wz-day.fin em { color: rgba(255, 255, 255, .85); }
.wz-note { display: flex; gap: 10px; align-items: flex-start; margin: 14px 0 0; padding: 12px 14px; border-radius: 14px; background: var(--teal-l); color: var(--teal-d); font-size: .92rem; }
.wz-note svg { width: 20px; height: 20px; flex: none; margin-top: 1px; }

/* tarjetas de opción (tipo, estilo, transporte) */
.wz-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 10px; }
.wz-cards-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.wz-card { display: flex; align-items: center; gap: 14px; padding: 14px; border-radius: 16px; border: 1.5px solid var(--line); background: #fff; text-align: left; transition: border-color .15s, background .15s; }
.wz-card:hover { border-color: #cfc3b2; }
.wz-card-i { width: 46px; height: 46px; flex: none; display: grid; place-items: center; border-radius: 13px; background: var(--bg); color: var(--ink); transition: background .15s, color .15s; }
.wz-card-i svg { width: 24px; height: 24px; }
.wz-card-t { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.wz-card-t b { font-weight: 600; font-size: .98rem; }
.wz-card-t small { color: var(--mute); font-size: .8rem; line-height: 1.35; }
.wz-card-t em { font-style: normal; font-size: .78rem; font-weight: 600; color: var(--teal-d); margin-top: 4px; }
.wz-card.on { border-color: var(--pri); background: var(--pri-l); }
.wz-card.on .wz-card-i { background: var(--pri); color: #fff; }
.wz-cards-3 .wz-card { flex-direction: column; align-items: flex-start; position: relative; padding: 16px; }
.wz-cards-3 .wz-tick { position: absolute; top: 12px; right: 12px; }
.wz-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.wz-tag { display: inline-flex; align-items: center; gap: 6px; padding: 9px 14px 9px 10px; border-radius: 999px; border: 1.5px solid var(--line); background: #fff; font-weight: 600; font-size: .88rem; }
.wz-tag svg { width: 16px; height: 16px; stroke-width: 2.4; }
.wz-tag.on { background: var(--ink); border-color: var(--ink); color: #fff; }

/* paso 4: viajeros */
.wz-group { border: 1.5px solid var(--line); border-radius: 18px; overflow: hidden; }
.wz-line { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 18px; background: #fff; }
.wz-line + .wz-line { border-top: 1px solid var(--line); }
.wz-line b { display: block; font-weight: 600; } .wz-line small { color: var(--mute); font-size: .82rem; }
.wz-kids { flex-wrap: wrap; }
.wz-kids select { height: 40px; padding: 0 10px; border-radius: 10px; border: 1.5px solid var(--line); background: #fff; }
.wz-stepper { border: 0; padding: 0; gap: 14px; }
.wz-stepper button { width: 40px; height: 40px; display: grid; place-items: center; border: 1.5px solid var(--line); background: #fff; color: var(--ink); }
.wz-stepper button svg { width: 18px; height: 18px; stroke-width: 2.2; }
.wz-stepper button:hover:not(:disabled) { border-color: var(--ink); background: #fff; }
.wz-stepper button:disabled { opacity: .35; cursor: not-allowed; }
.wz-stepper b { min-width: 24px; font-size: 1.15rem; font-variant-numeric: tabular-nums; }
.wz-stepper span { margin-left: -8px; }
.wz-money { display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 16px; border: 1.5px solid var(--line); border-radius: 14px; background: #fff; max-width: 440px; }
.wz-money:focus-within { border-color: var(--ink); }
.wz-money span { font-weight: 700; color: var(--mute); }
.wz-money input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 1rem; }
.wz-money em { font-style: normal; font-size: .8rem; color: var(--mute); white-space: nowrap; }

/* paso 5: pueblos */
.wz-dbar { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px; }
.wz-auto { display: flex; align-items: center; gap: 12px; padding: 0 18px 0 14px; height: 52px; border-radius: 14px; border: 0; background: var(--ink); color: #fff; text-align: left; }
.wz-auto svg { width: 24px; height: 24px; color: var(--cempa); }
.wz-auto b { display: block; font-size: .92rem; } .wz-auto small { display: block; font-size: .74rem; color: rgba(255, 255, 255, .7); }
.wz-auto:hover { background: #000; }
.wz-sel { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; padding: 10px 12px; border-radius: 14px; background: var(--teal-l); }
.wz-sel-k { font-size: .78rem; font-weight: 700; color: var(--teal-d); margin-right: 2px; }
.wz-chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 4px 4px 4px; border-radius: 999px; background: #fff; font-weight: 600; font-size: .86rem; }
.wz-chip i { font-style: normal; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--pri); color: #fff; font-size: .74rem; font-weight: 700; }
.wz-chip button { width: 24px; height: 24px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--bg); color: var(--mute); }
.wz-chip button svg { width: 14px; height: 14px; stroke-width: 2.4; }
.wz-chip button:hover { background: var(--pri-l); color: var(--pri-d); }
.wz-clear { margin-left: auto; border: 0; background: none; font-size: .82rem; font-weight: 600; color: var(--teal-d); text-decoration: underline; text-underline-offset: 3px; }
.wz-dests { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; margin-top: 16px; }
.wz-dest { display: flex; flex-direction: column; padding: 0; border-radius: 16px; border: 1.5px solid var(--line); background: #fff; text-align: left; overflow: hidden; transition: border-color .15s, box-shadow .15s; }
.wz-dest:hover { border-color: #cfc3b2; box-shadow: var(--sh); }
.wz-dest-ph { position: relative; display: block; aspect-ratio: 4 / 3; background: var(--bg); overflow: hidden; }
.wz-dest-ph img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.wz-dest:hover .wz-dest-ph img { transform: scale(1.04); }
.wz-dest-ini { position: absolute; inset: 0; display: grid; place-items: center; font-family: var(--display); font-size: 2.2rem; color: var(--mute); }
.wz-dest-ph em { position: absolute; left: 8px; top: 8px; font-style: normal; font-size: .7rem; font-weight: 700; padding: 4px 9px; border-radius: 999px; background: #fff; color: var(--ink); }
.wz-dest-ck { position: absolute; right: 8px; top: 8px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 253, 248, .92); color: var(--ink); font-style: normal; font-weight: 700; font-size: .86rem; box-shadow: 0 2px 8px rgba(0, 0, 0, .18); }
.wz-dest-ck svg { width: 16px; height: 16px; stroke-width: 2.4; }
.wz-dest-b { display: flex; flex-direction: column; gap: 1px; padding: 10px 12px 12px; }
.wz-dest-b b { font-weight: 600; font-size: .96rem; }
.wz-dest-b small { color: var(--mute); font-size: .78rem; }
.wz-why { color: var(--teal-d); font-size: .78rem; margin-top: 4px; line-height: 1.35; }
.wz-dest.on { border-color: var(--pri); box-shadow: 0 0 0 1px var(--pri) inset; }
.wz-dest.on .wz-dest-ck { background: var(--pri); color: #fff; }
.wz-more { margin-top: 16px; }

/* barra fija de abajo */
.wz-foot { position: sticky; bottom: 0; z-index: 5; display: flex; align-items: center; gap: 14px; padding: 14px 32px; background: rgba(255, 253, 248, .94); backdrop-filter: blur(10px); border-top: 1px solid var(--line); border-radius: 0 0 26px 26px; }
.wz-back { display: inline-flex; align-items: center; gap: 4px; border: 0; background: none; padding: 10px 8px 10px 2px; font-weight: 600; color: var(--mute); }
.wz-back svg { width: 20px; height: 20px; }
.wz-back:hover { color: var(--ink); }
.wz-back[hidden] { display: none; }
.wz-hint { flex: 1; font-size: .86rem; color: var(--mute); text-align: right; }
.wz-go { gap: 8px; min-width: 170px; }
.wz-go svg { width: 18px; height: 18px; }

/* columna derecha: tu viaje */
.wz-aside { position: sticky; top: 24px; }
.wz-trip { background: var(--card); border-radius: 26px; box-shadow: var(--sh); overflow: hidden; }
.wz-map { height: 300px; background: #e8e0d2; }
.wz-trip-b { padding: 16px 18px 18px; }
.wz-trip-k { margin: 0 0 6px; font-family: var(--display); font-weight: 600; font-size: 1.2rem; }
.wz-sum { list-style: none; margin: 0; padding: 0; }
.wz-sum li + li { border-top: 1px solid var(--line); }
.wz-sum button { width: 100%; display: flex; align-items: flex-start; gap: 12px; padding: 11px 4px; border: 0; background: none; text-align: left; border-radius: 10px; }
.wz-sum button:not(:disabled):hover { background: var(--bg); }
.wz-sum button:disabled { cursor: default; opacity: .55; }
.wz-sum button.on svg { color: var(--pri); }
.wz-sum svg { width: 20px; height: 20px; flex: none; margin-top: 1px; color: var(--mute); }
.wz-sum b { display: block; font-weight: 600; font-size: .9rem; line-height: 1.35; }
.wz-sum small { display: block; color: var(--mute); font-size: .8rem; }
.wz-pin span { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--pri); color: #fff; font: 700 13px 'Work Sans', sans-serif; border: 2.5px solid #fff; box-shadow: 0 3px 10px rgba(0, 0, 0, .3); box-sizing: border-box; }
.wz-pin-o span { width: 20px; height: 20px; background: var(--ink); border-width: 3px; }

/* celular y tableta */
@media (max-width: 1100px) { .wz { grid-template-columns: minmax(0, 1fr) 300px; } .wz-map { height: 220px; } .wz-presets { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 899px) {
  .wz { grid-template-columns: minmax(0, 1fr); padding: 0 0 96px; }
  .wz-aside { display: none; }
  .wz-main { border-radius: 0; box-shadow: none; min-height: 0; background: var(--card); }
  .wz-steps { padding: 16px 18px 0; }
  .wz-st span { display: none; }
  .wz-mini { display: flex; gap: 6px; overflow-x: auto; padding: 12px 18px 0; scrollbar-width: none; }
  .wz-mini span { flex: none; display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; border-radius: 999px; background: var(--bg); font-size: .78rem; font-weight: 600; color: var(--mute); }
  .wz-mini svg { width: 14px; height: 14px; }
  .wz-body { padding: 22px 18px 28px; }
  .wz-foot { position: fixed; left: 0; right: 0; bottom: 0; border-radius: 0; padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); box-shadow: 0 -6px 20px rgba(33, 25, 18, .06); }
  .wz-go { flex: 1; min-width: 0; }
  .wz-hint { display: none; }
  .wz-cards-3 { grid-template-columns: minmax(0, 1fr); }
  .wz-cards-3 .wz-card { flex-direction: row; align-items: center; }
  .wz-cards-3 .wz-tick { position: static; }
  .wz-dbar { grid-template-columns: minmax(0, 1fr); }
  body[data-view=nuevo] .foot { display: none; }
}
@media (max-width: 560px) {
  .wz-cities { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wz-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .wz-cards .wz-card { flex-direction: column; align-items: flex-start; position: relative; }
  .wz-cards .wz-tick { position: absolute; top: 10px; right: 10px; }
  .wz-cards-3 .wz-card { flex-direction: row; align-items: center; }
  .wz-cards-3 .wz-tick { position: static; }
  .wz-cards-3 { grid-template-columns: minmax(0, 1fr); }
  .wz-row { grid-template-columns: minmax(0, 1fr); }
  .wz-dests { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .wz-line { padding: 12px 14px; }
}
@media (prefers-reduced-motion: reduce) { .wz-in { animation: none; } .wz-dest-ph img { transition: none; } }

/* =====================================================================
   v32 · íconos de línea, explorador de lugares, comparador, guía de avance
   y costo por renglón
   ===================================================================== */
.ic { width: 1.1em; height: 1.1em; flex: none; vertical-align: -.18em; }
.ic-xs { width: .95em; height: .95em; }
svg.ic-f, svg.st { fill: currentColor; stroke: none; }
.icon-btn .ic { width: 16px; height: 16px; }
.icon-btn.sm .ic { width: 15px; height: 15px; }
.x .ic { width: 18px; height: 18px; stroke-width: 2.2; }
.empty-i .ic { width: 46px; height: 46px; stroke-width: 1.4; color: var(--pri); }
.li-i .ic { width: 18px; height: 18px; color: var(--teal); }
.leg-ico .ic { width: 22px; height: 22px; }
.grip { letter-spacing: 0; display: inline-grid; place-items: center; }
.grip .ic { width: 16px; height: 16px; stroke-width: 2.6; }
.it-more .ic { width: 16px; height: 16px; stroke-width: 2.2; }
.it-time .ic { margin-left: 3px; color: var(--pri); }
.mobile-toggle { display: none; align-items: center; gap: 8px; }
@media (max-width: 899px) { .mobile-toggle { display: inline-flex; } }
.warn .ic, .it-w .ic { margin-right: 2px; }

/* estrellas y calificación (solo datos reales de Google) */
.rt { display: inline-flex; align-items: center; gap: 4px; font-size: .78rem; font-weight: 700; color: var(--ink); white-space: nowrap; margin-right: 6px; vertical-align: middle; }
.rt b { font-weight: 800; }
.rt small { color: var(--mute) !important; font-weight: 500; font-size: .74rem !important; display: inline !important; }
.stars { display: inline-flex; gap: 1px; }
.stars .st { width: 12px; height: 12px; color: #E2D7C6; }
.stars .st.on { color: var(--cempa); }
.stars .st.half { color: var(--cempa); opacity: .55; }
small .rt { font-size: .72rem; }

/* miniaturas de lugares (foto o ícono) */
.th { position: relative; flex: none; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; overflow: hidden; background: linear-gradient(135deg, var(--teal-l), #F1E6D6); color: var(--teal); }
.th > .ic { width: 20px; height: 20px; }
.th img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.th.noimg img { display: none; }
.li-th { width: 46px; height: 46px; }
.it-th { width: 34px; height: 34px; border-radius: 10px; }
.it-th > .ic { width: 16px; height: 16px; }
.it-i { width: 34px; height: 34px; border-radius: 10px; display: inline-grid; place-items: center; background: var(--bg); color: var(--teal); }
.it.k-comida .it-i { color: #B26A00; background: #FBEBD3; } .it.k-hotel .it-i { color: var(--bug); background: var(--bug-l); }
.it-i .ic { width: 17px; height: 17px; }
.pop-th { width: 100%; height: 96px; border-radius: 10px; margin-bottom: 4px; }
.sn.has-th { display: flex; align-items: center; gap: 10px; }
.sn-t { min-width: 0; }
.sth { width: 38px; height: 38px; border-radius: 10px; }
.it-n small .rt { margin-right: 4px; }

/* costo por renglón */
.it-c, .sc { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.15; max-width: 120px; white-space: nowrap; }
.it-c b, .sc b { font-weight: 800; font-size: .8rem; color: var(--ink); }
.it-c small, .sc small { font-size: .68rem; font-weight: 500; color: var(--mute); white-space: normal; text-align: right; }
.c-free { color: var(--ok) !important; }
.leg .it-c { margin-left: auto; } .leg .it-c b { color: var(--teal-d); } .leg .it-c small { color: #3d6463; }
.cchips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.cchips:empty { display: none; }
.cchip { display: inline-flex; align-items: center; gap: 5px; padding: 4px 9px; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-size: .72rem; color: var(--mute); }
.cchip b { color: var(--ink); font-weight: 700; margin: 0; font-size: .74rem; }
.cchip .ic { width: 13px; height: 13px; color: var(--pri); }
.day-ft, .sday-ft { display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.day-f b { color: var(--ink); }
.sday-f { display: block; }
.chip-total { background: var(--pri-l); color: var(--pri-d); }

/* guía de avance */
.prog { margin: 10px 0 2px; }
.prog-steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.pg { display: flex; align-items: center; gap: 7px; padding: 7px 8px; border: 1px solid var(--line); border-radius: 12px; background: var(--card); text-align: left; min-width: 0; transition: border-color .15s, background .15s; }
.pg:hover { border-color: var(--pri); }
.pg i { flex: none; width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-style: normal; font-size: .72rem; font-weight: 800; background: var(--bg); color: var(--mute); }
.pg i .ic { width: 13px; height: 13px; stroke-width: 3; }
.pg span { min-width: 0; line-height: 1.15; }
.pg b { display: block; font-size: .76rem; }
.pg small { display: block; font-size: .68rem; color: var(--mute); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pg.ok i { background: var(--ok); color: #fff; }
.pg.cur { border-color: var(--pri); background: var(--pri-l); }
.pg.cur i { background: var(--pri); color: #fff; }
.pg.bad i { background: var(--bad); color: #fff; } .pg.bad small { color: var(--bad); }
.prog-next { display: flex; align-items: center; gap: 10px; width: 100%; margin-top: 8px; padding: 9px 12px; border: 0; border-radius: 12px; background: var(--ink); color: #fff; text-align: left; font-weight: 600; font-size: .84rem; }
.prog-next .ic { width: 18px; height: 18px; color: var(--cempa); }
.prog-next small { display: block; font-size: .66rem; text-transform: uppercase; letter-spacing: .06em; color: #CDBFAE; font-weight: 700; }
.prog-next:hover { background: #3a2c20; }
.prog-done { display: flex; align-items: center; gap: 8px; margin: 8px 0 0; padding: 8px 12px; border-radius: 12px; background: var(--ok-l); color: var(--ok); font-size: .82rem; font-weight: 600; }

/* hospedaje en la pestaña Ruta */
.hsel .th { width: 40px; height: 40px; }
.hsel-open { flex-wrap: wrap; background: #FBF4EA; border: 1px dashed #E5D2B8; }
.hsel-peek { flex-basis: 100%; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.hsel-peek button { display: flex; align-items: center; gap: 6px; min-width: 0; padding: 4px; border: 1px solid var(--line); border-radius: 10px; background: var(--card); font-size: .7rem; font-weight: 600; text-align: left; }
.hsel-peek button:hover { border-color: var(--pri); }
.hsel-peek .th { width: 28px; height: 28px; border-radius: 8px; } .hsel-peek .th > .ic { width: 14px; height: 14px; }
.hsel-peek span { min-width: 0; flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hsel-peek em { font-style: normal; display: inline-flex; align-items: center; gap: 2px; color: var(--ink); }
.hsel-peek em .ic { width: 11px; height: 11px; color: var(--cempa); }
.stop-x { display: flex; gap: 14px; margin-top: 8px; }
.stop-x .lnk-b { display: inline-flex; align-items: center; gap: 5px; color: var(--teal-d); font-size: .78rem; }
.stop-x .lnk-b:hover { color: var(--pri-d); }

/* agregar al día: botones en lugar del select */
.seg-add { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; width: 100%; padding: 0; border: 0; background: none; cursor: default; margin-top: 8px; }
.seg-add button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 8px 6px; border: 1px dashed #D9C9B3; border-radius: 12px; background: #FBF7F0; color: var(--mute); font-size: .78rem; font-weight: 700; }
.seg-add button:hover { border-style: solid; border-color: var(--pri); color: var(--pri-d); background: var(--pri-l); }
.seg-add .ic { width: 15px; height: 15px; }
.it-tip, .it-loc { display: flex; gap: 6px; align-items: baseline; flex-wrap: wrap; }
.it-tip > .ic, .it-loc > .ic { color: var(--teal); position: relative; top: 2px; }
.it-ed .btn-pri { align-self: flex-end; }

/* ficha del pueblo: accesos al explorador */
.dr-explore { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin: 0 0 14px; padding: 12px; border-radius: 14px; background: var(--teal-l); }
.dr-explore small { flex-basis: 100%; color: var(--teal-d); font-size: .74rem; }
.list li .rt { margin-left: 6px; }

/* explorador */
.drawer-card.dr-ex { width: min(640px, 100%); padding: 0; }
.ex { display: flex; flex-direction: column; min-height: 100%; }
.ex-h { position: sticky; top: 0; z-index: 3; background: var(--card); padding: 18px 18px 10px; border-bottom: 1px solid var(--line); }
.ex-k { display: block; color: var(--mute); font-size: .76rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; margin: 0 44px 8px 0; }
.ex-tabs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3px; padding: 4px; border-radius: 14px; background: var(--bg); margin-right: 40px; }
.ex-tabs button { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 0; background: none; padding: 9px 4px; border-radius: 11px; font-weight: 700; font-size: .86rem; color: var(--mute); }
.ex-tabs button.on { background: var(--card); color: var(--ink); box-shadow: 0 1px 2px rgba(33, 25, 18, .08), 0 4px 12px rgba(33, 25, 18, .06); }
.ex-tabs .ic { width: 17px; height: 17px; }
.ex-ctx { display: flex; align-items: center; flex-wrap: wrap; gap: 6px; margin: 10px 0 0; padding: 8px 10px; border-radius: 12px; background: var(--pri-l); color: var(--pri-d); font-size: .8rem; font-weight: 600; }
.ex-ctx.warn-n { background: var(--warn-l); color: var(--warn); }
.ex-to select { padding: 5px 8px; border: 1px solid #F0CDB8; border-radius: 10px; background: #fff; font-size: .8rem; font-weight: 600; }
.ex-tools { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 10px; }
.ex-n { font-size: .78rem; color: var(--mute); font-weight: 600; }
.ex-sort { display: inline-flex; align-items: center; gap: 6px; color: var(--mute); }
.ex-sort select { padding: 6px 8px; border: 1px solid var(--line); border-radius: 10px; background: #fff; font-size: .8rem; font-weight: 600; color: var(--ink); }
.ex-f { display: flex; gap: 6px; overflow-x: auto; padding: 8px 0 2px; scrollbar-width: none; }
.ex-f::-webkit-scrollbar { display: none; }
.ex-f .chip { flex: none; white-space: nowrap; }
.ex-f .chip small { opacity: .65; font-weight: 600; }
.ex-f .chip .ic { width: 13px; height: 13px; color: var(--cempa); }
.ex-f .chip.on .ic { color: #fff; }
.ex-list { flex: 1; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 14px 18px; align-content: start; }
.ex-empty { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding: 18px; border-radius: 14px; background: var(--bg); color: var(--mute); font-size: .86rem; }
.ex-foot { margin: 0; padding: 0 18px 14px; font-size: .7rem; color: var(--mute); }
.exc { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 18px; background: #fff; overflow: hidden; transition: box-shadow .15s, border-color .15s; }
.exc:hover { box-shadow: var(--sh); }
.exc.on { border-color: var(--teal); box-shadow: 0 0 0 2px var(--teal-l); }
.exc.cmp { border-color: var(--pri); box-shadow: 0 0 0 2px var(--pri-l); }
.exc-ph { position: relative; }
.exc-img { display: grid; width: 100%; height: 128px; border-radius: 0; }
.exc-img > .ic { width: 34px; height: 34px; stroke-width: 1.4; opacity: .8; }
.exc-badge { position: absolute; left: 8px; bottom: 8px; display: inline-flex; align-items: center; gap: 4px; max-width: calc(100% - 16px); padding: 3px 8px; border-radius: 999px; background: var(--teal); color: #fff; font-size: .68rem; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.exc-badge .ic { width: 12px; height: 12px; stroke-width: 3; }
.exc-cmp { position: absolute; top: 8px; right: 8px; display: inline-flex; align-items: center; gap: 5px; padding: 4px 8px 4px 6px; border-radius: 999px; background: rgba(255, 253, 248, .94); box-shadow: 0 2px 8px rgba(33, 25, 18, .15); font-size: .7rem; font-weight: 700; cursor: pointer; }
.exc-cmp input { margin: 0; accent-color: var(--pri); }
.exc-cmp span { display: inline-flex; align-items: center; gap: 4px; } .exc-cmp .ic { width: 12px; height: 12px; }
.exc-cmp:has(input:disabled) { opacity: .5; cursor: not-allowed; }
.exc-b { display: flex; flex-direction: column; gap: 3px; flex: 1; padding: 10px 12px 12px; }
.exc-b h3 { margin: 0; font-size: .94rem; line-height: 1.25; }
.exc-m { margin: 0; font-size: .74rem; color: var(--mute); display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; }
.exc-m span { display: inline-flex; align-items: center; gap: 3px; }
.exc-f { display: flex; align-items: flex-end; justify-content: space-between; gap: 6px; margin-top: auto; padding-top: 8px; }
.exc-p { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.exc-p b { font-size: .92rem; } .exc-p small { font-size: .66rem; color: var(--mute); }
.exc-a { display: flex; align-items: center; gap: 4px; flex: none; }
.exc-a .icon-btn.sm { width: 28px; height: 28px; }
.exc-cr { font-size: .62rem; color: #9C8B78; }
.btn.is-on { background: var(--teal-l); border-color: var(--teal); color: var(--teal-d); opacity: 1; }
.btn.is-on .ic { stroke-width: 2.6; }
.ex-cmpbar { position: sticky; bottom: 0; z-index: 3; display: none; align-items: center; gap: 8px; padding: 10px 18px calc(10px + env(safe-area-inset-bottom)); background: var(--ink); color: #fff; font-size: .84rem; font-weight: 600; }
.ex-cmpbar.in { display: flex; }
.ex-cmpbar span { flex: 1; display: inline-flex; align-items: center; gap: 6px; }
.ex-cmpbar .btn-ghost { color: #CDBFAE; }

/* comparador */
.modal-card.modal-wide { max-width: 860px; }
.cmp { display: flex; flex-direction: column; margin-top: 12px; overflow-x: auto; }
.cmp-row { display: grid; grid-template-columns: 120px repeat(var(--n), minmax(150px, 1fr)); gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: .84rem; align-items: start; }
.cmp-row > span { color: var(--mute); font-size: .74rem; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; padding-top: 2px; }
.cmp-row > div { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.cmp-row small { color: var(--mute); font-size: .72rem; }
.cmp-head { border-bottom: 0; }
.cmp-head b { font-size: .92rem; line-height: 1.25; }
.cmp-th { width: 100%; height: 110px; border-radius: 14px; }
.cmp-th > .ic { width: 30px; height: 30px; }
.cmp-on { color: var(--teal-d) !important; font-weight: 700; }
.cmp-best { display: inline-flex; align-items: center; gap: 3px; width: fit-content; padding: 1px 7px; border-radius: 999px; background: var(--ok-l); color: var(--ok); font-style: normal; font-size: .68rem; font-weight: 800; }
.cmp-act { border-bottom: 0; }
.cmp .lnks { display: flex; flex-wrap: wrap; gap: 8px; }

@media (max-width: 899px) {
  .prog-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .ex-list { grid-template-columns: minmax(0, 1fr); padding: 12px; }
  .exc { flex-direction: row; }
  .exc-ph { flex: none; width: 116px; }
  .exc-img { height: 100%; min-height: 150px; }
  .exc-cmp { top: auto; bottom: 6px; left: 6px; right: auto; padding: 3px 6px; }
  .exc-cmp span { font-size: 0; gap: 0; } .exc-cmp .ic { width: 14px; height: 14px; }
  .exc-badge { left: 6px; right: 6px; top: 6px; bottom: auto; font-size: .62rem; }
  .ex-h { padding: 14px 14px 8px; }
  .ex-tabs button span { font-size: .78rem; }
  .seg-add button span { font-size: .72rem; }
  .hsel-peek { grid-template-columns: minmax(0, 1fr); }
  .cmp-row { grid-template-columns: 84px repeat(var(--n), minmax(130px, 1fr)); gap: 8px; }
  .modal-card.modal-wide { margin: 4vh 8px 0; padding: 20px 14px; }
  .srow .sn.has-th .sth { width: 32px; height: 32px; }
}
@media print { .prog, .stop-x, .ex-cmpbar, .cchips .ic { display: none !important; } }
/* v32 · ajustes tras revisar capturas */
#modal { z-index: 2100; }
.pl-bar { flex-wrap: nowrap; }
.pl-bar .btn-ghost { padding-left: 8px; padding-right: 8px; }
@media (max-width: 420px) { .pl-bar .btn-ghost { font-size: 0; gap: 0; padding: 7px 9px; } .pl-bar .btn-ghost .ic { font-size: 1rem; width: 18px; height: 18px; } }
.it-c, .sc { max-width: 96px; }
.it-c small { line-height: 1.2; }
.it-n { line-height: 1.25; }
.hsel-open { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 8px 10px; align-items: center; }
.hsel-open > div:not(.hsel-peek) { min-width: 0; }
.hsel-open > .btn { grid-column: 1 / -1; justify-self: stretch; }
.hsel-peek { grid-column: 1 / -1; }@media (max-width: 560px) {
  .ex-tabs { margin-right: 36px; }
  .ex-tabs button { gap: 4px; padding: 8px 2px; }
  .ex-tabs button .ic { display: none; }
  .ex-tabs button span { font-size: .78rem; white-space: nowrap; }
  .it-row { flex-wrap: wrap; row-gap: 0; }
  .it-row > .it-t { flex-basis: calc(100% - 170px); }
  .it-row > .it-c { order: 9; flex-basis: 100%; max-width: none; flex-direction: row; align-items: baseline; justify-content: flex-start; gap: 6px; padding: 0 0 4px 92px; }
  .it-row > .it-c small { text-align: left; }
  .leg { flex-wrap: wrap; }
  .leg > div { flex: 1; min-width: 0; }
  .leg .it-c { flex-basis: 100%; max-width: none; flex-direction: row; align-items: baseline; gap: 6px; justify-content: flex-start; margin-left: 0; padding-left: 32px; }
}
/* =====================================================================
   v33 · indicadores del resumen (clima, camino, ritmo, presupuesto)
   ===================================================================== */
.b-widgets { gap: 14px; }
.wdg { align-items: stretch; text-align: left; padding: 14px 16px 14px; gap: 8px; min-height: 0; border: 1px solid #EFE6D8; box-shadow: 0 1px 2px rgba(33, 25, 18, .04); }
.wdg header { gap: 8px; font-size: .8rem; font-weight: 700; color: var(--ink); }
.wdg header > span:not(.wdg-i):not(.wpill) { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wdg-i { width: 28px; height: 28px; border-radius: 9px; }
.wdg-i .ic { width: 15px; height: 15px; }
.wpill { flex: none; padding: 2px 8px; border-radius: 999px; background: var(--bg); color: var(--mute); font-size: .66rem; font-weight: 700; white-space: nowrap; }
.wpill.ok { background: var(--ok-l); color: var(--ok); }
.wpill.warn { background: var(--warn-l); color: var(--warn); }
.wdg-v { font-family: var(--display); font-size: 1.7rem; font-weight: 600; line-height: 1; letter-spacing: -.01em; white-space: nowrap; margin-top: 2px; }
.wdg-v small { font-family: 'Work Sans', sans-serif; font-size: .74rem; font-weight: 600; color: var(--mute); margin: 0 2px 0 3px; letter-spacing: 0; white-space: normal; }
.wdg-s { margin: 0; font-size: .74rem; color: var(--mute); line-height: 1.35; }
.wdg-empty { margin: 4px 0 0; font-size: .78rem; color: var(--mute); }
.wdg footer { display: flex; flex-direction: column; gap: 3px; margin-top: auto; padding-top: 4px; font-size: .72rem; color: var(--mute); }
.wdg footer > span { display: flex; align-items: center; gap: 6px; }
.wdg footer .ic { width: 13px; height: 13px; color: var(--pri); }

/* clima: rango de cada pueblo en una misma escala */
.tmp { list-style: none; margin: 2px 0 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.tmp li { display: grid; grid-template-columns: minmax(0, 72px) minmax(0, 1fr) auto; align-items: center; gap: 8px; font-size: .72rem; }
.tmp li > span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 600; }
.tmp li > i { position: relative; height: 6px; border-radius: 6px; background: var(--bg); }
.tmp li > i b { position: absolute; top: 0; bottom: 0; border-radius: 6px; background: linear-gradient(90deg, #6FA8C9, var(--cempa) 60%, var(--pri)); min-width: 6px; }
.tmp em { font-style: normal; font-weight: 700; font-variant-numeric: tabular-nums; }
.tmp em.off { color: var(--warn); }

/* en camino */
.wkv { margin: 2px 0 0; display: flex; flex-direction: column; gap: 6px; }
.wkv div { padding-top: 6px; border-top: 1px dashed var(--line); }
.wkv dt { font-size: .64rem; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--mute); }
.wkv dd { margin: 1px 0 0; display: flex; justify-content: space-between; gap: 8px; font-size: .76rem; min-width: 0; }
.wkv dd b { flex: none; font-weight: 800; }

/* ritmo: actividades + camino por día */
.rbars { display: flex; align-items: flex-end; gap: 6px; height: 84px; margin-top: 2px; }
.rb { flex: 1 1 0; max-width: 30px; height: 100%; display: flex; flex-direction: column; align-items: center; gap: 3px; border: 0; padding: 0; background: none; cursor: pointer; }
.rb-c { flex: 1; width: 100%; display: flex; flex-direction: column-reverse; gap: 2px; border-radius: 7px; background: var(--bg); overflow: hidden; }
.rb-c i { display: block; width: 100%; flex: none; }
.rb-c i.a { background: var(--teal); } .rb-c i.r { background: #E9A27A; }
.rb small { font-size: .62rem; font-weight: 700; color: var(--mute); }
.rb:hover .rb-c { box-shadow: 0 0 0 2px var(--line); }
.rb.on .rb-c { box-shadow: 0 0 0 2px var(--ink); } .rb.on small { color: var(--ink); }
.rbars.many { gap: 3px; } .rbars.many .rb small { font-size: .56rem; }
.lgd { flex-direction: row !important; gap: 12px !important; }
.lgd span { display: inline-flex; align-items: center; gap: 5px; }
.lgd i, .blg i { width: 8px; height: 8px; border-radius: 3px; display: inline-block; flex: none; }
.lgd i.a { background: var(--teal); } .lgd i.r { background: #E9A27A; }

/* presupuesto: barra apilada por concepto + avance contra el tope */
.bstack { display: flex; gap: 2px; height: 10px; border-radius: 6px; overflow: hidden; margin-top: 2px; }
.bstack i { display: block; min-width: 3px; }
:is(.bstack, .blg) .tr { background: var(--teal); } :is(.bstack, .blg) .ho { background: var(--bug); } :is(.bstack, .blg) .co { background: var(--cempa); } :is(.bstack, .blg) .ac { background: var(--pri); } :is(.bstack, .blg) .im { background: #CDBDA6; }
.blg { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 3px 10px; font-size: .7rem; color: var(--mute); }
.blg li { display: flex; align-items: center; gap: 5px; min-width: 0; }
.blg b { margin-left: auto; color: var(--ink); font-weight: 700; }
.btope { height: 6px; border-radius: 6px; background: var(--bg); overflow: hidden; margin-top: 4px; }
.btope span { display: block; height: 100%; border-radius: 6px; background: var(--ok); }
.btope.amber span { background: var(--cempa); } .btope.bad span { background: var(--bad); }
.wdg-cta { align-self: flex-start; display: inline-flex; align-items: center; gap: 5px; margin-top: 2px; padding: 5px 10px; border: 1px dashed #D9C9B3; border-radius: 999px; background: none; color: var(--pri-d); font-size: .72rem; font-weight: 700; }
.wdg-cta:hover { border-style: solid; border-color: var(--pri); background: var(--pri-l); }
.wdg-cta .ic { width: 12px; height: 12px; }
@media (max-width: 520px) { .b-widgets { grid-template-columns: minmax(0, 1fr); } }
@media print { .wdg-cta, .rb { pointer-events: none; } }
/* v33 · títulos completos: la etiqueta baja de línea antes que cortar el título */
.wdg header { flex-wrap: wrap; row-gap: 6px; }
.wdg header > span:not(.wdg-i):not(.wpill) { flex: 1 0 auto; white-space: nowrap; overflow: visible; }
.wdg header .wpill { margin-left: auto; }
.rbars { gap: 8px; }
.rb { max-width: 46px; }/* v33 · más espacio para los indicadores; "Cerca de tu ruta" pasa a su propia fila */
.b-widgets { grid-column: 5 / span 8; }
.b-near { grid-column: 1 / -1; }
.b-near .near-c { flex-basis: 240px; min-height: 190px; }
@media (max-width: 1180px) { .b-widgets { grid-column: 6 / span 7; } }
@media (max-width: 760px) { .b-widgets { grid-column: 1 / -1; } }