:root {
  --blue: #101f48;
  --blue-dark: #1d3473;
  --navy: #101f48;
  --ink: #101f48;
  --accent: #ef8239;
  --accent-dark: #d9691f;
  --accent-soft: #fff3ea;
  --muted: #6b7599;
  --line: #e4e8f3;
  --soft: #eef2fb;
  --bg: #ffffff;
  --card: #ffffff;
  --radius: 22px;
  --shadow: 0 10px 30px rgba(14, 26, 68, 0.08);
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); }
a { color: inherit; text-decoration: none; }
button, input, select { font-family: inherit; font-size: inherit; color: inherit; }
svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- Topbar ---------- */
.topbar { display: flex; align-items: center; justify-content: space-between; padding: 22px 80px; }
.brand { font-size: 30px; font-weight: 800; color: var(--blue); letter-spacing: -0.5px; }
.nav { display: flex; gap: 48px; }
.nav a { padding: 6px 0; color: var(--muted); font-weight: 500; border-bottom: 2.5px solid transparent; }
.nav a.active { color: var(--ink); font-weight: 600; border-color: var(--ink); }
.topbar-right { display: flex; align-items: center; gap: 24px; }
.btn-outline { border: 1.5px solid var(--blue); color: var(--blue); border-radius: 999px; padding: 9px 22px; font-weight: 600; }
.avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--soft); color: var(--blue); font-weight: 700; display: inline-flex; align-items: center; justify-content: center; position: relative; }
.avatar span { position: absolute; right: -18px; color: var(--muted); font-size: 12px; }

/* ---------- Layout ---------- */
.page { padding: 0 80px 60px; max-width: 1600px; margin: 0 auto; }

/* ---------- Hero ---------- */
.hero {
  height: 236px; border-radius: 26px; position: relative; overflow: hidden; display: flex; align-items: center; padding: 0 56px;
  background: linear-gradient(90deg, #0b1636 0%, #101f48 28%, rgba(16,31,72,.6) 48%, rgba(16,31,72,0) 70%),
              url("hero.png") right center/cover no-repeat, linear-gradient(135deg, #101f48, #2b4a8f);
  box-shadow: var(--shadow);
}
.hero-text { color: #fff; text-shadow: 0 2px 14px rgba(0,0,0,.25); }
.hero h1 { margin: 0; font-size: 42px; line-height: 1.08; font-weight: 800; letter-spacing: -0.5px; }
.hero p { margin: 10px 0 0; font-size: 19px; opacity: .95; }

/* ---------- Searchbar ---------- */
.searchbar {
  margin: -32px 42px 0; position: relative; z-index: 5; background: #fff; border-radius: 20px; box-shadow: 0 18px 45px rgba(14,26,68,.13);
  display: grid; grid-template-columns: 1.1fr 1fr 1.2fr auto; align-items: stretch; padding: 14px 14px 14px 20px;
}
.field { display: flex; align-items: center; gap: 14px; padding: 8px 26px 8px 8px; border-right: 1px solid var(--line); position: relative; }
.field .ico { color: var(--blue); }
.field-body { flex: 1; min-width: 0; }
.field label { display: block; font-size: 13.5px; color: var(--muted); margin-bottom: 2px; }
.field input[type="text"], .guests-btn { border: 0; outline: 0; background: transparent; font-size: 18px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 600; width: 100%; padding: 0; text-align: left; }
.field input::placeholder { color: #a9b1cc; font-weight: 500; }
.chev { color: var(--muted); font-size: 13px; }
.dates { display: flex; align-items: center; gap: 12px; font-size: 18px; font-weight: 600; }
.dates input[type="date"] { border: 0; outline: 0; background: transparent; font-size: 17px; font-weight: 600; padding: 0; width: 6.3em; flex: 0 0 auto; }
.dates span { color: var(--muted); }
.dates input[type="date"] { cursor: pointer; }
.dates input[type="date"]::-webkit-calendar-picker-indicator { display: none; -webkit-appearance: none; }
.dates input[type="date"]::-webkit-inner-spin-button { display: none; }
.field .ico { cursor: pointer; }
.field-guests { padding-left: 20px; }
.btn-primary {
  background: var(--blue); color: #fff; border: 0; border-radius: 14px; padding: 0 36px; font-weight: 700; font-size: 20px;
  display: inline-flex; align-items: center; justify-content: center; gap: 14px; cursor: pointer; transition: background .15s;
}
.btn-primary:hover { background: var(--blue-dark); }
.btn-primary:disabled { opacity: .6; cursor: progress; }
.btn-primary.small { font-size: 15px; padding: 10px 18px; border-radius: 10px; }
.btn-search { margin-left: 14px; min-width: 230px; }

/* Autocomplete */
.suggest {
  position: absolute; left: 0; top: calc(100% + 14px); width: 360px; background: #fff; border-radius: 14px; box-shadow: var(--shadow);
  list-style: none; margin: 0; padding: 8px; z-index: 20; max-height: 320px; overflow: auto; border: 1px solid var(--line);
}
.suggest li { padding: 10px 12px; border-radius: 10px; cursor: pointer; }
.suggest li:hover, .suggest li.hl { background: var(--soft); }
.suggest b { display: block; font-weight: 600; }
.suggest small { color: var(--muted); }

/* Huéspedes popover */
.guests-pop { position: absolute; left: 0; top: calc(100% + 14px); width: 320px; background: #fff; border-radius: 16px; box-shadow: var(--shadow); padding: 16px; z-index: 20; border: 1px solid var(--line); }
.guests-pop .row { display: flex; align-items: center; justify-content: space-between; padding: 8px 0; font-weight: 500; }
.guests-pop .row.small { font-size: 13px; color: var(--muted); align-items: flex-start; flex-direction: column; gap: 6px; }
.stepper { display: inline-flex; align-items: center; gap: 12px; }
.stepper button { width: 32px; height: 32px; border-radius: 50%; border: 1.5px solid var(--blue); background: #fff; color: var(--blue); font-size: 18px; cursor: pointer; }
.stepper b { min-width: 18px; text-align: center; }
.ages { display: flex; gap: 6px; flex-wrap: wrap; }
.ages select { border: 1px solid var(--line); border-radius: 8px; padding: 4px 6px; }
#guestsDone { margin-top: 8px; width: 100%; }

/* ---------- Resultados ---------- */
.results-head { display: flex; align-items: flex-end; justify-content: space-between; margin: 44px 8px 18px; }
.results-head h2 { margin: 0; font-size: 40px; font-weight: 800; letter-spacing: -0.8px; }
.muted { color: var(--muted); margin: 6px 0 0; font-size: 20px; }
.sort { color: var(--muted); font-size: 16px; display: inline-flex; align-items: center; gap: 12px; }
.sort select { border: 1.5px solid var(--line); border-radius: 12px; padding: 10px 14px; font-weight: 500; background: #fff; min-width: 190px; }

.chips { display: flex; justify-content: space-between; align-items: center; margin: 0 0 20px; }
.chips-left { display: flex; gap: 14px; flex-wrap: wrap; }
.chip { background: var(--soft); color: var(--navy); border: 1.5px solid transparent; border-radius: 999px; padding: 12px 24px; font-weight: 500; font-size: 16px; cursor: pointer; display: inline-flex; align-items: center; gap: 10px; transition: .15s; }
.chip:hover { border-color: var(--blue); }
.chip.on { background: var(--blue); color: #fff; }
.chip:disabled { opacity: .5; cursor: not-allowed; }
.chip svg { width: 20px; height: 20px; }
.filters-panel { display: flex; gap: 20px; flex-wrap: wrap; background: var(--soft); border-radius: 16px; padding: 16px 20px; margin-bottom: 20px; }
.filters-panel label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--muted); font-weight: 500; }
.filters-panel input, .filters-panel select { border: 1.5px solid var(--line); border-radius: 10px; padding: 9px 12px; background: #fff; min-width: 180px; }

.notice { background: #fff6e5; color: #8a5a00; border: 1px solid #ffe2a8; border-radius: 14px; padding: 12px 18px; margin-bottom: 18px; font-weight: 500; }
.notice.error { background: #ffecec; color: #a11; border-color: #ffc9c9; }
.notice.info { background: var(--soft); color: var(--navy); border-color: var(--line); }

.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card { background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .15s, box-shadow .15s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 18px 40px rgba(14,26,68,.14); }
.card-img { position: relative; aspect-ratio: 16 / 8.4; background: linear-gradient(135deg, #e3e7f1, #c5cde0); overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.fav { position: absolute; top: 16px; right: 16px; width: 40px; height: 40px; border-radius: 50%; background: #fff; border: 0; color: var(--blue); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; box-shadow: 0 4px 12px rgba(0,0,0,.15); }
.fav.on { background: var(--blue); color: #fff; }
.fav svg { width: 20px; height: 20px; }
.score { position: absolute; left: 20px; bottom: 16px; background: #fff; border-radius: 999px; padding: 8px 16px; font-weight: 600; display: inline-flex; gap: 10px; align-items: center; box-shadow: 0 4px 12px rgba(0,0,0,.12); }
.score b { color: var(--blue); font-weight: 800; }
.card-body { padding: 18px 24px 22px; display: flex; flex-direction: column; gap: 4px; }
.card h3 { margin: 0; font-size: 22px; font-weight: 700; }
.card .sub { color: var(--muted); font-size: 16px; }
.card .stars { color: #f5b301; font-size: 13px; letter-spacing: 1px; }
.card-foot { display: flex; align-items: flex-end; justify-content: space-between; margin-top: 14px; }
.price { font-size: 34px; font-weight: 800; letter-spacing: -1px; }
.price small { font-size: 15px; color: var(--muted); font-weight: 500; letter-spacing: 0; margin-left: 6px; }
.price .total { display: block; font-size: 13px; color: var(--muted); font-weight: 500; letter-spacing: 0; }
.go { width: 54px; height: 54px; border-radius: 50%; background: var(--soft); border: 0; color: var(--blue); display: inline-flex; align-items: center; justify-content: center; cursor: pointer; transition: .15s; }
.go:hover { background: var(--blue); color: #fff; }
.go svg { width: 24px; height: 24px; }
.tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.tag { font-size: 12.5px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--soft); color: var(--navy); }
.tag.green { background: #e6f8ee; color: #137a3e; }

.skeleton { height: 360px; border-radius: var(--radius); background: linear-gradient(90deg, #eef1f8 25%, #f7f8fc 50%, #eef1f8 75%); background-size: 200% 100%; animation: sh 1.2s infinite; }
@keyframes sh { to { background-position: -200% 0; } }
.empty { grid-column: 1 / -1; text-align: center; padding: 60px 20px; color: var(--muted); font-size: 18px; }

.recs { display: flex; flex-direction: column; gap: 40px; margin-top: 44px; }
.recs-intro h2 { margin: 0; font-size: 30px; font-weight: 800; letter-spacing: -0.6px; }
.recs-intro p { margin: 4px 0 0; color: var(--muted); font-size: 17px; }
.rec-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 16px; }
.rec-head h3 { margin: 0; font-size: 24px; font-weight: 800; }
.rec-head h3 small { color: var(--muted); font-weight: 500; font-size: 15px; margin-left: 10px; }
.rec-head a { color: var(--blue); font-weight: 600; cursor: pointer; }
.grid.four { grid-template-columns: repeat(4, 1fr); gap: 18px; }
.grid.four .card h3 { font-size: 19px; } .grid.four .price { font-size: 28px; } .grid.four .card-body { padding: 16px 20px 18px; }
@media (max-width: 1280px) { .grid.four { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 900px) { .grid.four { grid-template-columns: 1fr; } }

.footnote { color: var(--muted); font-size: 13px; margin: 26px 0 0; }

/* ---------- Modal ---------- */
.modal { position: fixed; inset: 0; z-index: 50; display: flex; align-items: center; justify-content: center; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(8, 16, 48, .55); backdrop-filter: blur(3px); }
.modal-card { position: relative; width: min(1040px, 94vw); max-height: 92vh; overflow: auto; background: #fff; border-radius: 26px; box-shadow: 0 30px 80px rgba(0,0,0,.35); }
.modal-close { position: absolute; top: 16px; right: 16px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 0; background: #fff; cursor: pointer; font-size: 16px; box-shadow: 0 4px 12px rgba(0,0,0,.2); }
.gallery { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 180px 180px; gap: 6px; }
.gallery img { width: 100%; height: 100%; object-fit: cover; display: block; background: var(--soft); }
.gallery img:first-child { grid-row: 1 / 3; }
.detail { padding: 26px 32px 32px; }
.detail h2 { margin: 0 0 4px; font-size: 30px; font-weight: 800; }
.detail .sub { color: var(--muted); font-size: 16px; display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.detail .sub a { color: var(--blue); font-weight: 600; }
.detail .desc { margin: 18px 0; line-height: 1.6; color: #2a3560; max-height: 150px; overflow: hidden; position: relative; }
.detail .desc.open { max-height: none; }
.more { background: none; border: 0; color: var(--blue); font-weight: 600; cursor: pointer; padding: 0; }
.facil { display: flex; gap: 8px; flex-wrap: wrap; margin: 12px 0 22px; }
.rooms h3 { margin: 0 0 12px; font-size: 20px; }
.room { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 18px; border: 1.5px solid var(--line); border-radius: 16px; margin-bottom: 10px; }
.room b { display: block; font-size: 16px; }
.room small { color: var(--muted); }
.room .rp { text-align: right; }
.room .rp strong { font-size: 22px; font-weight: 800; display: block; }
.room .rp span { font-size: 12.5px; color: var(--muted); }
.btn-wa { background: #25d366; color: #fff; border: 0; border-radius: 12px; padding: 10px 16px; font-weight: 700; cursor: pointer; white-space: nowrap; }
.btn-wa:hover { filter: brightness(.95); }

/* ---------- Resultados (lista + filtros) ---------- */
.top-notice { margin-top: 26px; }
.results { display: grid; grid-template-columns: 300px 1fr; gap: 28px; margin-top: 40px; align-items: start; scroll-margin-top: 16px; }
.sidebar { display: flex; flex-direction: column; gap: 18px; position: sticky; top: 16px; align-self: start; }
.side-box { background: #fff; border: 1.5px solid var(--line); border-radius: 18px; padding: 18px 18px 20px; }
.map-box { padding: 0; overflow: hidden; position: relative; height: 150px; }
.mini-map { width: 100%; height: 100%; background: linear-gradient(135deg, #e6e9f2, #cfd5e4); }
.mini-map.no-map { background: linear-gradient(135deg, #e6e9f2, #c9d0e1) center/cover; }
.map-btn { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); z-index: 500; background: #fff; border: 0; border-radius: 999px; padding: 10px 18px; font-weight: 700; color: var(--ink); box-shadow: 0 6px 18px rgba(14,26,68,.18); cursor: pointer; white-space: nowrap; }
.map-btn:hover { color: var(--blue); }
.side-head { display: flex; justify-content: space-between; align-items: center; padding-bottom: 12px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.side-head h3 { margin: 0; font-size: 19px; }
.link-btn { background: none; border: 0; color: var(--blue); font-weight: 600; cursor: pointer; padding: 0; font-size: 14px; }
.sidebar h4 { margin: 20px 0 10px; font-size: 15px; font-weight: 700; }
.side-input { width: 100%; border: 1.5px solid var(--line); border-radius: 12px; padding: 10px 12px; outline: 0; font-size: 15px; }
.side-input:focus { border-color: var(--blue); }
.switch-row { display: flex; justify-content: space-between; align-items: center; padding: 12px 0 2px; font-weight: 600; cursor: pointer; }
.heart { color: #e5484d; margin-right: 6px; }
.switch { appearance: none; width: 42px; height: 24px; background: #d6dbe8; border-radius: 999px; position: relative; cursor: pointer; transition: .2s; }
.switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: .2s; box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.switch:checked { background: var(--blue); } .switch:checked::after { left: 21px; }
.price-lbl { display: flex; gap: 8px; align-items: center; font-weight: 600; font-size: 14px; margin-bottom: 8px; } .price-lbl .arrow { color: var(--muted); }
.hist { display: flex; align-items: flex-end; gap: 2px; height: 60px; padding: 0 4px; }
.hist i { flex: 1; background: #d9e1f5; border-radius: 2px 2px 0 0; } .hist i.in { background: #9fb6f2; }
.range { width: 100%; accent-color: var(--blue); margin: 4px 0 0; }
.checks { display: flex; flex-direction: column; gap: 4px; }
.check { display: flex; align-items: center; gap: 10px; padding: 6px 2px; cursor: pointer; font-size: 15px; border-radius: 8px; }
.check:hover { background: var(--soft); }
.check input { width: 18px; height: 18px; accent-color: var(--blue); margin: 0; flex: 0 0 auto; }
.check .lbl { flex: 1; } .check .cnt { color: var(--muted); font-size: 13px; }
.check.dim { opacity: .45; }
.check .st { color: #f5a623; letter-spacing: 2px; font-size: 17px; }

.results-main { min-width: 0; }
.results-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 14px; }
.results-top h2 { margin: 0; font-size: 30px; font-weight: 800; letter-spacing: -0.6px; }
.results-top .muted { font-size: 15px; }
.top-right { display: flex; align-items: center; gap: 14px; }
.top-right .sort { gap: 6px; } .top-right .sort svg { width: 18px; height: 18px; color: var(--muted); }
.top-right .sort select { min-width: 0; border: 0; font-weight: 600; color: var(--ink); background: transparent; padding: 8px 4px; cursor: pointer; }
.seg { display: inline-flex; background: var(--soft); border-radius: 14px; padding: 4px; }
.seg button { border: 0; background: transparent; padding: 9px 16px; border-radius: 10px; font-weight: 600; color: var(--muted); display: inline-flex; gap: 8px; align-items: center; cursor: pointer; }
.seg button svg { width: 18px; height: 18px; }
.seg button.on { background: #fff; color: var(--ink); box-shadow: 0 2px 8px rgba(14,26,68,.1); }
.side-toggle { display: none; }
.active-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }
.active-chips:empty { display: none; }
.achip { background: #fff1e6; color: var(--blue); border: 0; border-radius: 999px; padding: 7px 14px; font-weight: 600; font-size: 13.5px; cursor: pointer; }
.achip b { margin-left: 4px; font-size: 11px; }

.hlist { display: flex; flex-direction: column; gap: 18px; }
.hskel { height: 250px; }
.hcard { display: grid; grid-template-columns: 330px 1fr 250px; background: #fff; border: 1.5px solid var(--line); border-radius: 22px; overflow: hidden; transition: box-shadow .15s, border-color .15s; min-height: 250px; }
.hcard:hover { box-shadow: 0 16px 36px rgba(14,26,68,.12); border-color: #d3dbf0; }
.hcard-img { position: relative; background: linear-gradient(135deg, #e3e7f1, #c5cde0); cursor: pointer; }
.hcard-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hcard-info { padding: 20px 22px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.stars.lg { font-size: 16px; color: #f5a623; letter-spacing: 2px; }
.hcard-info h3 { margin: 0; font-size: 22px; font-weight: 800; cursor: pointer; line-height: 1.2; }
.hcard-info h3:hover { color: var(--blue); }
.addr { display: flex; gap: 6px; align-items: flex-start; color: var(--muted); font-size: 14.5px; }
.addr svg { width: 16px; height: 16px; flex: 0 0 auto; margin-top: 2px; }
.roombox { margin-top: auto; background: #f7f9fe; border-radius: 14px; padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; }
.rname { display: flex; gap: 8px; align-items: center; font-weight: 600; font-size: 15px; }
.rname svg { width: 18px; height: 18px; color: var(--muted); flex: 0 0 auto; }
.rtags { display: flex; gap: 8px; flex-wrap: wrap; }
.rtags span { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--muted); background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 5px 11px; }
.rtags span.ok { color: #137a3e; background: #e9f8ef; border-color: #c9ecd6; }
.rtags svg { width: 15px; height: 15px; }
.more-rooms { font-size: 13px; color: var(--blue); font-weight: 600; }
.hcard-price { padding: 20px 22px; border-left: 1px solid var(--line); display: flex; flex-direction: column; justify-content: space-between; align-items: flex-end; text-align: right; gap: 14px; }
.rating { display: flex; gap: 10px; align-items: center; }
.rating b { display: block; font-size: 16px; } .rating small { color: var(--muted); font-size: 13px; }
.rating .badge { background: var(--blue); color: #fff; font-weight: 800; border-radius: 12px 12px 12px 4px; padding: 9px 10px; font-size: 17px; min-width: 46px; text-align: center; }
.pblock { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; width: 100%; }
.from { color: var(--muted); font-size: 14px; } .from strong { color: var(--ink); font-size: 30px; font-weight: 800; letter-spacing: -1px; }
.ptotal { color: var(--muted); font-size: 13px; line-height: 1.35; }
.tax { color: #a45a00; font-size: 12.5px; display: block; }
.view-btn { width: 100%; margin-top: 10px; padding: 13px 16px !important; font-size: 16px !important; }
.view-btn span { font-size: 22px; line-height: 0; margin-left: 2px; }
.big-map { height: 720px; border-radius: 22px; overflow: hidden; border: 1.5px solid var(--line); }
.price-pin span { display: inline-block; transform: translate(-50%, -100%); background: #fff; color: var(--ink); font-weight: 800; font-size: 13px; padding: 6px 10px; border-radius: 999px; box-shadow: 0 4px 12px rgba(14,26,68,.25); white-space: nowrap; border: 1.5px solid #fff; font-family: var(--font); }
.price-pin:hover span { background: var(--blue); color: #fff; }
.pop { width: 220px; font-family: var(--font); } .pop img { width: 100%; height: 110px; object-fit: cover; border-radius: 10px; margin-bottom: 8px; }
.pop b { font-size: 15px; } .pop div { color: var(--muted); font-size: 13px; margin-top: 2px; } .pop .pp { color: var(--ink); font-weight: 800; font-size: 18px; margin: 6px 0; }
.pop button { width: 100%; background: var(--blue); color: #fff; border: 0; border-radius: 10px; padding: 9px; font-weight: 700; cursor: pointer; }
.leaflet-popup-content-wrapper { border-radius: 16px; }

@media (max-width: 1280px) { .hcard { grid-template-columns: 260px 1fr 220px; } .results { grid-template-columns: 260px 1fr; } }
@media (max-width: 1000px) {
  .results { grid-template-columns: 1fr; }
  .sidebar { display: none; position: static; max-height: none; } .sidebar.open { display: flex; }
  .side-toggle { display: inline-flex; padding: 9px 16px; }
  .results-top { flex-direction: column; align-items: flex-start; } .top-right { flex-wrap: wrap; }
  .hcard { grid-template-columns: 1fr; } .hcard-img { height: 210px; }
  .hcard-price { border-left: 0; border-top: 1px solid var(--line); flex-direction: row; align-items: center; }
  .big-map { height: 520px; }
}

/* ---------- Página del hotel ---------- */
.hp { padding-top: 6px; }
.back-link { display: inline-flex; align-items: center; gap: 12px; background: none; border: 0; font-weight: 700; font-size: 16px; color: var(--ink); cursor: pointer; padding: 6px 0; margin-bottom: 14px; }
.back-link span { width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid var(--line); display: inline-flex; align-items: center; justify-content: center; padding: 0; }
.back-link span svg { width: 18px; height: 18px; }
.back-link:hover span { border-color: var(--blue); color: var(--blue); }
.hp-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; margin-bottom: 20px; }
.hp-head h1 { margin: 0 0 8px; font-size: 32px; font-weight: 800; letter-spacing: -0.6px; line-height: 1.15; }
.hp-head h1 .stars { font-size: 20px; vertical-align: 4px; margin-left: 6px; }
.hp-head .addr { font-size: 15.5px; flex-wrap: wrap; } .hp-head .addr .dot { color: #c5cbe0; } .hp-head .addr a { color: var(--ink); font-weight: 600; text-decoration: underline; }
.save-btn { display: inline-flex; align-items: center; gap: 8px; border: 1.5px solid var(--line); background: #fff; border-radius: 14px; padding: 11px 18px; font-weight: 600; cursor: pointer; flex: 0 0 auto; }
.save-btn svg { width: 20px; height: 20px; } .save-btn.on { color: #e5484d; border-color: #f3c2c4; } .save-btn.on svg { fill: #e5484d; }
.hp-gallery { position: relative; display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 210px 210px; gap: 8px; border-radius: 22px; overflow: hidden; }
.hp-gallery img { width: 100%; height: 100%; object-fit: cover; cursor: pointer; background: var(--soft); transition: filter .15s; }
.hp-gallery img:hover { filter: brightness(.92); }
.hp-gallery .g0 { grid-row: 1 / 3; }
.hp-gallery.n1 { grid-template-columns: 1fr; } .hp-gallery.n1 .g0 { grid-row: 1 / 3; }
.hp-gallery.n2, .hp-gallery.n3 { grid-template-columns: 2fr 1fr; } .hp-gallery.n2 .g1 { grid-row: 1 / 3; }
.hp-gallery.skel-g { grid-template-columns: 2fr 1fr 1fr; } .hp-gallery.skel-g .skeleton { border-radius: 0; height: auto; } .hp-gallery.skel-g .skeleton:first-child { grid-row: 1 / 3; }
.all-imgs { position: absolute; right: 16px; bottom: 16px; background: #fff; border: 0; border-radius: 999px; padding: 10px 16px; font-weight: 600; display: inline-flex; gap: 8px; align-items: center; cursor: pointer; box-shadow: 0 6px 18px rgba(0,0,0,.18); }
.all-imgs svg { width: 18px; height: 18px; }
.hp-tabs { position: sticky; top: 0; z-index: 30; background: #fff; display: flex; align-items: center; gap: 20px; border-bottom: 1.5px solid var(--line); margin-top: 18px; padding: 12px 0; }
.hp-tabs nav { display: flex; gap: 28px; flex: 1; }
.hp-tabs nav a { color: var(--muted); font-weight: 600; cursor: pointer; padding: 12px 0; margin: -12px 0; border-bottom: 3px solid transparent; }
.hp-tabs nav a.on { color: var(--blue); border-color: var(--blue); }
.tab-price { color: var(--muted); } .tab-price strong { color: var(--blue); font-size: 26px; font-weight: 800; }
.hp-tabs .btn-primary span { font-size: 18px; line-height: 0; }
.hp-sec { padding: 30px 0 6px; scroll-margin-top: 80px; }
.hp-sec h2 { margin: 0 0 18px; font-size: 26px; font-weight: 800; letter-spacing: -0.4px; }
.overview { display: flex; gap: 32px; align-items: center; flex-wrap: wrap; padding-top: 22px; }
.ov-rating { display: flex; gap: 12px; align-items: center; } .ov-rating b { display: block; font-size: 17px; } .ov-rating small { color: var(--muted); }
.badge { background: var(--blue); color: #fff; font-weight: 800; border-radius: 12px 12px 12px 4px; padding: 9px 10px; font-size: 17px; min-width: 46px; text-align: center; display: inline-block; }
.ov-times { display: flex; gap: 22px; } .ov-times small { display: block; color: var(--muted); font-size: 13px; } .ov-times b { font-size: 15px; }
.ov-facil { display: flex; gap: 8px 16px; flex-wrap: wrap; flex: 1; min-width: 300px; } .ov-facil span { font-size: 14.5px; color: #2a3560; }
.ov-facil span::first-letter, .facil-grid span::first-letter { color: #137a3e; }
.hp-search { display: grid; grid-template-columns: 1fr 1fr 1.4fr auto; gap: 12px; }
.hp-search .box { display: flex; align-items: center; gap: 10px; border: 1.5px solid var(--line); border-radius: 14px; padding: 0 16px; height: 56px; background: #fff; position: relative; }
.hp-search .box svg { width: 20px; height: 20px; color: var(--muted); flex: 0 0 auto; }
.hp-search input[type="date"] { border: 0; outline: 0; font-size: 16px; font-weight: 600; width: 100%; background: transparent; cursor: pointer; }
.hp-search input[type="date"]::-webkit-calendar-picker-indicator { display: none; }
.hp-search .guests button { border: 0; background: none; font-size: 16px; font-weight: 600; cursor: pointer; text-align: left; flex: 1; padding: 0; height: 100%; }
.hp-search .guests .guests-pop { left: 0; top: calc(100% + 8px); }
.guests-pop select { border: 1.5px solid var(--line); border-radius: 10px; padding: 6px 10px; background: #fff; font-weight: 600; }
.hp-search .btn-primary { font-size: 16px; padding: 0 26px; border-radius: 14px; gap: 10px; }
.hp-search .btn-primary svg { width: 20px; height: 20px; }
.hp-chips { display: flex; gap: 10px; flex-wrap: wrap; margin: 16px 0 4px; }
.hp-chips:empty { display: none; }
.pchip { border: 1.5px solid var(--line); background: #fff; border-radius: 12px; padding: 10px 16px; font-weight: 500; cursor: pointer; display: inline-flex; gap: 10px; align-items: center; }
.pchip b { font-size: 18px; font-weight: 400; line-height: 0; } .pchip.on { border-color: var(--blue); background: #eef3ff; color: var(--blue); } .pchip.on b { font-size: 13px; }
#hpInfo { margin: 10px 0 16px; }
#hpRooms { display: flex; flex-direction: column; gap: 18px; }
.rg { display: grid; grid-template-columns: 300px 1fr; gap: 22px; align-items: start; background: #fafbfe; border: 1.5px solid var(--line); border-radius: 22px; padding: 22px; }
.rg h3 { margin: 0 0 14px; font-size: 20px; font-weight: 800; }
.rg h4 { margin: 18px 0 8px; font-size: 15px; }
.rg-photo { position: relative; height: 190px; border-radius: 16px; overflow: hidden; background: linear-gradient(135deg, #e6e9f2, #cfd5e4); }
.rg-photo img { width: 100%; height: 100%; object-fit: cover; cursor: zoom-in; }
.rg-photo .noimg { height: 100%; display: flex; align-items: center; justify-content: center; color: #8fa6dd; } .rg-photo .noimg svg { width: 56px; height: 56px; }
.rg-photo .nav { position: absolute; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: var(--ink); display: flex; align-items: center; justify-content: center; padding: 0; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,.2); }
.rg-photo .nav svg { width: 18px; height: 18px; }
.rg-photo .prev { left: 10px; } .rg-photo .next { right: 10px; }
.rg-photo .count { position: absolute; right: 10px; bottom: 10px; background: rgba(20,24,40,.7); color: #fff; border-radius: 999px; padding: 4px 12px; font-size: 13px; font-weight: 600; }
.rg-photo .hotel-ph { position: absolute; left: 10px; bottom: 10px; background: rgba(255,255,255,.92); color: var(--muted); border-radius: 999px; padding: 4px 10px; font-size: 12px; font-weight: 600; }
.rg-det, .rg-am { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; color: #2a3560; }
.rg-info { display: flex; flex-direction: column; gap: 10px; padding: 4px 4px 0; }
.rg-info .rg-am { gap: 6px 16px; color: #4a557d; }
.rg-info .rg-more { margin-top: 0; align-self: flex-start; }
.rg-det li { display: flex; gap: 10px; align-items: center; } .rg-det svg { width: 18px; height: 18px; color: var(--muted); }
.rg-am li::first-letter { color: #137a3e; }
.rg-more { margin-top: 12px; text-decoration: underline; } .rg-extra { margin-top: 10px; font-size: 14px; color: #2a3560; } .rg-extra p { margin: 0 0 8px; line-height: 1.5; }
.rg-rates { display: flex; flex-direction: column; gap: 12px; }
.rate { display: grid; grid-template-columns: 1.15fr 1fr auto; background: #fff; border: 1.5px solid var(--line); border-radius: 16px; overflow: hidden; }
.rate > div { padding: 18px 20px; }
.rate-a b { display: block; font-size: 17px; margin-bottom: 8px; }
.ln { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; color: var(--muted); margin-top: 6px; line-height: 1.35; }
.ln svg { width: 17px; height: 17px; flex: 0 0 auto; margin-top: 1px; } .ln.ok { color: #137a3e; } .ln.no { color: #6b7599; }
.rate-b { border-left: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; justify-content: center; }
.rate-b .pn strong { font-size: 28px; font-weight: 800; letter-spacing: -1px; } .rate-b .pn span { color: var(--muted); font-size: 14px; margin-left: 4px; }
.rate-b .pub { font-size: 13.5px; color: var(--muted); } .rate-b .pub s { color: var(--ink); font-weight: 600; }
.rate-b .tot { font-size: 13px; color: var(--muted); line-height: 1.35; } .rate-b .tot b { color: var(--ink); }
.rate-c { display: flex; align-items: center; border-left: 1px solid var(--line); }
.rate-c .btn-primary { white-space: nowrap; padding: 13px 20px; }
.facil-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px 20px; font-size: 14.5px; color: #2a3560; }
.desc-body { line-height: 1.65; color: #2a3560; max-width: 900px; } .desc-body p { margin: 0 0 12px; }
.hp-sec h3 { font-size: 18px; margin: 22px 0 8px; }
.lb h2 { margin: 6px 40px 2px 0; } .lb { padding: 26px 30px 30px; }
.lb-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 14px; } .lb-grid img { width: 100%; height: 210px; object-fit: cover; border-radius: 10px; background: var(--soft); }
body.subpage .footnote { display: none; }

/* ---------- Página de solicitud ---------- */
.bk-title { font-size: 32px; font-weight: 800; letter-spacing: -0.6px; margin: 0 0 4px; }
.bk { display: grid; grid-template-columns: 1fr 380px; gap: 28px; align-items: start; margin-top: 20px; }
.bk-main { display: flex; flex-direction: column; gap: 18px; }
.bk-card { background: #fff; border: 1.5px solid var(--line); border-radius: 20px; padding: 6px 24px 24px; }
.bk-card .q-step { margin-top: 18px; }
.hint { color: var(--muted); font-size: 13.5px; margin: 0 0 12px; } .hint a { color: var(--blue); font-weight: 600; } .hint.center { text-align: center; }
.bk-room { border-top: 1px solid var(--line); padding-top: 14px; margin-top: 14px; } .bk-room:first-of-type { border-top: 0; margin-top: 0; padding-top: 0; }
.bk-room h4 { margin: 0 0 10px; font-size: 16px; } .bk-room h4 small { color: var(--muted); font-weight: 500; }
.pax { display: grid; grid-template-columns: 130px 1fr 1fr; gap: 12px; align-items: end; margin-bottom: 12px; }
.pax.child { grid-template-columns: 130px 1fr 1fr 140px; }
.pax-l { font-weight: 700; padding-bottom: 12px; font-size: 14.5px; }
.tit { display: inline-block; background: #fff1e6; color: var(--blue); font-size: 11.5px; font-weight: 700; border-radius: 999px; padding: 2px 8px; margin-left: 4px; }
.pax label, .bk .q-grid label { display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; color: var(--muted); font-weight: 500; }
.pax input, .pax select { border: 1.5px solid var(--line); border-radius: 12px; padding: 11px 12px; font-size: 15px; color: var(--ink); font-weight: 500; outline: 0; background: #fff; }
.pax select:disabled { background: var(--soft); color: var(--ink); opacity: 1; }
.pax input:focus, .bk .q-grid input:focus, .bk .q-grid textarea:focus { border-color: var(--blue); }
.invalid { border-color: #e5484d !important; background: #fff7f7 !important; }
.bk .q-contact { grid-template-columns: repeat(2, 1fr); }
.policy { display: flex; gap: 14px; border-radius: 16px; padding: 16px 18px; }
.policy svg { width: 26px; height: 26px; flex: 0 0 auto; }
.policy.ok { background: #ecf9f1; color: #11683a; border: 1px solid #c9ecd6; } .policy.no { background: #f6f7fb; color: #39456e; border: 1px solid var(--line); }
.policy b { font-size: 16px; } .policy p { margin: 6px 0 0; font-size: 14px; line-height: 1.5; color: #2a3560; }
.conds { margin: 14px 0 0; padding-left: 20px; color: #2a3560; font-size: 14px; line-height: 1.7; }
.accept { display: flex; gap: 10px; align-items: center; margin-top: 16px; font-weight: 600; cursor: pointer; }
.accept input { width: 20px; height: 20px; accent-color: var(--blue); }
.bk-side { position: sticky; top: 16px; }
.bk-sum { background: #fff; border: 1.5px solid var(--line); border-radius: 20px; overflow: hidden; }
.bk-sum > img { width: 100%; height: 170px; object-fit: cover; display: block; }
.bk-sum-body { padding: 18px 20px 20px; }
.bk-sum .stars { color: #f5a623; letter-spacing: 2px; }
.bk-sum h3 { margin: 4px 0 6px; font-size: 20px; font-weight: 800; }
.bk-sum .addr { font-size: 13.5px; }
.mini-rating { display: flex; align-items: center; gap: 8px; margin-top: 10px; font-weight: 600; font-size: 14px; } .mini-rating .badge { font-size: 14px; padding: 5px 7px; min-width: 0; }
.bk-dates { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 16px 0 6px; }
.bk-dates div { background: var(--soft); border-radius: 12px; padding: 10px 12px; } .bk-dates small { display: block; color: var(--muted); font-size: 12.5px; } .bk-dates b { font-size: 14px; }
.bk-facts { list-style: none; padding: 0; margin: 10px 0; } .bk-facts li { display: flex; justify-content: space-between; gap: 10px; padding: 7px 0; border-bottom: 1px dashed var(--line); font-size: 14px; } .bk-facts span { color: var(--muted); } .bk-facts b { text-align: right; }
.bk-price { margin-top: 14px; background: var(--soft); border-radius: 14px; padding: 14px 16px; }
.bk-price div { display: flex; justify-content: space-between; align-items: baseline; font-weight: 700; } .bk-price strong { font-size: 30px; font-weight: 800; letter-spacing: -1px; } .bk-price small { color: var(--muted); }

@media (max-width: 1100px) {
  .rg { grid-template-columns: 1fr; } .rate { grid-template-columns: 1fr 1fr; } .rate-c { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--line); } .rate-c .btn-primary { width: 100%; }
  .bk { grid-template-columns: 1fr; } .bk-side { position: static; order: -1; }
  .facil-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 760px) {
  .hp-head { flex-direction: column; } .hp-head h1 { font-size: 24px; }
  .hp-gallery { grid-template-columns: 1fr !important; grid-template-rows: 240px; } .hp-gallery img:not(.g0) { display: none; }
  .hp-tabs nav { display: none; } .hp-search { grid-template-columns: 1fr 1fr; } .hp-search .guests, .hp-search .btn-primary { grid-column: 1 / -1; } .hp-search .btn-primary { height: 52px; }
  .rate { grid-template-columns: 1fr; } .rate-b { border-left: 0; border-top: 1px solid var(--line); }
  .pax, .pax.child { grid-template-columns: 1fr 1fr; } .pax-l { grid-column: 1 / -1; padding-bottom: 0; }
  .bk .q-contact { grid-template-columns: 1fr; } .lb-grid { grid-template-columns: 1fr 1fr; }
}

/* ---------- Cotizador ---------- */
.quote .back { margin-bottom: 14px; }
.q-head { display: flex; gap: 18px; align-items: center; margin-bottom: 8px; }
.q-head img { width: 120px; height: 84px; object-fit: cover; border-radius: 14px; }
.q-head h2 { font-size: 26px; }
.q-step { display: flex; align-items: center; gap: 12px; margin: 26px 0 12px; }
.q-step h3 { margin: 0; font-size: 19px; }
.q-num { width: 28px; height: 28px; border-radius: 50%; background: var(--blue); color: #fff; font-weight: 700; font-size: 14px; display: inline-flex; align-items: center; justify-content: center; }
.muted-s { color: var(--muted); font-size: 14px; margin-left: auto; }
.q-grid { display: grid; grid-template-columns: repeat(5, 1fr) auto; gap: 12px; align-items: end; }
.q-grid label, .q-pax label { display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; color: var(--muted); font-weight: 500; }
.q-grid input, .q-grid select, .q-grid textarea, .q-pax input, .q-ages select { border: 1.5px solid var(--line); border-radius: 12px; padding: 10px 12px; background: #fff; font-size: 15px; color: var(--ink); font-weight: 500; outline: 0; }
.q-grid input:focus, .q-grid select:focus, .q-grid textarea:focus, .q-pax input:focus { border-color: var(--blue); }
.q-grid .btn-primary { height: 44px; }
.q-ages { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; margin-top: 10px; color: var(--muted); font-size: 14px; }
.q-contact { grid-template-columns: repeat(3, 1fr); }
.q-contact .wide { grid-column: 1 / -1; }
.q-contact textarea { resize: vertical; font-family: inherit; }
.q-pax { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.room.pick { cursor: pointer; transition: .15s; }
.room.pick input { accent-color: var(--blue); width: 18px; height: 18px; }
.room.pick .grow { flex: 1; }
.room.pick.on { border-color: var(--blue); background: #fff8f3; }
.q-summary { margin: 22px 0 12px; background: var(--soft); border-radius: 16px; padding: 16px 20px; }
.q-summary div { display: flex; justify-content: space-between; align-items: baseline; font-weight: 600; }
.q-summary strong { font-size: 28px; font-weight: 800; }
.q-summary small { color: var(--muted); }
.btn-wa.big { width: 100%; padding: 16px; font-size: 18px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; margin-top: 6px; }
.btn-wa.big svg { width: 22px; height: 22px; }
@media (max-width: 900px) { .q-grid { grid-template-columns: 1fr 1fr; } .q-grid .btn-primary { grid-column: 1 / -1; } .q-contact, .q-pax { grid-template-columns: 1fr; } }

/* ---------- Responsive ---------- */
@media (max-width: 1280px) {
  .topbar, .page { padding-left: 32px; padding-right: 32px; }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .searchbar { margin: -32px 10px 0; }
}
@media (max-width: 900px) {
  .topbar { padding: 16px 20px; } .nav { display: none; } .page { padding: 0 16px 40px; }
  .hero { height: 200px; padding: 0 24px; } .hero h1 { font-size: 28px; }
  .searchbar { grid-template-columns: 1fr; margin: -24px 0 0; gap: 4px; }
  .field { border-right: 0; border-bottom: 1px solid var(--line); padding: 10px 6px; }
  .btn-search { margin: 10px 0 0; min-height: 56px; }
  .results-head { flex-direction: column; align-items: flex-start; gap: 12px; margin-top: 28px; }
  .results-head h2 { font-size: 28px; } .muted { font-size: 16px; }
  .grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; grid-template-rows: 220px; } .gallery img:not(:first-child) { display: none; } .gallery img:first-child { grid-row: auto; }
  .suggest { width: 100%; }
}

/* =================== PORTAL =================== */
body.auth .topbar, body.auth main.page { display: none; }
body.auth { background: #eef2fa; }

/* ---------- Login ---------- */
.login { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 28px; overflow: hidden; background: #f7faff; }
.login-bg { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.lb-photo { position: absolute; inset: -60px; background: url("/login.jpg") center / cover no-repeat; filter: blur(26px) saturate(1.2); animation: kenburns 38s ease-in-out infinite alternate; }
.lb-tint { position: absolute; inset: 0; background: linear-gradient(160deg, rgba(255,255,255,.93) 0%, rgba(246,250,255,.88) 45%, rgba(232,242,255,.84) 100%); }
.orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .3; }
.o1 { width: 520px; height: 520px; background: #8fb4ff; top: -140px; left: -120px; animation: float1 22s ease-in-out infinite alternate; }
.o2 { width: 440px; height: 440px; background: #8ee0ff; bottom: -160px; right: -100px; animation: float2 26s ease-in-out infinite alternate; }
.o3 { width: 300px; height: 300px; background: #ffd9a0; top: 30%; right: 18%; opacity: .25; animation: float3 30s ease-in-out infinite alternate; }
.waves { position: absolute; left: 0; right: 0; bottom: 0; height: 170px; }
.wave { position: absolute; bottom: 0; left: 0; width: 200%; height: 100%; display: flex; }
.wave svg { width: 50%; height: 100%; fill: #101f48; stroke: none; }
.w1 { opacity: .045; animation: waveMove 26s linear infinite; }
.w2 { opacity: .035; height: 120px; animation: waveMove 18s linear infinite reverse; }
@keyframes kenburns { from { transform: scale(1.05) translate(0, 0); } to { transform: scale(1.18) translate(-2%, -2%); } }
@keyframes float1 { to { transform: translate(180px, 120px) scale(1.15); } }
@keyframes float2 { to { transform: translate(-160px, -110px) scale(1.1); } }
@keyframes float3 { to { transform: translate(-220px, 140px) scale(.85); } }
@keyframes waveMove { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .lb-photo, .orb, .wave { animation: none; } }

.login-card { position: relative; z-index: 1; width: min(1060px, 100%); min-height: 620px; display: grid; grid-template-columns: 0.92fr 1fr; background: #fff; border-radius: 26px; box-shadow: 0 30px 70px rgba(30,70,150,.20), 0 0 0 1px rgba(239,130,57,.06); overflow: hidden; }
.login-form { padding: 40px 42px 26px; display: flex; flex-direction: column; }
.login-brand { font-size: 32px; font-weight: 800; color: var(--blue); letter-spacing: -0.8px; margin-bottom: 20px; }
.login-pill { align-self: flex-start; background: #e8eefc; color: var(--blue); border-radius: 999px; padding: 6px 14px; font-size: 11.5px; font-weight: 700; letter-spacing: 2.2px; text-transform: uppercase; margin-bottom: 16px; }
.login-form h1 { margin: 0; font-size: 30px; font-weight: 800; letter-spacing: -0.7px; line-height: 1.1; white-space: nowrap; }
.login-sub { margin: 6px 0 22px; color: var(--muted); font-size: 15.5px; }
.login-form .notice { margin-bottom: 12px; font-size: 14px; padding: 10px 14px; }
.lf-label { display: block; font-weight: 600; font-size: 14px; margin: 0 0 6px; }
.lf-input { display: flex; align-items: center; gap: 12px; background: #f3f6fc; border: 1.5px solid #dfe5f3; border-radius: 13px; padding: 0 14px; height: 48px; margin-bottom: 16px; transition: .15s; }
.lf-input:focus-within { border-color: var(--blue); background: #fff; box-shadow: 0 0 0 4px rgba(239,130,57,.08); }
.lf-input > svg { width: 19px; height: 19px; color: #5a6690; flex: 0 0 auto; }
.lf-input input { flex: 1; border: 0; outline: 0; background: transparent; font-size: 15px; min-width: 0; }
.lf-input input::placeholder { color: #9aa4c4; }
.lf-eye { border: 0; background: none; color: #3b4670; cursor: pointer; padding: 4px; display: flex; }
.lf-eye svg { width: 19px; height: 19px; }
.lf-row { display: flex; justify-content: space-between; align-items: center; margin: -2px 0 18px; font-size: 14px; }
.lf-row a, .lf-reg a, .lf-help a { color: var(--blue); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.lf-check { display: inline-flex; align-items: center; gap: 9px; cursor: pointer; font-weight: 500; }
.lf-check input { position: absolute; opacity: 0; }
.lf-check span { width: 19px; height: 19px; border-radius: 5px; border: 1.5px solid #c7cfe4; display: inline-flex; align-items: center; justify-content: center; transition: .15s; }
.lf-check input:checked + span { background: var(--blue); border-color: var(--blue); }
.lf-check input:checked + span::after { content: ""; width: 5px; height: 9px; border: solid #fff; border-width: 0 2.3px 2.3px 0; transform: rotate(45deg) translate(-1px, -1px); }
.lf-check input:focus-visible + span { box-shadow: 0 0 0 3px rgba(239,130,57,.25); }
.lf-submit { width: 100%; height: 50px; border: 0; border-radius: 13px; background: var(--blue); color: #fff; font-size: 16.5px; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; gap: 10px; cursor: pointer; transition: background .15s; box-shadow: 0 10px 22px rgba(239,130,57,.25); }
.lf-submit:hover { background: var(--blue-dark); } .lf-submit:disabled { opacity: .7; cursor: progress; }
.lf-submit svg { width: 19px; height: 19px; }
.lf-sep { height: 1px; background: var(--line); margin: 20px 0; }
.lf-reg { text-align: center; color: var(--muted); margin: 0; font-size: 14px; }
.lf-help { display: flex; align-items: center; gap: 8px; color: var(--muted); margin: 0; font-size: 14px; }
.lf-help svg { width: 21px; height: 21px; color: var(--blue); }
.lf-foot { display: flex; justify-content: space-between; color: #8a93b4; font-size: 12px; margin-top: auto; padding-top: 18px; }
.login-art { position: relative; border-radius: 26px; overflow: hidden; color: #fff; display: flex; flex-direction: column; justify-content: space-between; padding: 28px 30px 32px;
  background: linear-gradient(180deg, rgba(8,30,80,.05) 0%, rgba(8,30,80,0) 30%, rgba(10,45,110,.45) 58%, rgba(10,45,110,.82) 80%, rgba(8,36,92,.92) 100%), url("/login.jpg") 55% center / cover no-repeat, #0f4c8f; }
.la-pill { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; background: rgba(15,40,95,.35); border: 1px solid rgba(255,255,255,.45); backdrop-filter: blur(8px); border-radius: 999px; padding: 7px 14px; font-weight: 500; font-size: 13px; }
.la-pill svg { width: 16px; height: 16px; fill: #fff; stroke: none; } .la-pill svg circle { fill: #2a5bd7; }
.la-text h2 { margin: 0; font-size: 40px; line-height: 1.02; font-weight: 800; letter-spacing: -1px; text-shadow: 0 4px 24px rgba(0,0,0,.25); }
.la-text p { margin: 10px 0 22px; font-size: 17px; opacity: .92; }
.la-box { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.3); backdrop-filter: blur(10px); border-radius: 18px; padding: 16px 20px; }
.la-box b { font-size: 15.5px; font-weight: 600; }
.la-items { display: flex; align-items: center; gap: 16px; margin-top: 14px; }
.la-items span { display: inline-flex; align-items: center; gap: 9px; font-weight: 500; font-size: 14px; }
.la-items svg { width: 28px; height: 28px; stroke-width: 1.4; }
.la-items i { width: 1px; align-self: stretch; background: rgba(255,255,255,.35); }
@media (max-width: 900px) { .login-card { grid-template-columns: 1fr; width: min(460px, 100%); min-height: 0; } .login-art { display: none; } .login-form { padding: 32px 26px 22px; } }

/* ---------- Encabezado con usuario ---------- */
.nav a { display: inline-flex; align-items: center; gap: 8px; }
.nav-badge { background: #e5484d; color: #fff; font-size: 11.5px; font-weight: 700; border-radius: 999px; padding: 2px 7px; line-height: 1.3; }
.user-box { position: relative; }
.user-box .avatar { border: 0; cursor: pointer; font-size: 15px; }
.user-menu { position: absolute; right: -10px; top: calc(100% + 12px); width: 260px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow); padding: 8px; z-index: 60; }
.um-head { padding: 10px 12px 12px; border-bottom: 1px solid var(--line); margin-bottom: 6px; }
.um-head b { display: block; } .um-head small { color: var(--muted); word-break: break-all; }
.um-role { display: inline-block; margin-top: 6px; background: #fff1e6; color: var(--blue); font-size: 11.5px; font-weight: 700; border-radius: 999px; padding: 2px 9px; }
.user-menu > button { width: 100%; text-align: left; border: 0; background: none; padding: 10px 12px; border-radius: 10px; cursor: pointer; font-weight: 500; }
.user-menu > button:hover { background: var(--soft); } .user-menu > button.danger { color: #c4282e; }

/* ---------- Botones genéricos ---------- */
.btn-ghost { display: inline-flex; align-items: center; justify-content: center; gap: 8px; border: 1.5px solid var(--line); background: #fff; color: var(--ink); border-radius: 12px; padding: 10px 16px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn-danger { display: inline-flex; align-items: center; justify-content: center; border: 1.5px solid #f2c2c4; background: #fff5f5; color: #c4282e; border-radius: 12px; padding: 10px 16px; font-weight: 700; cursor: pointer; white-space: nowrap; }
.btn-danger:hover { background: #c4282e; color: #fff; border-color: #c4282e; } .btn-danger:disabled { opacity: .6; }
.btn-primary svg, .btn-ghost svg { width: 18px; height: 18px; }
a.btn-wa { display: inline-flex; align-items: center; justify-content: center; text-decoration: none; }

/* ---------- Estados ---------- */
.st { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 700; border-radius: 999px; padding: 4px 11px; white-space: nowrap; }
.st::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.st-pend { background: #fff4e0; color: #a35b00; }
.st-conf { background: #e7efff; color: #101f48; }
.st-paid { background: #e3f7ea; color: #137a3e; }
.st-nodisp { background: #f1f2f6; color: #59607a; }
.st-canc { background: #fdecec; color: #c4282e; }
.ok-t { color: #137a3e; }

/* ---------- Páginas del portal ---------- */
.pg { padding-top: 10px; }
.pg-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 22px; }
.pg-head h1 { margin: 0; font-size: 34px; font-weight: 800; letter-spacing: -0.7px; }
.pg-head .btn-primary { gap: 8px; text-decoration: none; }
.tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 16px; }
.tab { border: 1.5px solid var(--line); background: #fff; border-radius: 12px; padding: 9px 14px; font-weight: 600; cursor: pointer; display: inline-flex; gap: 8px; align-items: center; color: var(--ink); }
.tab b { background: var(--soft); color: var(--muted); border-radius: 999px; padding: 1px 8px; font-size: 12.5px; }
.tab.on { background: var(--ink); color: #fff; border-color: var(--ink); } .tab.on b { background: rgba(255,255,255,.2); color: #fff; }
.pg-tools { display: flex; gap: 12px; margin-bottom: 18px; flex-wrap: wrap; }
.search-in { flex: 1; min-width: 260px; display: flex; align-items: center; gap: 10px; border: 1.5px solid var(--line); border-radius: 14px; padding: 0 14px; height: 48px; background: #fff; }
.search-in:focus-within { border-color: var(--blue); }
.search-in svg { width: 20px; height: 20px; color: var(--muted); } .search-in input { flex: 1; border: 0; outline: 0; font-size: 15px; background: transparent; }
.sel { border: 1.5px solid var(--line); border-radius: 14px; padding: 0 14px; height: 48px; background: #fff; font-weight: 600; min-width: 220px; }

/* Tarjetas de Mis reservas */
#mineList { display: flex; flex-direction: column; gap: 14px; }
.bcard { display: grid; grid-template-columns: 190px 1fr 260px; background: #fff; border: 1.5px solid var(--line); border-radius: 20px; overflow: hidden; }
.bc-img { background: linear-gradient(135deg, #e3e7f1, #c5cde0); min-height: 160px; position: relative; } .bc-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bc-main { padding: 16px 20px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.bc-top { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.code { font-weight: 800; letter-spacing: .3px; }
.bc-main h3 { margin: 2px 0 0; font-size: 20px; font-weight: 800; }
.bc-meta { display: flex; flex-wrap: wrap; gap: 6px 18px; color: #4a557d; font-size: 14px; }
.bc-meta span { display: inline-flex; align-items: center; gap: 6px; } .bc-meta svg { width: 16px; height: 16px; color: var(--muted); }
.bc-loc { display: inline-flex; gap: 8px; align-items: center; align-self: flex-start; background: #eef3ff; color: var(--ink); border: 1px dashed #b7c7f3; border-radius: 10px; padding: 5px 12px; font-size: 14px; margin-top: 4px; }
.bc-loc b { font-size: 16px; letter-spacing: .5px; color: var(--blue); }
.bc-note { background: #fff8e8; border-radius: 10px; padding: 8px 12px; font-size: 13.5px; color: #6b4a00; margin-top: 4px; }
.bc-side { border-left: 1px solid var(--line); padding: 16px 20px; display: flex; flex-direction: column; align-items: flex-end; text-align: right; gap: 8px; }
.bc-price s { display: block; font-size: 14px; color: var(--muted); font-weight: 600; letter-spacing: 0; }
.bc-price { font-size: 26px; font-weight: 800; letter-spacing: -.6px; } .bc-price small { display: block; font-size: 12.5px; color: var(--muted); font-weight: 500; letter-spacing: 0; }
.bc-cancel { font-size: 13px; color: var(--muted); line-height: 1.35; } .bc-cancel.ok { color: #137a3e; }
.bc-actions { margin-top: auto; display: flex; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }

/* Tabla de admin */
.atable { background: #fff; border: 1.5px solid var(--line); border-radius: 18px; overflow: hidden; }
.ar { display: grid; grid-template-columns: 130px 1.1fr 2fr 1.1fr 130px 150px; gap: 14px; align-items: center; padding: 14px 18px; border-top: 1px solid var(--line); width: 100%; background: #fff; border-left: 0; border-right: 0; border-bottom: 0; text-align: left; font: inherit; color: inherit; }
.atable.ag .ar { grid-template-columns: 1.3fr 1fr 1.3fr 70px 210px 110px 90px; }
button.ar { cursor: pointer; } button.ar:hover { background: #f7f9fe; }
.ar > span { min-width: 0; font-size: 14px; } .ar b { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ar small { display: block; color: var(--muted); font-size: 12.5px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-top: 2px; }
.ah { border-top: 0; background: #f6f8fd; font-size: 12.5px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .5px; padding: 11px 18px; }
.ah > span { font-size: 12px; }
.ar-act { text-align: right; }

/* Diálogos */
.modal-card.narrow { width: min(560px, 94vw); } .modal-card.wide { width: min(980px, 95vw); }
.dlg { padding: 30px 30px 26px; }
.dlg h2 { margin: 0 0 14px; font-size: 24px; font-weight: 800; padding-right: 36px; }
.dlg > label, .ae-grid label { display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; color: var(--muted); font-weight: 500; margin-bottom: 14px; }
.ae-grid label small { font-weight: 400; }
.dlg input, .dlg select, .dlg textarea { border: 1.5px solid var(--line); border-radius: 12px; padding: 11px 12px; font-size: 15px; color: var(--ink); font-weight: 500; outline: 0; background: #fff; font-family: inherit; }
.dlg input:focus, .dlg select:focus, .dlg textarea:focus { border-color: var(--blue); }
.dlg-actions { display: flex; justify-content: flex-end; align-items: center; gap: 10px; margin-top: 8px; flex-wrap: wrap; }
.dlg-actions.center { justify-content: center; }
.dlg-actions .muted-s { margin-right: auto; color: #137a3e; font-weight: 600; }
.dlg-title { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 16px; padding-right: 40px; } .dlg-title h2 { margin: 0; padding: 0; }
.dlg .notice { margin: 4px 0 10px; }
.done { display: flex; justify-content: center; } .done svg { width: 64px; height: 64px; color: #1fa45a; stroke-width: 1.6; }
.dlg.done { text-align: center; flex-direction: column; } .dlg.done h2 { padding: 0; margin: 10px 0; }
.dlg .policy { margin: 14px 0; }
.ae-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 14px; } .ae-grid .wide { grid-column: 1 / -1; }
.ae-grid.two { grid-template-columns: 1fr 1fr; }
.pw-row { display: flex; gap: 8px; } .pw-row input { flex: 1; font-family: ui-monospace, Menlo, monospace; letter-spacing: .5px; }
.lf-check2 { flex-direction: row !important; align-items: center; gap: 10px !important; color: var(--ink) !important; font-weight: 600 !important; cursor: pointer; }
.lf-check2 input { width: 18px; height: 18px; accent-color: var(--blue); }
.cred { background: var(--soft); border-radius: 14px; padding: 14px 16px; white-space: pre-wrap; font-family: inherit; font-size: 14px; line-height: 1.55; margin: 8px 0 14px; }
.adm-agency { display: flex; gap: 28px; align-items: center; background: #f6f8fd; border-radius: 14px; padding: 14px 18px; margin-bottom: 16px; flex-wrap: wrap; }
.adm-agency small { display: block; color: var(--muted); font-size: 12.5px; } .adm-agency b { display: block; }
.adm-btns { margin-left: auto; display: flex; gap: 8px; flex-wrap: wrap; max-width: 100%; } .adm-agency .btn-wa { padding: 10px 16px; }
.adm-agency > div { min-width: 0; } .adm-agency small { overflow-wrap: anywhere; }
@media (max-width: 640px) {
  .adm-btns { margin-left: 0; width: 100%; } .adm-btns > * { flex: 1 1 auto; justify-content: center; text-align: center; min-width: 0; }
  .adm-agency .btn-wa { white-space: normal; }
}
.bc-actions .btn-primary, .dlg-title .btn-primary { gap: 6px; text-decoration: none; padding: 10px 14px; font-size: 14px; } .dlg-title .btn-primary { margin-left: auto; }
.adm-edit { border: 1.5px solid #cfdaf8; background: #fbfcff; border-radius: 16px; padding: 4px 18px 16px; margin-bottom: 22px; }
.adm-edit h4 { margin: 14px 0 12px; font-size: 16px; }

/* Detalle de reserva */
.bd h4 { margin: 20px 0 8px; font-size: 15px; }
.bd-hotel { display: flex; gap: 16px; align-items: center; }
.bd-hotel img { width: 130px; height: 90px; object-fit: cover; border-radius: 12px; }
.bd-hotel h3 { margin: 2px 0 4px; font-size: 20px; font-weight: 800; } .bd-hotel .addr { font-size: 13.5px; }
.bd .stars { color: #f5a623; letter-spacing: 2px; }
.bd-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-top: 16px; }
.bd-grid > div { background: var(--soft); border-radius: 12px; padding: 10px 12px; } .bd-grid small { display: block; color: var(--muted); font-size: 12.5px; } .bd-grid b { font-size: 14px; display: block; }
.bd-pax { display: flex; gap: 24px; flex-wrap: wrap; } .bd-pax small { color: var(--muted); font-weight: 600; }
.bd-pax ul { margin: 4px 0 0; padding-left: 18px; line-height: 1.8; } .bd-pax li span { color: var(--muted); font-size: 13px; margin-left: 4px; }
.bd-two { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; } .bd-two p { margin: 0 0 6px; line-height: 1.5; font-size: 14.5px; }
.bd-total { font-size: 22px; }
.bd-note { margin-top: 16px; background: #fff8e8; border-radius: 12px; padding: 10px 14px; font-size: 14px; color: #6b4a00; }
.bd-hist { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.bd-hist li { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; font-size: 13.5px; } .bd-hist li > span:first-child { color: var(--muted); min-width: 150px; } .bd-hist em { color: #4a557d; font-style: normal; }

/* Confirmación de solicitud */
.done-page { max-width: 680px; margin: 30px auto; text-align: center; background: #fff; border: 1.5px solid var(--line); border-radius: 24px; padding: 40px 36px; }
.done-page h1 { margin: 12px 0 8px; font-size: 32px; font-weight: 800; }
.done-page p { color: #3a4570; line-height: 1.6; }
.done-card { display: flex; gap: 14px; align-items: center; text-align: left; background: var(--soft); border-radius: 16px; padding: 12px; margin: 20px 0; }
.done-card img { width: 110px; height: 76px; object-fit: cover; border-radius: 10px; } .done-card b { display: block; } .done-card small { display: block; color: var(--muted); } .done-card strong { display: block; font-size: 20px; margin-top: 4px; }
.done-page .dlg-actions a { text-decoration: none; }

@media (max-width: 1000px) {
  .bcard { grid-template-columns: 1fr; } .bc-img { min-height: 150px; } .bc-side { border-left: 0; border-top: 1px solid var(--line); align-items: flex-start; text-align: left; } .bc-actions { justify-content: flex-start; }
  .atable { border: 0; background: none; display: flex; flex-direction: column; gap: 10px; } .ah { display: none; }
  .ar, .atable.ag .ar { grid-template-columns: 1fr 1fr; border: 1.5px solid var(--line); border-radius: 14px; }
  .bd-grid { grid-template-columns: 1fr 1fr; } .bd-two, .ae-grid, .ae-grid.two { grid-template-columns: 1fr; }
  .pg-head { flex-direction: column; align-items: flex-start; }
}

/* =================== TRASLADOS =================== */
.trp { padding-top: 4px; }
.tr-hero { position: relative; height: 170px; border-radius: 24px; overflow: hidden; display: flex; align-items: center; padding: 0 44px; color: #fff; background: linear-gradient(100deg, #0b1636 0%, #1d3473 100%); box-shadow: var(--shadow); }
.tr-hero::before { content: ""; position: absolute; top: 0; right: 0; bottom: 0; width: 64%; background: url("/img/tr-hero.jpg") right center / cover no-repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.55) 18%, #000 38%); mask-image: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.55) 18%, #000 38%); }
.tr-hero-txt { position: relative; z-index: 1; }
.tr-hero h1 { margin: 0; font-size: 36px; font-weight: 800; letter-spacing: -0.8px; }
.tr-hero p { margin: 6px 0 0; font-size: 18px; opacity: .92; }
.tr-dests { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin: 14px 0 20px; }
.tr-dest { border: 2px solid transparent; background: #fff; border-radius: 16px; padding: 6px 6px 10px; cursor: pointer; text-align: left; box-shadow: 0 4px 14px rgba(14,26,68,.07); transition: .15s; font: inherit; color: var(--ink); }
.tr-dest:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(14,26,68,.12); }
.tr-dest.on { border-color: var(--blue); background: #fff8f3; }
.tr-dest img { width: 100%; height: 90px; object-fit: cover; border-radius: 11px; display: block; }
.tr-dest span { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 16px; padding: 10px 6px 0; }
.tr-dest svg { width: 20px; height: 20px; color: var(--blue); }
.tr-main { display: grid; grid-template-columns: 1fr 390px; gap: 20px; align-items: start; }
.tr-card { background: #fff; border: 1.5px solid var(--line); border-radius: 22px; padding: 26px 30px 28px; box-shadow: 0 6px 22px rgba(14,26,68,.05); min-height: 420px; }
.tr-head { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.tr-head h2 { margin: 0; font-size: 30px; font-weight: 800; letter-spacing: -0.6px; }
.tr-steps { display: flex; align-items: center; gap: 10px; color: var(--muted); font-size: 14.5px; }
.tr-steps i { width: 36px; height: 1.5px; background: #d5dbea; }
.trs { display: inline-flex; align-items: center; gap: 8px; }
.trs b { width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid #d5dbea; background: #f3f6fc; display: inline-flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; color: var(--muted); }
.trs.on { color: var(--blue); font-weight: 600; } .trs.on b { background: var(--blue); border-color: var(--blue); color: #fff; }
.trs.ok b { background: #e3f7ea; border-color: #bfe8cd; color: #137a3e; }
.tr-back { display: inline-flex; align-items: center; gap: 6px; border: 0; background: none; color: var(--blue); font-weight: 600; cursor: pointer; padding: 0; margin: -6px 0 14px; }
.tr-back svg { width: 18px; height: 18px; }
.tr-row { display: grid; gap: 14px 22px; margin-bottom: 16px; }
.tr-row.two { grid-template-columns: 1fr 1fr; } .tr-row.three { grid-template-columns: repeat(3, 1fr); }
.tf { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.tf > span { font-size: 14px; color: #3a4570; font-weight: 500; }
.tin { display: flex; align-items: center; gap: 12px; height: 48px; border: 1.5px solid var(--line); border-radius: 12px; padding: 0 14px; background: #fff; transition: border-color .15s; }
.tin:focus-within { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(239,130,57,.08); }
.tin.invalid { border-color: #e5484d; background: #fff7f7; }
.tin > svg { width: 21px; height: 21px; color: var(--blue); flex: 0 0 auto; }
.tin input, .tin select { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; font-size: 15.5px; color: var(--ink); font-weight: 500; font-family: inherit; height: 100%; }
.tin select { cursor: pointer; } .tin select:disabled { color: var(--ink); opacity: 1; cursor: default; }
.tin input::placeholder { color: #9aa4c4; font-weight: 400; }
.tin input[type="date"], .tin input[type="time"] { cursor: pointer; }
.seg2 { display: grid; grid-template-columns: 1fr 1fr; border: 1.5px solid var(--line); border-radius: 12px; overflow: hidden; align-self: end; height: 48px; }
.seg2 button { border: 0; background: #fff; display: inline-flex; align-items: center; justify-content: center; gap: 10px; font-weight: 500; font-size: 15px; cursor: pointer; color: var(--ink); }
.seg2 button + button { border-left: 1.5px solid var(--line); }
.seg2 button.on { background: #eef3ff; color: var(--blue); font-weight: 700; box-shadow: inset 0 0 0 1.5px var(--blue); border-radius: 11px; }
.seg2 svg { width: 21px; height: 21px; }
.seg2.sm { height: 48px; }
.tf .seg2 { align-self: stretch; }
.tr-sub { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--blue); font-size: 14px; margin: 4px 0 10px; text-transform: uppercase; letter-spacing: .5px; }
.tr-sub svg { width: 18px; height: 18px; }
.tr-hint { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13.5px; margin: -6px 0 16px; } .tr-hint svg { width: 16px; height: 16px; }
.tr-count { display: flex; align-items: center; gap: 10px; height: 48px; border: 1.5px solid var(--line); border-radius: 12px; padding: 0 12px; }
.tr-count > svg { width: 21px; height: 21px; color: var(--blue); margin-right: auto; }
.tr-count button { width: 32px; height: 32px; border-radius: 50%; border: 0; background: #eef2fb; color: var(--ink); font-size: 18px; cursor: pointer; line-height: 0; }
.tr-count button:hover:not(:disabled) { background: var(--blue); color: #fff; } .tr-count button:disabled { opacity: .35; cursor: default; }
.tr-count b { min-width: 26px; text-align: center; font-size: 16px; }
.tr-ages { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin: -4px 0 16px; color: var(--muted); font-size: 13.5px; }
.tr-ages select { border: 1.5px solid var(--line); border-radius: 10px; padding: 7px 10px; background: #fff; font-weight: 600; }
.tr-notes { background: #f3f6fc; border-radius: 12px; }
.tr-notes > button { width: 100%; display: flex; align-items: center; gap: 12px; border: 0; background: none; padding: 14px 18px; font: inherit; font-weight: 500; cursor: pointer; color: var(--ink); text-align: left; }
.tr-notes > button svg { width: 21px; height: 21px; color: var(--blue); } .tr-notes > button span { flex: 1; } .tr-notes > button b { font-size: 22px; color: var(--blue); font-weight: 400; line-height: 0; }
.tr-notes textarea { width: calc(100% - 36px); margin: 0 18px 16px; border: 1.5px solid var(--line); border-radius: 10px; padding: 10px 12px; font: inherit; font-size: 15px; resize: vertical; outline: 0; }
.tr-notes textarea:focus { border-color: var(--blue); }
.tr-lead { color: var(--muted); margin: -4px 0 16px; }
.tr-pax { display: flex; flex-direction: column; gap: 12px; }
.tp { display: grid; grid-template-columns: 130px 1fr 1fr; gap: 12px; align-items: end; padding-bottom: 12px; border-bottom: 1px dashed var(--line); }
.tp:has(.age) { grid-template-columns: 130px 1fr 1fr 150px; }
.tp-l { font-weight: 700; padding-bottom: 14px; }
.tr-review { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.rv-block { background: #f7f9fe; border-radius: 16px; padding: 16px 18px; }
.rv-block h4 { margin: 0 0 10px; font-size: 13px; text-transform: uppercase; letter-spacing: 1px; color: var(--blue); }
.rv-block dl { display: grid; grid-template-columns: auto 1fr; gap: 6px 14px; margin: 0 0 10px; font-size: 14px; }
.rv-block dt { color: var(--muted); } .rv-block dd { margin: 0; font-weight: 600; }
.rv-block ol { margin: 0 0 10px; padding-left: 20px; line-height: 1.8; font-size: 14.5px; } .rv-block ol span { color: var(--muted); font-size: 13px; }
.tr-card .accept { margin-top: 18px; }
.tr-card .notice { margin-top: 16px; }
.tr-done { text-align: center; padding: 30px 10px; } .tr-done h2 { font-size: 26px; margin: 12px 0 8px; } .tr-done p { color: #3a4570; line-height: 1.6; }
.tr-done .dlg-actions a { text-decoration: none; }
.tr-side { position: sticky; top: 16px; background: #fff8f3; border: 1.5px solid #e1e8f8; border-radius: 22px; padding: 22px 22px 18px; }
.tr-side h3 { margin: 0 0 14px; font-size: 26px; font-weight: 800; letter-spacing: -0.5px; }
.ts-img img { width: 100%; height: 86px; object-fit: cover; border-radius: 12px; display: block; }
.ts-dest { font-weight: 800; font-size: 18px; margin: 10px 4px 12px; }
.ts-route { display: flex; align-items: center; gap: 10px; padding: 0 4px 14px; border-bottom: 1px solid #dfe6f6; }
.ts-route i { flex: 1; height: 0; border-top: 2px dotted var(--blue); position: relative; }
.ts-route i::before, .ts-route i::after { content: ""; position: absolute; top: -4px; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); }
.ts-route i::before { left: 0; } .ts-route i::after { right: 0; }
.rt-pt { display: flex; align-items: center; gap: 8px; font-size: 13px; color: #3a4570; line-height: 1.25; max-width: 44%; }
.rt-pt svg { width: 26px; height: 26px; color: var(--blue); flex: 0 0 auto; }
.rt-pt span { overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.ts-rows { list-style: none; margin: 4px 0 14px; padding: 0; }
.ts-rows li { display: grid; grid-template-columns: 26px 1fr auto; align-items: center; gap: 10px; padding: 9px 4px; border-bottom: 1px solid #e3e9f7; font-size: 14.5px; }
.ts-rows svg { width: 20px; height: 20px; color: var(--blue); } .ts-rows span { color: #4a557d; } .ts-rows b { font-weight: 600; text-align: right; }
.ts-info { display: flex; gap: 12px; background: #fff4ec; border-radius: 14px; padding: 14px 16px; }
.ts-info svg { width: 24px; height: 24px; color: var(--blue); flex: 0 0 auto; } .ts-info b { font-size: 15px; } .ts-info p { margin: 4px 0 0; font-size: 13.5px; color: #3a4570; line-height: 1.45; }
.ts-go { width: 100%; height: 52px; margin-top: 14px; font-size: 17px; border-radius: 12px; gap: 10px; }
.ts-go svg { width: 20px; height: 20px; }
.ts-foot { text-align: center; color: var(--muted); font-size: 12.5px; margin: 10px 0 0; }
@media (max-width: 1150px) { .tr-main { grid-template-columns: 1fr; } .tr-side { position: static; } .tr-dests { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px) {
  .tr-hero { height: 150px; padding: 0 22px; } .tr-hero::before { width: 100%; opacity: .45; } .tr-hero h1 { font-size: 24px; } .tr-hero p { font-size: 14px; }
  .tr-dests { grid-template-columns: repeat(2, 1fr); } .tr-row.two, .tr-row.three, .tr-review { grid-template-columns: 1fr; }
  .tp, .tp:has(.age) { grid-template-columns: 1fr 1fr; } .tp-l { grid-column: 1 / -1; padding: 0; } .tr-card { padding: 20px 16px; } .tr-head h2 { font-size: 24px; }
}

/* Traslados en listados */
.ttag { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 700; color: #4a557d; background: #f1f3f9; border-radius: 999px; padding: 3px 9px; }
.ttag svg { width: 14px; height: 14px; } .ttag.tr { color: #0b6b7a; background: #e2f6f8; }
.ar small .ttag { padding: 1px 7px; font-size: 11px; vertical-align: 1px; }
.bc-price.quote { font-size: 20px; color: #a35b00; letter-spacing: 0; } .quote-t { color: #a35b00; }
.seg-ty { display: inline-flex; background: var(--soft); border-radius: 14px; padding: 4px; height: 48px; }
.seg-ty button { border: 0; background: transparent; padding: 0 14px; border-radius: 10px; font-weight: 600; color: var(--muted); cursor: pointer; }
.seg-ty button b { font-size: 12px; margin-left: 4px; opacity: .7; }
.seg-ty button.on { background: #fff; color: var(--ink); box-shadow: 0 2px 8px rgba(14,26,68,.1); }
.pg-acts { display: flex; gap: 10px; } .pg-acts .btn-ghost svg { width: 18px; height: 18px; } .pg-acts a { text-decoration: none; }
.bd .stars.tr { color: #0b6b7a; letter-spacing: 0; font-weight: 700; display: flex; align-items: center; gap: 6px; } .bd .stars.tr svg { width: 18px; height: 18px; }

/* =================== ACTIVIDADES =================== */
.ac-hero::before { background-image: url("/img/act/hero.jpg"); width: 58%; }
.ac-hero h1 { font-size: 38px; }
.ac-manage { position: absolute; z-index: 2; right: 18px; top: 16px; display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.92); color: var(--ink); border-radius: 999px; padding: 8px 14px; font-weight: 700; font-size: 14px; text-decoration: none; box-shadow: 0 4px 14px rgba(0,0,0,.15); }
.ac-manage svg { width: 16px; height: 16px; }
.ac-search { display: flex; align-items: center; gap: 16px; background: #fff; border-radius: 18px; padding: 14px 18px; box-shadow: 0 6px 22px rgba(14,26,68,.07); border: 1px solid var(--line); margin-bottom: 30px; }
.acs-sep { width: 1px; align-self: stretch; background: var(--line); }
.acs-q { flex: 1.5; display: flex; align-items: center; gap: 14px; height: 52px; border: 1.5px solid var(--line); border-radius: 12px; padding: 0 16px; cursor: text; }
.acs-q:focus-within { border-color: var(--blue); }
.acs-q svg { width: 24px; height: 24px; color: var(--ink); flex: 0 0 auto; }
.acs-q input { flex: 1; border: 0; outline: 0; font: inherit; font-size: 16.5px; color: var(--ink); min-width: 0; }
.acs-q input::placeholder { color: #8a93b4; }
.acs-f { position: relative; flex: 1; display: flex; align-items: center; gap: 14px; height: 52px; border: 1.5px solid var(--line); border-radius: 12px; padding: 0 16px; cursor: pointer; }
.acs-f:hover, .acs-f:focus-within { border-color: #c5d0ec; }
.acs-f > svg:first-child { width: 24px; height: 24px; color: var(--blue); flex: 0 0 auto; }
.acs-f > svg:last-of-type { width: 20px; height: 20px; color: var(--ink); margin-left: auto; flex: 0 0 auto; }
.acs-f > span { display: flex; flex-direction: column; min-width: 0; position: relative; }
.acs-f small { font-size: 13px; color: #3a4570; }
.acs-f em { font-style: normal; font-size: 16px; color: var(--ink); white-space: nowrap; } .acs-f em.ph { color: #8a93b4; }
.acs-f input[type="date"] { position: absolute; inset: 0; opacity: 0; width: 100%; pointer-events: none; }
.acs-go { height: 52px; padding: 0 26px; font-size: 18px; border-radius: 12px; display: inline-flex; align-items: center; gap: 12px; white-space: nowrap; }
.acs-go svg { width: 22px; height: 22px; }
.ac-pop { position: absolute; top: calc(100% + 8px); left: 0; z-index: 30; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 18px 40px rgba(14,26,68,.18); padding: 16px; min-width: 300px; cursor: default; }
.ac-pop.right { left: auto; right: 0; min-width: 220px; padding: 8px; }
.ac-pop.right button { display: block; width: 100%; text-align: left; border: 0; background: none; padding: 10px 12px; border-radius: 10px; font: inherit; font-size: 14.5px; color: var(--ink); cursor: pointer; }
.ac-pop.right button:hover { background: var(--soft); } .ac-pop.right button.on { color: var(--blue); font-weight: 700; }
.pp-row { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 8px 0; }
.pp-row b { display: block; font-size: 15px; } .pp-row small { color: var(--muted); font-size: 13px; }
.pp-ctl { display: flex; align-items: center; gap: 12px; }
.pp-ctl button { width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; font-size: 18px; cursor: pointer; color: var(--ink); line-height: 0; }
.pp-ctl button:hover:not(:disabled) { border-color: var(--blue); color: var(--blue); } .pp-ctl button:disabled { opacity: .35; cursor: default; }
.pp-ctl b { min-width: 22px; text-align: center; }
.pp-ages { display: flex; flex-wrap: wrap; gap: 8px; margin: 4px 0 8px; }
.pp-ages select { border: 1.5px solid var(--line); border-radius: 10px; padding: 7px 8px; font: inherit; font-size: 14px; }
.pp-ok { width: 100%; margin-top: 8px; }
.acp .tr-dests { margin-bottom: 30px; }
.ac-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 16px; }
.ac-head h2 { margin: 0; font-size: 34px; font-weight: 800; letter-spacing: -0.8px; }
.ac-head p { margin: 2px 0 0; color: var(--muted); font-size: 17px; }
.ac-tools { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.ac-chips { display: flex; gap: 10px; flex-wrap: wrap; }
.ac-chips button { border: 0; background: var(--soft); color: #3a4570; border-radius: 999px; padding: 9px 20px; font: inherit; font-size: 14px; cursor: pointer; transition: .15s; }
.ac-chips button:hover:not(:disabled) { background: #dfe6f8; } .ac-chips button.on { background: var(--blue); color: #fff; font-weight: 600; }
.ac-chips button:disabled { opacity: .45; cursor: default; }
.ac-sort { position: relative; }
.ac-sort > button { border: 0; background: none; font: inherit; font-size: 14px; color: #3a4570; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; }
.ac-sort > button b { font-weight: 500; color: var(--ink); } .ac-sort > button svg { width: 16px; height: 16px; }
.ac-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ac-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; box-shadow: 0 6px 20px rgba(14,26,68,.06); display: flex; flex-direction: column; transition: .18s; padding: 6px 6px 0; }
.ac-card:hover { box-shadow: 0 14px 32px rgba(14,26,68,.12); transform: translateY(-2px); }
.acc-img { position: relative; height: 170px; border-radius: 15px; overflow: hidden; background: linear-gradient(135deg, #e6e9f2, #f2f4f9); }
.acc-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.acc-cat { position: absolute; left: 12px; top: 12px; background: rgba(255,255,255,.95); color: #24346e; font-size: 13px; padding: 5px 14px; border-radius: 999px; box-shadow: 0 2px 8px rgba(0,0,0,.08); }
.acc-fav { position: absolute; right: 12px; top: 10px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: #fff; display: grid; place-items: center; cursor: pointer; box-shadow: 0 2px 8px rgba(0,0,0,.12); transition: transform .15s; }
.acc-fav:hover { transform: scale(1.08); }
.acc-fav svg { width: 20px; height: 20px; fill: none; stroke: var(--blue); stroke-width: 2; }
.acc-fav.on svg { fill: #e5484d; stroke: #e5484d; }
.acc-body { padding: 16px 14px 16px; display: flex; flex-direction: column; flex: 1; }
.acc-body h3 { margin: 0 0 10px; font-size: 23px; font-weight: 800; letter-spacing: -0.4px; }
.acc-meta { display: flex; justify-content: space-between; gap: 12px; color: #3a4570; font-size: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.acc-meta span { display: inline-flex; align-items: center; gap: 8px; }
.acc-meta svg { width: 20px; height: 20px; color: var(--blue); flex: 0 0 auto; }
.acc-meta.big { justify-content: flex-start; gap: 22px; flex-wrap: wrap; border: 0; padding-bottom: 6px; font-size: 15px; }
.acc-inc { display: flex; align-items: center; gap: 12px; color: #3a4570; font-size: 14px; padding: 12px 0 16px; }
.acc-inc svg { width: 20px; height: 20px; color: var(--blue); flex: 0 0 auto; }
.acc-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: auto; }
.acc-btns button { height: 44px; border-radius: 10px; font-size: 14.5px; display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 0 10px; white-space: nowrap; }
.acc-btns .btn-primary { font-weight: 700; } .acc-btns svg { width: 18px; height: 18px; }
@media (max-width: 520px) { .acc-btns { grid-template-columns: 1fr; gap: 8px; } }
.btn-soft { border: 0; background: #f3f5fa; color: var(--ink); font: inherit; cursor: pointer; transition: background .15s; }
.btn-soft:hover { background: #e8ebf3; }
.ac-empty { grid-column: 1 / -1; text-align: center; background: #fff; border: 1.5px dashed #cfd7ec; border-radius: 20px; padding: 40px 20px; }
.ac-empty > svg { width: 34px; height: 34px; color: var(--blue); } .ac-empty b { display: block; font-size: 19px; margin: 8px 0 4px; } .ac-empty p { color: var(--muted); margin: 0 0 16px; }
.ac-empty .btn-primary { display: inline-flex; align-items: center; gap: 8px; } .ac-empty .btn-primary svg { width: 18px; height: 18px; }
.ac-group { display: flex; align-items: center; gap: 22px; background: #fff3ea; border-radius: 16px; padding: 16px 24px; margin: 20px 0 10px; }
.acg-i svg { width: 38px; height: 38px; color: var(--blue); display: block; }
.ac-group > div { flex: 1; } .ac-group b { font-size: 16.5px; } .ac-group p { margin: 3px 0 0; color: #3a4570; font-size: 14.5px; }
.ac-group .link-btn { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 15px; }
.ac-group .link-btn svg { width: 20px; height: 20px; }
/* diálogos */
.modal-card.ac-modal { width: min(760px, 94vw); }
.ac-dlg h2 { margin: 14px 0 8px; font-size: 28px; letter-spacing: -0.5px; }
.acd-img { position: relative; height: 240px; border-radius: 18px; overflow: hidden; background: linear-gradient(135deg, #e6e9f2, #f2f4f9); }
.acd-img img { width: 100%; height: 100%; object-fit: cover; }
.acd-desc { color: #3a4570; line-height: 1.6; font-size: 15.5px; }
.acd-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 6px 0 16px; }
.acd-grid h4 { margin: 0 0 8px; } .acd-grid p { margin: 0 0 12px; color: #3a4570; }
.acd-inc { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.acd-inc li { display: flex; align-items: center; gap: 8px; } .acd-inc svg { width: 18px; height: 18px; color: #137a3e; }
.ac-dlg .ts-info { margin: 6px 0 4px; }
.acr-top { display: flex; gap: 16px; align-items: center; margin-bottom: 20px; }
.acr-top img { width: 130px; height: 86px; object-fit: cover; border-radius: 14px; flex: 0 0 auto; }
.acr-top small { color: var(--blue); font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .5px; }
.acr-top h2 { margin: 2px 0 4px; font-size: 24px; }
.acr-top p { margin: 0; display: flex; align-items: center; gap: 6px; color: #3a4570; font-size: 14.5px; }
.acr-top p svg { width: 17px; height: 17px; color: var(--blue); }
.acr .tf.full { margin-bottom: 16px; }
.acr textarea { border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; font: inherit; font-size: 15px; resize: vertical; }
.acr textarea:focus { outline: 0; border-color: var(--blue); }
.acr-h { margin: 6px 0 10px; font-size: 16px; } .acr-h small { color: var(--muted); font-weight: 400; font-size: 13px; margin-left: 6px; }
.acr-pax .tp { display: grid; grid-template-columns: 110px 1fr 1fr auto; gap: 10px; align-items: center; margin-bottom: 10px; }
.acr-pax .tp-l { font-size: 14px; font-weight: 600; }
.acr-pax .tin { height: 44px; } .acr-pax .tin.age { width: 110px; }
.acr .accept { font-size: 14.5px; }
.ttag.ac { color: #8a4b00; background: #fff1dc; }
.bd .stars.ac { color: #8a4b00; }
/* administración del catálogo */
.aa-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.aa-item { display: flex; align-items: center; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 10px 14px 10px 10px; }
.aa-item.off { opacity: .6; }
.aa-img { width: 120px; height: 78px; border-radius: 12px; overflow: hidden; flex: 0 0 auto; background: var(--soft); display: grid; place-items: center; color: var(--muted); font-size: 12px; }
.aa-img img { width: 100%; height: 100%; object-fit: cover; } .aa-img span { display: flex; flex-direction: column; align-items: center; gap: 4px; } .aa-img svg { width: 22px; height: 22px; }
.aa-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.aa-body b { font-size: 16px; } .aa-body small { color: var(--muted); }
.aa-top { display: flex; gap: 8px; align-items: center; }
.aa-sample { font-size: 11.5px; background: #fff1dc; color: #8a4b00; border-radius: 999px; padding: 2px 8px; font-weight: 600; }
.aa-photo { position: relative; height: 170px; border-radius: 16px; background: var(--soft); overflow: hidden; display: grid; place-items: center; margin-bottom: 14px; border: 1.5px dashed #cfd7ec; }
.aa-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.aa-photo label { position: relative; z-index: 1; cursor: pointer; }
.modal-card.aa-modal { width: min(640px, 94vw); }
.aa-modal textarea { border: 1.5px solid var(--line); border-radius: 10px; padding: 10px 12px; font: inherit; resize: vertical; }
.aa-del { margin-right: auto; }
@media (max-width: 1150px) { .ac-grid { grid-template-columns: repeat(2, 1fr); } .ac-search { flex-wrap: wrap; } .acs-q { flex: 1 1 100%; } .acs-sep { display: none; } }
@media (max-width: 760px) {
  .ac-grid, .aa-grid, .acd-grid { grid-template-columns: 1fr; }
  .acs-f, .acs-go { flex: 1 1 100%; justify-content: center; }
  .ac-hero h1 { font-size: 26px; } .ac-group { flex-wrap: wrap; }
  .acr-pax .tp { grid-template-columns: 1fr 1fr; } .acr-pax .tp-l { grid-column: 1 / -1; }
}
.acr-pax .tp { padding-bottom: 0; border: 0; } .acr-pax .tp:has(.age) { grid-template-columns: 110px 1fr 1fr 110px; } .acr-pax .tp-l { padding: 0; }
@media (max-width: 760px) { .acr-pax .tp, .acr-pax .tp:has(.age) { grid-template-columns: 1fr 1fr; } }
.acr .tin input, .acr .tin select { border: 0; padding: 0; border-radius: 0; width: 100%; min-width: 0; height: 100%; }
.acr .tin input:focus, .acr .tin select:focus { border: 0; }
.acr .accept { flex-direction: row; text-align: left; justify-content: flex-start; color: var(--ink); }
.acr .accept input { flex: 0 0 auto; padding: 0; }
.acr .tf > span { font-size: 14px; color: #3a4570; font-weight: 500; }

/* =================== MÓVIL: menú y desbordes =================== */
@media (max-width: 900px) {
  .topbar { flex-wrap: wrap; row-gap: 10px; }
  .topbar .nav { display: flex; order: 3; width: 100%; gap: 22px; overflow-x: auto; scrollbar-width: none; padding: 2px 2px 4px; border-top: 1px solid var(--line); padding-top: 10px; }
  .topbar .nav::-webkit-scrollbar { display: none; }
  .topbar .nav a { white-space: nowrap; flex: 0 0 auto; font-size: 15px; }
  .topbar-right { gap: 12px; }
  .avatar span { right: -14px; }
  .user-box { margin-right: 12px; }
}
@media (max-width: 760px) {
  .tr-steps { gap: 6px; font-size: 13px; } .tr-steps i { width: 12px; }
  .trs:not(.on) > span:last-child, .trs:not(.on) > :not(b) { display: none; }
  .pg-acts { flex-wrap: wrap; width: 100%; } .pg-acts > * { flex: 1 1 auto; justify-content: center; }
  .seg-ty { max-width: 100%; overflow-x: auto; scrollbar-width: none; height: auto; min-height: 48px; }
  .seg-ty button { white-space: nowrap; padding: 6px 10px; }
  .seg-ty button b { display: inline; }
  .pg-tools .search-in { flex: 1 1 100%; }
}
@media (max-width: 900px) {
  .topbar .brand { order: 1; font-size: 25px; }
  .topbar .topbar-right { order: 2; margin-left: auto; }
  .topbar .nav { gap: 16px; } .topbar .nav a { font-size: 14.5px; }
}
@media (max-width: 420px) { .topbar-right .btn-outline, .topbar-right a[href*="wa.me"] { padding: 6px 12px; font-size: 14px; } }

/* Aviso de proceso de confirmación (solicitud de hotel) */
.bk-process { display: flex; gap: 16px; align-items: flex-start; background: linear-gradient(135deg, #fff6e5 0%, #ffefd2 100%); border: 2px solid #f5b544; border-radius: 18px; padding: 18px 20px; margin: 4px 0 18px; box-shadow: 0 8px 22px rgba(245,165,40,.18); }
.bkp-ic { flex: 0 0 auto; width: 46px; height: 46px; border-radius: 50%; background: #f59e0b; display: grid; place-items: center; box-shadow: 0 0 0 6px rgba(245,158,11,.18); animation: bkpPulse 2.2s ease-in-out infinite; }
.bkp-ic svg { width: 26px; height: 26px; fill: none; stroke: #fff; stroke-width: 2.2; stroke-linecap: round; }
.bk-process b { display: block; font-size: 17.5px; color: #6b3a00; margin-bottom: 4px; }
.bk-process p { margin: 0; color: #5b4120; font-size: 15px; line-height: 1.55; }
.bk-process strong { color: #8a4b00; }
@keyframes bkpPulse { 0%, 100% { box-shadow: 0 0 0 6px rgba(245,158,11,.18); } 50% { box-shadow: 0 0 0 11px rgba(245,158,11,.06); } }
@media (prefers-reduced-motion: reduce) { .bkp-ic { animation: none; } }
@media (max-width: 760px) { .bk-process { padding: 14px; gap: 12px; } .bkp-ic { width: 38px; height: 38px; } .bk-process b { font-size: 16px; } }
.bk > *, .hp > * { min-width: 0; }
@media (max-width: 760px) { .bk-card { padding-left: 16px; padding-right: 16px; } .bk-card input, .bk-card select, .bk-card textarea { min-width: 0; max-width: 100%; } }
@media (max-width: 900px) {
  .hp-search { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .hp-search > *, .hp-search .box > * { min-width: 0; }
  .pax, .pax.child { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .pax > *, .pax input, .pax select { min-width: 0; width: 100%; }
}

/* Precios de actividades */
.acc-price { display: flex; align-items: baseline; gap: 6px; margin: -4px 0 14px; flex-wrap: wrap; }
.acc-price span { color: var(--muted); font-size: 13.5px; } .acc-price b { font-size: 22px; font-weight: 800; color: var(--ink); letter-spacing: -0.3px; }
.acc-price small { color: var(--muted); font-size: 13px; } .acc-price .q { color: #a35b00; font-weight: 600; font-size: 14px; }
.acd-price { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; background: #fff8f3; border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px; margin: 0 0 12px; }
.acd-price small { display: block; color: var(--muted); font-size: 13px; } .acd-price b { font-size: 24px; font-weight: 800; }
.acd-price p { margin: 0; color: #3a4570; font-size: 14px; }
.acr-total { display: flex; justify-content: space-between; align-items: center; gap: 16px; background: #fff8f3; border: 1.5px solid #f6c9a8; border-radius: 14px; padding: 14px 18px; margin: 4px 0 12px; }
.acrt-l { display: flex; flex-direction: column; gap: 3px; color: #3a4570; font-size: 14.5px; }
.acrt-r { text-align: right; } .acrt-r small { display: block; color: var(--muted); font-size: 13px; } .acrt-r b { font-size: 28px; font-weight: 800; color: var(--blue); letter-spacing: -0.5px; }
.aa-price { font-size: 13.5px; font-weight: 700; color: #137a3e; } .aa-price.none { color: #a35b00; font-weight: 600; }
.aa-prices { background: #f7f9ff; border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; margin-bottom: 14px; }
.aa-prices > b { color: var(--ink); font-size: 14.5px; } .aa-prices > small { color: var(--muted); }
.aap-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 10px; }
.aap-grid label { margin-bottom: 0 !important; display: flex; flex-direction: column; gap: 6px; font-size: 13px; color: var(--muted); }
.aap-grid input { min-width: 0; width: 100%; }
@media (max-width: 640px) { .aap-grid { grid-template-columns: 1fr 1fr; } }
.aap-grid { align-items: end; } .aap-grid label { justify-content: flex-end; } .aap-grid label small { display: inline; font-size: 11.5px; }
.aap-grid label { white-space: nowrap; } .aap-grid label input { white-space: normal; }

.acc-more { font-style: normal; color: var(--blue); font-weight: 600; white-space: nowrap; }
.acd-desc { white-space: pre-line; }
.acd-incwide { grid-column: 1 / -1; }
.acd-inc.two { grid-template-columns: 1fr 1fr; column-gap: 20px; }
.acd-noh { margin-top: 16px !important; }
.acd-inc.no li span { width: 18px; text-align: center; color: #c4282e; font-weight: 700; }
.aa-sup { color: #6b3a00 !important; }
@media (max-width: 760px) { .acd-inc.two { grid-template-columns: 1fr; } }

/* Logotipo TravyEC: "travy" azul marino + "ec" naranja, con "PORTAL DE AGENCIAS" debajo */
.wm { display: inline-flex !important; flex-direction: column; align-items: flex-start; text-decoration: none; line-height: 1; }
.wm-name { font-family: Figtree, "Plus Jakarta Sans", sans-serif; font-weight: 900; color: #101f48; letter-spacing: -0.018em; line-height: .9; }
.wm-ec { color: #ef8239; }
.wm-tag { font-family: Figtree, "Plus Jakarta Sans", sans-serif; font-weight: 800; color: #ef8239; text-transform: uppercase; letter-spacing: .26em; line-height: 1; white-space: nowrap; }
.brand.wm .wm-name { font-size: 34px; }
.brand.wm .wm-tag { font-size: 7.9px; margin-top: 5px; padding-left: 2px; }
.login-brand.wm { margin-bottom: 26px; }
.login-brand.wm .wm-name { font-size: 50px; }
.login-brand.wm .wm-tag { font-size: 11.4px; margin-top: 9px; padding-left: 3px; }
@media (max-width: 900px) { .topbar .brand.wm .wm-name { font-size: 28px; } .topbar .brand.wm .wm-tag { font-size: 6.5px; } }

/* ===== Paleta de marca travyec: azul marino + naranja ===== */
.nav a.active { border-color: var(--accent) !important; }
.nav a:hover { color: var(--ink); }
.tin > svg, .acc-meta svg, .acc-inc svg, .acr-top p svg, .tr-dest span svg, .acs-f > svg:first-child, .acg-i svg, .ts-info > svg,
.tr-hint svg, .ts-rows svg, .acd-inc svg, .bc-meta svg, .lf-input svg, .addr svg, .hp-search .box svg { color: var(--accent) !important; }
.tr-dest.on { border-color: var(--accent) !important; background: var(--accent-soft) !important; }
.ac-chips button.on, .seg-ty button.on b, .trs.on b { background: var(--ink); }
.trs.on { color: var(--ink); }
.accept input, .lf-check input, input[type="checkbox"] { accent-color: var(--accent); }
.tin:focus-within, .lf-input:focus-within, .acs-q:focus-within { border-color: var(--accent) !important; }
.link-btn, .lf-link, a.link-btn { color: var(--ink); }
.acc-more, .ac-group .link-btn { color: var(--accent-dark) !important; }
.tit { background: var(--accent-soft) !important; color: var(--accent-dark) !important; }
.acc-fav svg { stroke: var(--ink); }
.ts-info { background: var(--accent-soft) !important; }
.acrt-r b { color: var(--accent-dark) !important; }
.acr-total { border-color: #f6c9a8 !important; }
.nav-badge { background: var(--accent) !important; }
.btn-primary:hover { background: var(--blue-dark); }
.btn-outline { border-color: var(--ink) !important; color: var(--ink) !important; }
.avatar { color: var(--ink) !important; background: var(--accent-soft) !important; }
.tr-hero, .ac-hero { background: linear-gradient(100deg, #0b1636 0%, #101f48 100%) !important; }

/* ===== Móvil: página fija (sin movimiento lateral) ===== */
html, body { max-width: 100%; overflow-x: hidden; }
@supports (overflow: clip) { html, body { overflow-x: clip; } }
body { overscroll-behavior-x: none; -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
img, svg, video, canvas, iframe { max-width: 100%; }
@media (max-width: 900px) {
  /* iPhone hace zoom al tocar campos con letra menor a 16px y la página queda desplazada */
  input, select, textarea { font-size: 16px !important; }
  .aa-item { flex-wrap: wrap; }
  .aa-item > .btn-ghost { width: 100%; justify-content: center; }
  .modal-card { max-width: 100vw; }
  .pg, .trp, .hp, main.page { max-width: 100vw; }
}

/* ===== Avisos: campanita y burbujas ===== */
.nt { position: relative; }
.nt-btn { position: relative; width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid var(--line); background: #fff; display: grid; place-items: center; cursor: pointer; color: var(--ink); }
.nt-btn:hover { border-color: #c9d0e1; }
.nt-btn svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.nt-btn b { position: absolute; top: -4px; right: -4px; min-width: 19px; height: 19px; padding: 0 5px; border-radius: 999px; background: var(--accent); color: #fff; font-size: 11px; font-weight: 800; display: grid; place-items: center; border: 2px solid #fff; }
.nt-pop { position: absolute; right: -6px; top: calc(100% + 10px); width: 360px; max-width: calc(100vw - 24px); background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 18px 44px rgba(16,31,72,.18); z-index: 60; overflow: hidden; }
.nt-head { display: flex; justify-content: space-between; align-items: center; padding: 14px 16px 10px; border-bottom: 1px solid var(--line); }
.nt-head b { font-size: 16px; } .nt-head button { border: 0; background: none; color: var(--accent-dark); font-weight: 700; font-size: 13px; cursor: pointer; }
.nt-list { max-height: 380px; overflow-y: auto; }
.nt-item { display: flex; gap: 12px; width: 100%; text-align: left; border: 0; border-bottom: 1px solid #f0f2f7; background: #fff; padding: 12px 16px; cursor: pointer; font: inherit; color: var(--ink); }
.nt-item:hover { background: #f8f9fc; } .nt-item.unread { background: var(--accent-soft); } .nt-item.unread:hover { background: #ffecdc; }
.nt-tx { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.nt-tx b { font-size: 14px; } .nt-tx small { color: #4a557d; font-size: 13px; line-height: 1.4; } .nt-tx em { font-style: normal; color: var(--muted); font-size: 12px; margin-top: 2px; }
.nt-ic { flex: 0 0 auto; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: #eef1f8; color: var(--ink); }
.nt-ic svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.nt-ic.k-ok, .nt-ic.k-paid { background: #e3f7ea; color: #137a3e; }
.nt-ic.k-new { background: var(--ink); color: #fff; }
.nt-ic.k-quote { background: var(--accent-soft); color: var(--accent-dark); }
.nt-ic.k-warn { background: #fff4d6; color: #9a6400; }
.nt-ic.k-cancel { background: #fde8e8; color: #c4282e; }
.nt-empty { text-align: center; color: var(--muted); font-size: 14px; padding: 28px 18px; line-height: 1.5; margin: 0; }
.nt-perm { width: 100%; border: 0; border-top: 1px solid var(--line); background: #f8f9fc; color: var(--ink); font: inherit; font-size: 13px; font-weight: 600; padding: 12px; cursor: pointer; }
.toasts { position: fixed; top: 86px; right: 20px; z-index: 200; display: flex; flex-direction: column; gap: 10px; width: 360px; max-width: calc(100vw - 24px); pointer-events: none; }
.toast { pointer-events: auto; display: flex; gap: 12px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--ink); border-radius: 14px; padding: 13px 12px 13px 14px; box-shadow: 0 16px 40px rgba(16,31,72,.2); cursor: pointer; transform: translateX(120%); opacity: 0; transition: transform .32s cubic-bezier(.2,.9,.3,1.2), opacity .25s; }
.toast.in { transform: none; opacity: 1; } .toast.out { transform: translateX(120%); opacity: 0; }
.toast.k-ok, .toast.k-paid { border-left-color: #1f9d55; } .toast.k-quote { border-left-color: var(--accent); }
.toast.k-warn { border-left-color: #e0a100; } .toast.k-cancel { border-left-color: #e5484d; } .toast.k-new { border-left-color: var(--accent); }
.toast .nt-tx { flex: 1; }
.toast-x { border: 0; background: none; color: var(--muted); font-size: 20px; line-height: 1; cursor: pointer; padding: 0 4px; }
@media (max-width: 900px) { .toasts { top: 74px; right: 12px; left: 12px; width: auto; } .nt-btn { width: 38px; height: 38px; } .nt-pop { position: fixed; left: 12px; right: 12px; top: 70px; width: auto; } }
@media (prefers-reduced-motion: reduce) { .toast { transition: none; } }

/* Fecha límite de pago en Mis reservas */
.bc-pay { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 13.5px; color: #3a4570; background: #f3f5fa; border-radius: 999px; padding: 5px 12px; }
.bc-pay b { color: var(--ink); }
.bc-pay.soon { background: var(--accent-soft); color: var(--accent-dark); } .bc-pay.soon b { color: var(--accent-dark); }
.bc-pay.late { background: #fde8e8; color: #c4282e; } .bc-pay.late b { color: #c4282e; }
.bc-pay { width: fit-content; align-self: flex-start; }
/* Pago y cancelación de traslados y actividades */
.ts-info.svc-pay { background: #eef2fb; margin: 12px 0 10px; }
.ts-info.svc-pay p b { font-size: inherit; color: var(--ink); }
/* Tarifas de traslados */
.tr-fixed { display: flex; flex-wrap: wrap; align-items: center; column-gap: 8px; min-height: 46px; padding: 0 14px; border-radius: 12px; background: #f3f5fa; font-weight: 700; font-size: 14.5px; text-transform: none; }
.tr-fixed::first-letter { text-transform: uppercase; }
.tr-fixed small { width: 100%; padding-left: 28px; margin-top: -10px; padding-bottom: 6px; font-weight: 500; color: var(--muted); font-size: 12.5px; }
.tr-fixed svg { width: 20px; height: 20px; fill: none; stroke: var(--accent); stroke-width: 1.8; flex: none; }
.tr-rules { display: grid; gap: 8px; background: #fff8f3; border: 1.5px solid #f6c9a8; border-radius: 14px; padding: 12px 14px; margin: 2px 0 16px; }
.tr-rules p { display: flex; gap: 8px; margin: 0; font-size: 13.5px; color: #3a4570; line-height: 1.4; }
.tr-rules p.warn { color: #a3470f; font-weight: 700; }
.tr-rules svg { width: 18px; height: 18px; flex: none; fill: none; stroke: var(--accent); stroke-width: 1.8; margin-top: 1px; }
.ts-price { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: #fff8f3; border: 1.5px solid #f6c9a8; border-radius: 14px; padding: 14px 16px; margin: 0 0 12px; }
.tsp-l { color: #3a4570; font-size: 13.5px; line-height: 1.5; }
.tsp-r { text-align: right; } .tsp-r small { display: block; color: var(--muted); font-size: 12.5px; } .tsp-r b { font-size: 28px; font-weight: 800; color: var(--accent-dark); letter-spacing: -0.5px; }
.ts-info.warn { background: #fff1e6; margin-bottom: 12px; } .ts-info.warn b { color: #a3470f; }
.tr-late { margin: 8px 0 0; font-size: 13px; font-weight: 700; color: #a3470f; }
/* Panel de tarifas de traslados */
.notice.ok { background: #e8f7ee; color: #146c3a; border-color: #b9e6ca; }
.tra-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 20px 22px; margin-bottom: 18px; box-shadow: var(--shadow); }
.tra-h { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.tra-h img { width: 64px; height: 64px; border-radius: 14px; object-fit: cover; flex: none; }
.tra-h h2 { margin: 0; font-size: 22px; font-weight: 800; } .tra-h span { color: var(--muted); font-size: 13.5px; }
.tra-ex { margin-left: auto; font-style: normal; font-weight: 700; font-size: 13.5px; color: var(--accent-dark); background: var(--accent-soft); padding: 6px 12px; border-radius: 999px; text-align: right; }
.tra-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 22px; }
.tra-f { margin-bottom: 14px; } .tra-f > label { display: block; font-weight: 700; font-size: 13.5px; margin-bottom: 8px; } .tra-f small { font-weight: 500; color: var(--muted); }
.tra-checks { display: flex; gap: 18px; flex-wrap: wrap; } .tra-checks label { display: inline-flex; align-items: center; gap: 8px; font-size: 14.5px; cursor: pointer; }
.tra-checks input { width: 18px; height: 18px; accent-color: var(--accent); }
.tra-table { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; margin-bottom: 16px; }
.tra-tr { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.5fr; gap: 12px; align-items: center; padding: 10px 14px; border-top: 1px solid var(--line); }
.tra-tr.th { border-top: 0; background: #f6f7fb; font-size: 12.5px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .03em; }
.tra-ap { font-size: 14px; } .tra-ap b { color: var(--accent-dark); margin-right: 4px; }
.tra-in { display: flex; align-items: center; border: 1.5px solid var(--line); border-radius: 10px; padding: 0 10px; background: #fff; }
.tra-in i { font-style: normal; color: var(--muted); font-weight: 700; font-size: 14px; }
.tra-in input { border: 0; outline: 0; width: 100%; min-width: 0; height: 40px; padding: 0 6px; font-weight: 700; font-size: 15px; background: transparent; }
.tra-in:focus-within, .tra-z > input:focus, .tra-hrs input:focus, .tra-f textarea:focus { border-color: var(--accent); outline: 0; }
.tra-hrs { display: flex; align-items: center; gap: 6px; } .tra-hrs em { font-style: normal; color: var(--muted); font-size: 13px; }
.tra-hrs input { flex: 1; min-width: 0; height: 40px; border: 1.5px solid var(--line); border-radius: 10px; padding: 0 8px; font-size: 14px; }
.tra-zones { display: grid; gap: 8px; justify-items: start; }
.tra-z { display: grid; grid-template-columns: minmax(0, 320px) 130px auto; justify-content: start; gap: 10px; align-items: center; width: 100%; }
.tra .pg-acts .btn-primary { white-space: nowrap; }
.tra-z > input { height: 40px; border: 1.5px solid var(--line); border-radius: 10px; padding: 0 12px; font-size: 14.5px; }
.tra-f textarea { width: 100%; border: 1.5px solid var(--line); border-radius: 12px; padding: 10px 12px; font: inherit; font-size: 14.5px; resize: vertical; }
.tra-foot { display: flex; justify-content: flex-end; margin: 6px 0 30px; }
@media (max-width: 760px) {
  .tra-grid { grid-template-columns: 1fr; gap: 0; }
  .tra-tr { grid-template-columns: 1fr 1fr; } .tra-tr.th { display: none; }
  .tra-ap, .tra-hrs { grid-column: 1 / -1; }
  .tra-h { flex-wrap: wrap; } .tra-ex { margin-left: 0; }
  .tra-z { grid-template-columns: 1fr 100px auto; }
  .pg-head { flex-direction: column; align-items: stretch; }
}
/* ===== Selector de fechas ===== */
.rp-native { position: absolute !important; opacity: 0 !important; pointer-events: none !important; width: 1px !important; height: 1px !important; overflow: hidden; }
.rp-disp { border: 0; background: transparent; padding: 0; font: inherit; font-weight: 600; color: var(--ink); cursor: pointer; white-space: nowrap; text-align: left; }
.dates .rp-disp { font-size: 17px; }
.hp-search .rp-disp { font-size: 16px; flex: 1; height: 100%; }
.rp { position: absolute; z-index: 1200; background: #fff; border-radius: 22px; box-shadow: 0 24px 60px -12px rgba(16,31,72,.35), 0 0 0 1px rgba(16,31,72,.06); overflow: hidden; display: flex; flex-direction: column; font-family: var(--font); color: var(--ink); animation: rpIn .16s ease-out; }
@keyframes rpIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.rp-head { display: flex; gap: 10px; padding: 14px 16px 12px; border-bottom: 1px solid var(--line); align-items: stretch; }
.rp-tab { flex: 1; text-align: left; border: 1.5px solid var(--line); background: #fff; border-radius: 14px; padding: 8px 14px; cursor: pointer; font: inherit; color: inherit; }
.rp-tab small { display: block; font-size: 12.5px; color: var(--muted); } .rp-tab b { font-size: 17px; font-weight: 700; }
.rp-tab.on { border-color: var(--accent); box-shadow: 0 0 0 3px var(--accent-soft); }
.rp-x { border: 0; background: #f3f5fa; width: 40px; border-radius: 12px; font-size: 24px; line-height: 1; cursor: pointer; color: var(--muted); flex: none; }
.rp-body { display: flex; height: 430px; min-height: 0; }
.rp-months { width: 200px; flex: none; background: #f4f5f8; overflow-y: auto; padding: 6px 0; scrollbar-width: thin; }
.rp-months button { display: flex; align-items: center; justify-content: space-between; width: 100%; border: 0; background: transparent; padding: 11px 22px; font: inherit; font-size: 16.5px; font-weight: 500; color: var(--ink); cursor: pointer; text-align: left; }
.rp-months button em { font-style: normal; font-size: 13px; color: var(--muted); }
.rp-months button:hover { background: #eceef3; }
.rp-months button.on { background: #fff; font-weight: 700; }
.rp-cal { flex: 1; display: flex; flex-direction: column; min-width: 0; padding: 0 20px; }
.rp-dow { display: grid; grid-template-columns: repeat(7, 1fr); padding: 12px 0 10px; border-bottom: 1px solid var(--line); }
.rp-dow span { text-align: center; font-size: 13px; font-weight: 600; color: var(--muted); }
.rp-scroll { flex: 1; overflow-y: auto; padding-bottom: 16px; scrollbar-width: thin; position: relative; }
.rp-month h4 { margin: 18px 0 8px; font-size: 21px; font-weight: 800; letter-spacing: -.3px; }
.rp-month h4 em { font-style: normal; font-weight: 600; color: var(--muted); font-size: 15px; }
.rp-grid { display: grid; grid-template-columns: repeat(7, 1fr); row-gap: 4px; }
.rp-d { position: relative; border: 0; background: transparent; height: 46px; padding: 0; font: inherit; font-size: 16.5px; font-weight: 500; color: var(--ink); cursor: pointer; }
.rp-d span { position: relative; z-index: 1; display: inline-grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; }
.rp-d:hover:not(:disabled) span { background: #f0f2f7; }
.rp-d:disabled { color: #b9bfcc; cursor: default; }
.rp-d.far { color: #c5cad6; }
.rp-d.in { background: var(--accent-soft); }
.rp-d.has-e { background: linear-gradient(90deg, transparent 50%, var(--accent-soft) 50%); }
.rp-d.e { background: linear-gradient(90deg, var(--accent-soft) 50%, transparent 50%); }
.rp-d.s span, .rp-d.e span, .rp-d.s:hover span, .rp-d.e:hover span { background: var(--accent); color: #fff; font-weight: 800; }
.rp-foot { display: flex; align-items: center; gap: 12px; padding: 12px 18px; border-top: 1px solid var(--line); }
.rp-sum { flex: 1; font-weight: 700; font-size: 15px; }
.rp-clear { border: 0; background: transparent; font: inherit; font-weight: 600; color: var(--muted); cursor: pointer; text-decoration: underline; }
.rp-ok { border: 0; background: var(--navy, #101f48); color: #fff; font: inherit; font-weight: 700; border-radius: 12px; padding: 11px 26px; cursor: pointer; }
.rp-ok:disabled { opacity: .4; cursor: default; }
/* Celular: hoja inferior con meses en fila */
.rp.rp-sheet { position: fixed; left: 0; right: 0; bottom: 0; top: auto; width: auto; height: 88vh; height: 88dvh; border-radius: 22px 22px 0 0; animation: rpUp .2s ease-out; }
@keyframes rpUp { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.rp-sheet .rp-body { flex-direction: column; height: auto !important; flex: 1; }
.rp-sheet .rp-months { width: auto; display: flex; overflow-x: auto; overflow-y: hidden; padding: 8px 10px; gap: 6px; flex: none; }
.rp-sheet .rp-months button { width: auto; flex: none; padding: 8px 14px; border-radius: 999px; font-size: 14.5px; gap: 6px; white-space: nowrap; }
.rp-sheet .rp-months button.on { background: var(--navy, #101f48); color: #fff; } .rp-sheet .rp-months button.on em { color: rgba(255,255,255,.75); }
.rp-sheet .rp-cal { padding: 0 12px; min-height: 0; }
.rp-sheet .rp-d { height: 44px; } .rp-sheet .rp-d span { width: 40px; height: 40px; }
.rp-sheet .rp-tab b { font-size: 15.5px; }
body.rp-on { overflow: hidden; }
@media (min-width: 701px) { body.rp-on { overflow: auto; } }
@media (max-width: 700px) { body.rp-on::after { content: ""; position: fixed; inset: 0; background: rgba(10,18,40,.45); z-index: 1100; } }
/* ===== Habitaciones y huéspedes por habitación ===== */
.guests-pop { width: 360px; padding: 0; overflow: hidden; display: flex; flex-direction: column; max-height: min(560px, 72vh); }
.re-list { overflow-y: auto; padding: 4px 18px; flex: 1; }
.re-room { padding: 12px 0 10px; border-bottom: 1px solid var(--line); }
.re-room:last-child { border-bottom: 0; }
.re-h { display: flex; align-items: center; justify-content: space-between; margin-bottom: 4px; }
.re-h b { font-size: 15.5px; font-weight: 800; }
.re-del { border: 0; background: transparent; color: #c4282e; font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; text-decoration: underline; }
.re-room .row { display: flex; align-items: center; justify-content: space-between; padding: 6px 0; font-weight: 500; }
.re-room .row small { display: block; font-size: 12px; color: var(--muted); font-weight: 400; }
.re-room .stepper button:disabled { opacity: .3; cursor: default; }
.re-ages { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 6px; }
.re-ages label { display: flex; flex-direction: column; gap: 4px; font-size: 12px; color: var(--muted); }
.re-ages select { border: 1.5px solid var(--line); border-radius: 10px; padding: 8px; font: inherit; font-size: 14px; font-weight: 600; color: var(--ink); background: #fff; }
.re-add { margin: 4px 18px 10px; align-self: flex-start; border: 1.5px dashed var(--accent); background: var(--accent-soft); color: var(--accent-dark); font: inherit; font-weight: 700; font-size: 14px; border-radius: 12px; padding: 10px 16px; cursor: pointer; }
.re-max { margin: 4px 18px 10px; font-size: 13px; color: var(--muted); }
.re-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 12px 18px; border-top: 1px solid var(--line); background: #fafbfd; }
.re-foot span { font-size: 13px; font-weight: 600; color: var(--muted); }
@media (max-width: 700px) { .guests-pop { width: min(360px, calc(100vw - 32px)); } }
/* ===== Cotización fuera de línea ===== */
.qt-hero { background: linear-gradient(100deg, #0b1636 0%, #1d3473 60%, #ef8239 140%); }
.qt-sec { padding: 18px 0 6px; border-top: 1px solid var(--line); }
.qt-sec:first-of-type { border-top: 0; padding-top: 4px; }
.qt-sec h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 14px; font-size: 18px; font-weight: 800; }
.qt-sec h3 span { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--accent); color: #fff; font-size: 14px; }
.qt-sec .tf { display: block; margin-bottom: 14px; }
.qt-sec .tf > span small { color: var(--muted); font-weight: 400; }
.qt-sec textarea { width: 100%; border: 1.5px solid var(--line); border-radius: 14px; padding: 12px 14px; font: inherit; font-size: 15px; resize: vertical; margin-top: 6px; }
.qt-sec textarea:focus { outline: 0; border-color: var(--accent); }
.qt-dests { display: flex; flex-wrap: wrap; gap: 8px; margin: -6px 0 16px; }
.qt-dests button { border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 9px 16px; font: inherit; font-weight: 600; font-size: 14.5px; cursor: pointer; color: var(--ink); }
.qt-dests button.on { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-dark); }
.qt-dates { gap: 8px; } .qt-dates em { font-style: normal; color: var(--muted); }
.qt-dates .rp-disp { font-size: 15px; }
.qt-yn { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 14px; }
.qt-yn p { margin: 0; font-weight: 600; }
.qt-yn .seg2 { width: 160px; flex: none; }
.qt-acts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 14px; }
.qt-act { display: flex; align-items: center; gap: 10px; border: 1.5px solid var(--line); border-radius: 14px; padding: 8px 12px 8px 8px; cursor: pointer; background: #fff; }
.qt-act.on { border-color: var(--accent); background: var(--accent-soft); }
.qt-act input { width: 18px; height: 18px; accent-color: var(--accent); flex: none; margin-left: 4px; }
.qt-act img { width: 48px; height: 48px; border-radius: 10px; object-fit: cover; flex: none; }
.qt-act b { display: block; font-size: 14px; line-height: 1.25; } .qt-act small { color: var(--muted); font-size: 12.5px; }
.qt-sub { display: flex; align-items: center; gap: 6px; margin: -6px 4px 10px; color: var(--muted); font-size: 14px; }
.qt-sub svg { width: 16px; height: 16px; fill: none; stroke: var(--accent); stroke-width: 1.8; }
.re-inline { border: 1.5px solid var(--line); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; }
.re-inline .re-list { max-height: none; }
.re-inline .re-ok { display: none; }
.ttag.qt { background: #eef2fb; color: var(--navy); }
.stars.qt { color: var(--navy); }
.qt-rooms { margin: 0 0 8px; padding-left: 18px; } .qt-rooms li { margin: 4px 0; } .qt-rooms b { margin-right: 6px; }
@media (max-width: 700px) {
  .qt-acts { grid-template-columns: 1fr; }
  .qt-yn { flex-direction: column; align-items: stretch; } .qt-yn .seg2 { width: 100%; }
}
.qtp .tr-main { margin-top: 28px; }
@media (max-width: 700px) { .qtp .tr-main { margin-top: 20px; } }
/* ===== Cotizaciones: tarifa enviada / aceptada y localizadores adicionales ===== */
.st-quote { background: #fff1e6; color: #c2571a; }
.qo { display: flex; gap: 10px; align-items: flex-start; border-radius: 12px; padding: 10px 12px; margin: 10px 0 4px; font-size: 13.5px; }
.qo svg { width: 20px; height: 20px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.8; margin-top: 1px; }
.qo b { display: block; font-size: 14px; } .qo small { display: block; color: inherit; opacity: .85; margin-top: 2px; }
.qo-sent { background: #fff1e6; color: #a3470f; border: 1.5px solid #f6c9a8; }
.qo-ok { background: #e8f7ee; color: #146c3a; }
.qo-exp { background: #fdecec; color: #a11; }
.qo-none { background: #f4f5f8; color: var(--muted); margin: 14px 0 6px; }
.bc-locs { display: flex; flex-wrap: wrap; gap: 6px; }
.ae-locs-h { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 6px; } .ae-locs-h small { font-weight: 400; color: var(--muted); }
.ae-loc { display: grid; grid-template-columns: 1.4fr 1fr auto; gap: 8px; margin-bottom: 6px; align-items: center; }
.ae-loc input { height: 40px; border: 1.5px solid var(--line); border-radius: 10px; padding: 0 10px; font: inherit; font-size: 14px; }
.ae-qt small { display: block; color: var(--muted); font-size: 12.5px; line-height: 1.45; margin-top: 4px; }
.qa-total { display: flex; align-items: baseline; gap: 12px; background: #fff8f3; border: 1.5px solid #f6c9a8; border-radius: 14px; padding: 12px 16px; margin: 12px 0; }
.qa-total span { font-weight: 600; } .qa-total b { font-size: 26px; font-weight: 800; color: var(--accent-dark); } .qa-total small { margin-left: auto; color: var(--muted); }
.qa-room { border: 1.5px solid var(--line); border-radius: 16px; padding: 12px 16px 4px; margin-bottom: 12px; }
.qa-room h4 { margin: 0 0 8px; font-size: 16px; } .qa-room h4 small { font-weight: 500; color: var(--muted); font-size: 13px; margin-left: 6px; }
.qa-dlg .tp { display: grid; grid-template-columns: 150px 1fr 1fr; gap: 10px; align-items: end; margin-bottom: 10px; }
.qt-rooms ul { margin: 4px 0 6px; padding-left: 18px; }
@media (max-width: 700px) { .qa-dlg .tp { grid-template-columns: 1fr 1fr; } .qa-dlg .tp-l { grid-column: 1 / -1; } .ae-loc { grid-template-columns: 1fr 1fr; } .ae-loc .link-btn { grid-column: 1 / -1; justify-self: start; } .qa-total { flex-wrap: wrap; } }
.qa-dlg .accept { display: flex; align-items: flex-start; gap: 10px; text-align: left; margin: 14px 0 6px; font-size: 14px; } .qa-dlg .accept input { width: 18px; height: 18px; flex: none; margin-top: 1px; accent-color: var(--accent); }
.ae-qt { margin: 4px 0 6px; }
.dlg.qa-dlg > label.accept { flex-direction: row; align-items: flex-start; color: var(--ink); font-weight: 600; font-size: 14px; } .dlg.qa-dlg > label.accept input { padding: 0; border-radius: 4px; width: 18px; height: 18px; flex: none; margin-top: 1px; }
/* ===== Calendario de viajes ===== */
.cal-pg { --h-bg: #e8edfb; --h-fg: #1d3473; --t-bg: #e2f6f8; --t-fg: #0b6b7a; --a-bg: #fff1e6; --a-fg: #c2571a; }
.cal-head { align-items: flex-end; }
.cal-filters { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.cal-ag { height: 42px; border: 1.5px solid var(--line); border-radius: 999px; padding: 0 14px; font: inherit; font-weight: 600; background: #fff; color: var(--ink); }
.cal-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.cal-chips button { border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 9px 16px; font: inherit; font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; gap: 8px; cursor: pointer; color: var(--ink); }
.cal-chips button.on { background: var(--navy); color: #fff; border-color: var(--navy); }
.cal-chips i, .dots i { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.d-h { background: #1d3473; } .d-t { background: #0b6b7a; } .d-a { background: #ef8239; }
.cal-kpis { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 20px; }
.ck { border: 1.5px solid var(--line); border-radius: 18px; padding: 15px 16px; display: flex; gap: 14px; align-items: center; background: #fff; }
.ck .ic { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; flex: none; }
.ck .ic svg, .cty svg, .cg-ev svg, .cn-al svg, .cb-arr svg, .cn-empty svg, .link-btn svg { fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.ck .ic svg { width: 23px; height: 23px; }
.ck b { display: block; font-size: 25px; font-weight: 800; letter-spacing: -.5px; line-height: 1.1; } .ck span { color: var(--muted); font-size: 13px; }
.ck.hot { background: linear-gradient(120deg, #101f48, #1d3473); color: #fff; border: 0; } .ck.hot span { color: #c9d2ef; } .ck.hot .ic { background: rgba(255,255,255,.12); color: var(--accent); }
.ck.k-h .ic { background: var(--h-bg); color: var(--h-fg); } .ck.k-t .ic { background: var(--t-bg); color: var(--t-fg); }
.ck.k-pay .ic { background: #fdecec; color: #c4282e; } .ck.k-warn .ic { background: #fff4e0; color: #a35b00; } .ck.k-q .ic { background: var(--a-bg); color: var(--a-fg); }
.cal-main { display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: 20px; align-items: start; }
.cal-next, .cal-box { border: 1.5px solid var(--line); border-radius: 22px; background: #fff; box-shadow: 0 6px 22px rgba(14,26,68,.05); }
.cal-next { padding: 20px 18px 12px; position: sticky; top: 16px; max-height: calc(100vh - 32px); overflow-y: auto; }
.cal-next h2 { font-size: 19px; font-weight: 800; display: flex; align-items: center; gap: 10px; margin: 0; }
.cal-next h2 em { font-style: normal; background: var(--accent); color: #fff; border-radius: 999px; font-size: 12px; padding: 3px 9px; }
.cn-s { color: var(--muted); font-size: 13px; margin: 4px 0 14px; }
.cn-day { margin-bottom: 14px; }
.cn-dh { display: flex; align-items: center; justify-content: space-between; font-size: 12.5px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; margin-bottom: 8px; }
.cn-cd { text-transform: none; letter-spacing: 0; background: var(--accent-soft); color: var(--accent-dark); border-radius: 999px; padding: 2px 9px; font-size: 12px; }
.cn-cd.hot { background: #fdecec; color: #c4282e; }
.cn-it { display: flex; gap: 11px; align-items: flex-start; width: 100%; text-align: left; border: 1.5px solid var(--line); border-radius: 14px; padding: 10px 11px; margin-bottom: 8px; background: #fff; font: inherit; color: var(--ink); cursor: pointer; }
.cn-it:hover { border-color: #cfd5e6; background: #fbfcfe; }
.cn-it .st { flex: none; font-size: 11px; padding: 3px 8px; }
.cty { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; flex: none; }
.cty svg { width: 19px; height: 19px; }
.ty-h { background: var(--h-bg); color: var(--h-fg); } .ty-t { background: var(--t-bg); color: var(--t-fg); } .ty-a { background: var(--a-bg); color: var(--a-fg); }
.cn-tx { flex: 1; min-width: 0; } .cn-tx b { display: block; font-size: 14px; line-height: 1.3; }
.cn-tx small { display: block; color: var(--muted); font-size: 12.5px; line-height: 1.4; margin-top: 2px; }
.cn-tx small.cn-ag { color: var(--ink); font-weight: 600; }
.cn-al { display: inline-flex; align-items: center; gap: 5px; margin: 5px 6px 0 0; border-radius: 8px; padding: 3px 8px; font-size: 11.5px; font-weight: 700; }
.cn-al svg { width: 13px; height: 13px; }
.al-pay { background: #fdecec; color: #a11; } .al-warn { background: #fff4e0; color: #8a5a00; } .al-quote { background: var(--a-bg); color: var(--a-fg); }
.cn-al.big { display: flex; font-size: 13px; padding: 8px 12px; margin: 0 0 8px; }
.cn-empty { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 26px 10px; color: var(--muted); }
.cn-empty svg { width: 34px; height: 34px; color: var(--accent); } .cn-empty b { color: var(--ink); }
.cal-box { padding: 16px 18px 14px; min-width: 0; }
.cb-h { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; flex-wrap: wrap; }
.cb-h h2 { font-size: 24px; font-weight: 800; letter-spacing: -.4px; margin: 0 6px; } .cb-h h2 span { color: var(--muted); font-weight: 600; }
.cb-arr { width: 38px; height: 38px; border-radius: 12px; border: 1.5px solid var(--line); background: #fff; display: grid; place-items: center; cursor: pointer; color: var(--ink); }
.cb-arr svg { width: 18px; height: 18px; }
.cb-today { border: 1.5px solid var(--line); background: #fff; border-radius: 12px; padding: 8px 14px; font: inherit; font-weight: 700; cursor: pointer; color: var(--ink); }
.cb-months { margin-left: auto; display: flex; gap: 2px; background: #f3f5fa; border-radius: 12px; padding: 4px; }
.cb-months button { border: 0; background: transparent; padding: 7px 10px; border-radius: 9px; font: inherit; font-weight: 600; color: var(--muted); font-size: 13px; cursor: pointer; }
.cb-months button.on { background: #fff; color: var(--ink); box-shadow: 0 2px 6px rgba(16,31,72,.1); }
.cb-seg { display: flex; background: #f3f5fa; border-radius: 12px; padding: 4px; }
.cb-seg button { border: 0; background: transparent; padding: 7px 14px; border-radius: 9px; font: inherit; font-weight: 700; font-size: 13px; color: var(--muted); cursor: pointer; }
.cb-seg button.on { background: var(--navy); color: #fff; }
.cg-dow { display: grid; grid-template-columns: repeat(7, 1fr); border-bottom: 1px solid var(--line); }
.cg-dow span { padding: 8px 10px; font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.cg-wk { position: relative; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); border-bottom: 1px solid var(--line); }
.cg-wk:last-child { border-bottom: 0; }
.cg-d { border-right: 1px solid var(--line); padding: 6px 8px; cursor: pointer; position: relative; }
.cg-d:last-child { border-right: 0; } .cg-d:hover { background: #fafbfd; }
.cg-d .n { font-weight: 700; font-size: 13.5px; display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; }
.cg-d.out .n { color: #c2c7d5; } .cg-d.we { background: #fbfbfd; }
.cg-d.win { background: linear-gradient(180deg, #fff8f3, #fff); }
.cg-d.td .n { background: var(--accent); color: #fff; }
.cg-more { position: absolute; left: 8px; font-size: 11.5px; font-weight: 700; color: var(--accent-dark); }
.cg-ev { position: absolute; height: 21px; border-radius: 7px; font: inherit; font-size: 11.5px; font-weight: 700; padding: 0 7px; display: flex; align-items: center; gap: 5px; white-space: nowrap; overflow: hidden; border: 0; cursor: pointer; text-align: left; z-index: 1; }
.cg-ev span { overflow: hidden; text-overflow: ellipsis; }
.cg-ev svg { width: 13px; height: 13px; flex: none; }
.ev-h { background: var(--h-bg); color: var(--h-fg); border-left: 3px solid var(--h-fg); } .ev-t { background: var(--t-bg); color: var(--t-fg); } .ev-a { background: var(--a-bg); color: var(--a-fg); }
.cg-ev.cont { border-left: 0; border-top-left-radius: 0; border-bottom-left-radius: 0; } .cg-ev.goes { border-top-right-radius: 0; border-bottom-right-radius: 0; }
.cg-ev.pend { background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.6) 0 6px, transparent 6px 12px); }
.cg-ev:hover { filter: brightness(.96); outline: 2px solid currentColor; outline-offset: 1px; }
.cb-leg { display: flex; gap: 16px; margin-top: 12px; color: var(--muted); font-size: 12.5px; flex-wrap: wrap; }
.cb-leg i { display: inline-block; width: 12px; height: 12px; border-radius: 4px; margin-right: 6px; vertical-align: -2px; }
.lg-h { background: var(--h-bg); border-left: 3px solid var(--h-fg); } .lg-t { background: var(--t-bg); } .lg-a { background: var(--a-bg); }
.lg-p { background: repeating-linear-gradient(135deg, #e8edfb 0 3px, #fff 3px 6px); } .lg-w { background: #fff8f3; border: 1px solid #f6c9a8; }
.cl-day { margin-bottom: 14px; } .cl-dh { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 6px 0 8px; }
.cl-dh b { font-size: 15px; } .cl-dh h2 { font-size: 20px; margin: 0; }
.link-btn svg { width: 15px; height: 15px; vertical-align: -3px; margin-right: 3px; }
.cal-ev .ce-h { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 12px; padding-right: 40px; }
.cal-ev .ce-h .cty { width: 44px; height: 44px; } .cal-ev .ce-h small { color: var(--muted); font-size: 12.5px; text-transform: capitalize; }
.cal-ev h2 { font-size: 19px; margin: 2px 0; line-height: 1.25; }
.ce-rows > div { display: flex; justify-content: space-between; gap: 14px; padding: 8px 0; border-top: 1px dashed var(--line); font-size: 14px; }
.ce-rows span { color: var(--muted); } .ce-rows b { text-align: right; }
.cal-ev .dlg-actions { flex-wrap: wrap; margin-top: 14px; }
.cal-day .cn-it { margin-bottom: 8px; }
/* calendario compacto (celular) */
.cm-wk { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); }
.cm-d { min-width: 0; }
.cm-d { border: 0; background: transparent; font: inherit; padding: 6px 0 4px; display: flex; flex-direction: column; align-items: center; cursor: pointer; color: var(--ink); border-radius: 10px; }
.cm-d .n { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; font-weight: 700; font-size: 14px; }
.cm-d.out .n { color: #c2c7d5; } .cm-d.win { background: #fff8f3; }
.cm-d.td .n { background: var(--accent); color: #fff; } .cm-d.cm-sel .n { outline: 2px solid var(--navy); outline-offset: 1px; }
.dots { display: flex; gap: 3px; height: 7px; margin-top: 2px; } .dots i { width: 6px; height: 6px; }
.cm-list { margin-top: 12px; border-top: 1px solid var(--line); padding-top: 12px; }
.cm-lh { display: flex; align-items: center; justify-content: space-between; } .cm-lh h3 { font-size: 16px; margin: 0 0 8px; }
@media (max-width: 1150px) { .cal-main { grid-template-columns: 1fr; } .cal-next { position: static; max-height: none; } .cal-kpis { grid-template-columns: 1fr 1fr; } }
@media (max-width: 760px) {
  .cal-head { flex-direction: column; align-items: stretch; } .cal-filters { justify-content: flex-start; }
  .cal-chips { flex-wrap: nowrap; overflow-x: auto; } .cal-chips button { flex: none; padding: 8px 13px; }
  .cal-kpis { gap: 10px; } .ck { padding: 12px; gap: 10px; } .ck .ic { width: 38px; height: 38px; } .ck b { font-size: 20px; } .ck span { font-size: 12px; }
  .cal-box { padding: 14px 12px; } .cb-h h2 { font-size: 20px; } .cb-months { order: 5; margin-left: 0; width: 100%; overflow-x: auto; } .cb-months button { flex: none; } .cb-seg { margin-left: auto; }
  .cg-dow span { text-align: center; padding: 6px 0; }
}
/* Menú: con Cotizar y Calendario hay más enlaces; se ajusta el espacio para que no choque con el logo */
@media (min-width: 901px) {
  .topbar { gap: 24px; padding-left: clamp(20px, 4vw, 80px); padding-right: clamp(20px, 4vw, 80px); }
  .topbar .nav { gap: clamp(14px, 1.9vw, 40px); flex-wrap: nowrap; min-width: 0; }
  .topbar .nav a { white-space: nowrap; font-size: clamp(13.5px, 1.05vw, 16px); }
}
@media (min-width: 901px) and (max-width: 1120px) {
  .topbar { flex-wrap: wrap; row-gap: 10px; }
  .topbar .nav { order: 3; width: 100%; gap: 26px; overflow-x: auto; scrollbar-width: none; border-top: 1px solid var(--line); padding: 10px 2px 4px; }
  .topbar .nav::-webkit-scrollbar { display: none; }
}
.cn-all { width: 100%; border: 1.5px dashed var(--accent); background: var(--accent-soft); color: var(--accent-dark); font: inherit; font-weight: 700; border-radius: 12px; padding: 10px; cursor: pointer; margin-bottom: 8px; }
/* ===== Respaldos ===== */
.bk-dlg h2 { margin: 0 0 6px; }
.bk-st { border-radius: 12px; padding: 10px 14px; margin: 12px 0; background: #f4f5f8; } .bk-st b { display: block; } .bk-st span { font-size: 13px; color: var(--muted); }
.bk-st.ok { background: #e8f7ee; color: #146c3a; } .bk-st.ok span { color: #2d7a4e; }
.bk-st.warn { background: #fff4e0; color: #8a5a00; } .bk-st.warn span { color: #8a5a00; }
.bk-acts { display: flex; gap: 10px; flex-wrap: wrap; margin: 6px 0 10px; } .bk-acts a { text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.bk-acts svg { width: 16px; height: 16px; }
.bk-restore { margin-top: 14px; border-top: 1px solid var(--line); padding-top: 12px; }
.bk-restore summary { cursor: pointer; font-weight: 700; color: #c4282e; }
.bk-restore input[type=file] { display: block; margin: 10px 0; }
.bk-restore label { display: flex; flex-direction: column; gap: 6px; font-size: 13.5px; margin-bottom: 10px; }

/* =================== FINANZAS (adicional) =================== */
.ag-fin { display: flex; align-items: center; gap: 10px; } .ag-fin small { margin: 0; }
.sw { width: 42px; height: 24px; border-radius: 99px; border: 0; background: #d5dae6; position: relative; cursor: pointer; flex: none; transition: background .2s; padding: 0; }
.sw i { position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: left .2s; }
.sw.on { background: #1f9d55; } .sw.on i { left: 21px; } .sw:disabled { opacity: .5; }
.ag-addon { background: var(--soft); border-radius: 14px; padding: 14px 16px; margin-bottom: 14px; }
.ag-addon > b { display: block; color: var(--ink); } .ag-addon > small { display: block; color: var(--muted); font-size: 12.5px; margin: 2px 0 10px; }
.ag-addon-row { display: flex; gap: 18px; align-items: flex-end; flex-wrap: wrap; } .ag-addon-row label { margin-bottom: 0 !important; }

.fn-lock { max-width: 620px; margin: 30px auto; text-align: center; background: #fff; border: 1.5px solid var(--line); border-radius: 24px; padding: 36px 30px; }
.fn-lock > svg { width: 44px; height: 44px; color: var(--accent); fill: none; stroke: currentColor; stroke-width: 1.8; }
.fn-lock h1 { margin: 10px 0 8px; } .fn-lock ul { text-align: left; margin: 16px auto; max-width: 480px; line-height: 1.8; color: var(--ink); }
.fn svg { fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.fn-month, .fn-tools select { border: 1.5px solid var(--line); border-radius: 12px; padding: 0 14px; height: 44px; background: #fff; font-weight: 600; text-transform: capitalize; }
.fn-tools select { height: 48px; text-transform: none; }
.fn-tabs { display: flex; gap: 6px; background: #f3f5fa; border-radius: 14px; padding: 5px; margin-bottom: 20px; overflow-x: auto; }
.fn-tabs button { flex: 1; border: 0; background: none; border-radius: 10px; padding: 11px 14px; font-weight: 700; color: var(--muted); cursor: pointer; white-space: nowrap; }
.fn-tabs button.on { background: #fff; color: var(--ink); box-shadow: 0 2px 8px rgba(16,31,72,.1); }
.fn-kpis { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-bottom: 16px; }
.fn-kpi { background: #fff; border: 1.5px solid var(--line); border-radius: 18px; padding: 16px; }
.fn-kpi small { display: block; color: var(--muted); font-size: 12.5px; font-weight: 600; text-transform: none; }
.fn-kpi b { display: block; font-size: 25px; font-weight: 800; letter-spacing: -.5px; margin: 6px 0 2px; }
.fn-kpi span { font-size: 12px; color: var(--muted); }
.fn-kpi.hi { background: linear-gradient(140deg, #101f48, #1d3473); border: 0; color: #fff; } .fn-kpi.hi small, .fn-kpi.hi span { color: #c9d3f0; } .fn-kpi.hi b { color: #7fe0a6; }
.fn-kpi.warn b { color: var(--accent-dark); }
.fn-two { display: grid; grid-template-columns: 1.3fr 1fr; gap: 16px; }
.fn-card { background: #fff; border: 1.5px solid var(--line); border-radius: 20px; padding: 18px 20px; margin-bottom: 16px; }
.fn-card h3 { margin: 0 0 14px; font-size: 16px; font-weight: 800; }
.fn-chart { display: flex; gap: 10px; align-items: flex-end; height: 170px; padding-top: 6px; }
.fn-col { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 6px; height: 100%; }
.fn-bars { flex: 1; width: 100%; display: flex; gap: 4px; align-items: flex-end; justify-content: center; }
.fn-bars i { width: 38%; max-width: 26px; border-radius: 6px 6px 2px 2px; min-height: 2px; }
.fn-bars i.v, .fn-legend i.v { background: #1d3473; } .fn-bars i.g, .fn-legend i.g { background: #2fb36b; }
.fn-col small { color: var(--muted); font-size: 12px; text-transform: capitalize; }
.fn-legend { display: flex; gap: 16px; margin-top: 10px; font-size: 12.5px; color: var(--muted); } .fn-legend i { display: inline-block; width: 10px; height: 10px; border-radius: 3px; margin-right: 6px; }
.fn-tp { display: grid; grid-template-columns: 150px 1fr 90px; gap: 10px; align-items: center; padding: 7px 0; font-size: 13.5px; }
.fn-tp span { display: flex; gap: 8px; align-items: center; } .fn-tp svg { width: 16px; height: 16px; color: var(--muted); }
.fn-tp div { height: 8px; background: #eef1f7; border-radius: 8px; overflow: hidden; } .fn-tp div i { display: block; height: 100%; background: #2fb36b; border-radius: 8px; }
.fn-tp b { text-align: right; }
.fn-dr { display: grid; grid-template-columns: 1fr auto auto; gap: 14px; align-items: center; padding: 10px 0; border-top: 1px solid var(--line); }
.fn-dr:first-child { border-top: 0; } .fn-dr small { display: block; color: var(--muted); font-size: 12.5px; }
.fn-bal { color: #c4282e; font-size: 16px; } .fn-dacts { display: flex; gap: 8px; } .fn-dacts a { text-decoration: none; } .fn-dacts .btn-ghost { padding: 8px 12px; }
.fn-dacts svg { width: 16px; height: 16px; }
.fn-pos { color: #137a3e; } .neg { color: #c4282e !important; }
.atable.fn-tbl .ar { grid-template-columns: 110px 1.6fr 100px 110px 150px 120px 130px; cursor: pointer; }
.atable.fn-tbl .ar:not(.ah):not(.fn-sum):hover { background: #f7f9fe; }
.atable.fn-tbl .ar-act a { text-decoration: none; padding: 8px 12px; font-size: 13px; } .atable.fn-tbl .ar-act svg { width: 16px; height: 16px; }
.atable.fn-pays .ar { grid-template-columns: 110px 1.4fr 1fr 1fr 110px; cursor: pointer; }
.fn-sum { background: #f6f8fd; cursor: default !important; }
.fn-prog { display: block; height: 7px; border-radius: 7px; background: #eef1f7; overflow: hidden; margin-top: 4px; } .fn-prog i { display: block; height: 100%; background: var(--accent); border-radius: 7px; }
.fn-prog.big { height: 9px; margin: 8px 0 4px; }
.fn-ref, code.fn-ref { font-family: ui-monospace, Menlo, Consolas, monospace; font-weight: 700; font-size: 12.5px; background: #f1f3f8; border-radius: 6px; padding: 3px 7px; }
.fn-none { margin: 4px 0 10px; }
.fn-prof textarea, .fn-prof input:not([type=color]) { border: 1.5px solid var(--line); border-radius: 12px; padding: 11px 12px; font-size: 15px; font-family: inherit; color: var(--ink); background: #fff; }
.fn-color { display: flex; align-items: center; gap: 10px; } .fn-color input { width: 54px; height: 44px; border: 1.5px solid var(--line); border-radius: 12px; padding: 3px; background: #fff; cursor: pointer; }

/* editor */
.fn-ed .back-link { text-decoration: none; }
.fn-edgrid { display: grid; grid-template-columns: 1fr 360px; gap: 22px; align-items: start; }
.fn-sec { background: #fff; border: 1.5px solid var(--line); border-radius: 20px; padding: 18px 20px; margin-bottom: 16px; }
.fn-sec h3 { display: flex; align-items: center; gap: 10px; margin: 0 0 12px; font-size: 17px; font-weight: 800; }
.fn-sec h3 span { width: 26px; height: 26px; border-radius: 50%; background: var(--accent); color: #fff; display: grid; place-items: center; font-size: 13px; flex: none; }
.fn-sec h3 em { margin-left: auto; font-style: normal; font-size: 12px; font-weight: 700; color: var(--muted); background: #f3f5fa; border-radius: 99px; padding: 4px 10px; }
.fn-sec > .muted-s { margin: -4px 0 12px; }
.fn-ed label { display: flex; flex-direction: column; gap: 5px; font-size: 12.5px; font-weight: 600; color: var(--muted); min-width: 0; }
.fn-ed label small { font-weight: 400; }
.fn-ed input, .fn-ed select, .fn-ed textarea { border: 1.5px solid var(--line); border-radius: 11px; padding: 0 11px; height: 42px; font-size: 14.5px; font-weight: 500; color: var(--ink); background: #fff; outline: 0; width: 100%; min-width: 0; font-family: inherit; }
.fn-ed textarea { height: auto; padding: 10px 11px; resize: vertical; }
.fn-ed input:focus, .fn-ed select:focus, .fn-ed textarea:focus { border-color: var(--blue); }
.fn-g3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; } .fn-g3.one { grid-template-columns: 220px; margin-bottom: 12px; }
.fn-full { display: block; }
.fn-money { display: flex; align-items: center; border: 1.5px solid var(--line); border-radius: 11px; background: #fff; padding-left: 10px; }
.fn-money:focus-within { border-color: var(--blue); } .fn-money i { font-style: normal; color: var(--muted); font-weight: 700; }
.fn-money input { border: 0 !important; padding-left: 6px; font-weight: 700; }
.fn-items { display: flex; flex-direction: column; gap: 10px; }
.fn-it { display: grid; grid-template-columns: 150px 1.5fr 1fr 110px 110px 90px 36px; grid-template-areas: "t d s c p g x" "e e e e e e ."; gap: 8px 10px; align-items: end; background: #f8f9fc; border-radius: 14px; padding: 12px; }
.fn-it .t { grid-area: t; } .fn-it .d { grid-area: d; } .fn-it .s { grid-area: s; } .fn-it .x { grid-area: e; } .fn-it .c { grid-area: c; } .fn-it .p { grid-area: p; } .fn-it .g { grid-area: g; } .fn-it .fn-del { grid-area: x; }
.fn-it .g { display: flex; flex-direction: column; gap: 5px; padding-bottom: 10px; } .fn-it .g small { font-size: 12.5px; font-weight: 600; color: var(--muted); } .fn-it .g b { color: #137a3e; font-size: 15px; }
.fn-del { width: 36px; height: 42px; border: 0; background: none; color: #a3abc3; cursor: pointer; border-radius: 10px; display: grid; place-items: center; }
.fn-del:hover { background: #fdecec; color: #c4282e; } .fn-del svg { width: 18px; height: 18px; }
.fn-add { display: inline-flex; gap: 8px; align-items: center; border: 1.5px dashed #f2b98f; background: #fffaf6; color: var(--accent-dark); font-weight: 700; border-radius: 12px; padding: 10px 14px; margin-top: 10px; cursor: pointer; }
.fn-add svg { width: 16px; height: 16px; }
.fn-pays-ed { display: flex; flex-direction: column; gap: 8px; }
.fn-pr { display: grid; grid-template-columns: 150px 140px 1fr 1fr 130px 36px; gap: 10px; align-items: end; background: #f8f9fc; border-radius: 14px; padding: 10px 12px; }
.fn-pr.sup { grid-template-columns: 150px 1fr 140px 1fr 130px 36px; }
.fn-side { position: sticky; top: 90px; display: flex; flex-direction: column; gap: 12px; }
.fn-sum-card { background: linear-gradient(140deg, #101f48, #1d3473); color: #fff; border-radius: 20px; padding: 18px; }
.fn-sum-card .r { display: flex; justify-content: space-between; padding: 6px 0; font-size: 14px; color: #d5dcf3; } .fn-sum-card .r b { color: #fff; }
.fn-sum-card .tot { border-top: 1px solid rgba(255,255,255,.18); margin-top: 6px; padding-top: 12px; display: flex; justify-content: space-between; align-items: baseline; }
.fn-sum-card .tot span { font-weight: 700; color: #d5dcf3; } .fn-sum-card .tot b { font-size: 30px; font-weight: 800; color: #7fe0a6; } .fn-sum-card .tot b.neg { color: #ff9a9a !important; }
.fn-sum-card .pct { display: inline-block; margin-top: 6px; background: rgba(127,224,166,.15); color: #7fe0a6; border-radius: 99px; padding: 3px 10px; font-weight: 800; font-size: 12.5px; }
.fn-mini { background: #fff; border: 1.5px solid var(--line); border-radius: 16px; padding: 13px 14px; }
.fn-mini .t { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-size: 13.5px; } .fn-mini small { color: var(--muted); font-size: 12px; }
.fn-mini .t + .t { margin-top: 4px; }
.fn-prev { background: #fff; border: 1.5px solid var(--line); border-radius: 16px; padding: 16px 14px 12px; position: relative; margin-top: 6px; }
.fn-prev .lbl { position: absolute; top: -10px; left: 12px; background: #fff; padding: 0 8px; font-size: 11px; font-weight: 800; color: var(--muted); letter-spacing: .05em; text-transform: uppercase; }
.fn-prev .ag { display: flex; align-items: center; gap: 10px; border-bottom: 2px solid var(--c); padding-bottom: 9px; margin-bottom: 8px; }
.fn-prev .lg { width: 32px; height: 32px; border-radius: 9px; background: var(--c); color: #fff; display: grid; place-items: center; font-weight: 900; font-size: 13px; }
.fn-prev .ln { display: flex; justify-content: space-between; gap: 8px; font-size: 12.5px; padding: 3px 0; color: #3a4570; } .fn-prev .ln span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.fn-prev .tt { border-top: 1px solid var(--line); margin-top: 5px; padding-top: 7px; font-weight: 800; color: var(--ink); }
.fn-prev .nt { display: block; font-size: 11px; color: var(--muted); margin-top: 8px; }
.fn-foot { position: sticky; bottom: 0; z-index: 20; display: flex; gap: 10px; align-items: center; background: rgba(255,255,255,.96); backdrop-filter: blur(6px); border-top: 1px solid var(--line); padding: 12px 0; margin-top: 6px; }
.fn-foot .sp { flex: 1; } .fn-foot a { text-decoration: none; } .fn-foot svg { width: 17px; height: 17px; }
.btn-ghost.danger { color: #c4282e; } .btn-ghost.danger:hover { border-color: #c4282e; color: #c4282e; }

@media (max-width: 1200px) {
  .fn-kpis { grid-template-columns: repeat(3, 1fr); }
  .fn-edgrid { grid-template-columns: 1fr; } .fn-side { position: static; order: -1; display: grid; grid-template-columns: 1fr 1fr; } .fn-prev { grid-column: 1 / -1; }
  .fn-it { grid-template-columns: 150px 1fr 1fr 36px; grid-template-areas: "t d d x" "s s e e" "c p g ."; }
}
@media (max-width: 1000px) {
  .atable.fn-tbl .ar, .atable.fn-pays .ar { grid-template-columns: 1fr 1fr; }
  .atable.fn-tbl .ar-act { grid-column: 1 / -1; text-align: left; }
  .fn-two { grid-template-columns: 1fr; }
  .fn-pr, .fn-pr.sup { grid-template-columns: 1fr 1fr; } .fn-pr .fn-del { justify-self: end; grid-column: 2; }
}
@media (max-width: 700px) {
  .fn-kpis { grid-template-columns: 1fr 1fr; } .fn-kpi b { font-size: 21px; } .fn-kpi.hi { grid-column: 1 / -1; }
  .fn-g3 { grid-template-columns: 1fr 1fr; } .fn-g3.one { grid-template-columns: 1fr; }
  .fn-it { grid-template-columns: 1fr 1fr; grid-template-areas: "t x" "d d" "s s" "e e" "c p" "g g"; } .fn-it .fn-del { justify-self: end; }
  .fn-it .g { flex-direction: row; justify-content: space-between; padding: 0; }
  .fn-side { grid-template-columns: 1fr; }
  .fn-dr { grid-template-columns: 1fr auto; } .fn-dacts { grid-column: 1 / -1; }
  .fn-tp { grid-template-columns: 120px 1fr 80px; }
  .fn-foot { flex-wrap: wrap; } .fn-foot .sp { display: none; } .fn-foot > * { flex: 1 1 45%; } .fn-foot .btn-primary { flex-basis: 100%; order: 9; }
  .fn-sec { padding: 16px 14px; } .pg-head .pg-acts { flex-wrap: wrap; } .pg-head .pg-acts > * { flex: 1; }
}
.fn-ed label > span:not(.fn-money), .fn-prof label > span:not(.fn-color) { display: block; } .fn-ed label > span small, .fn-prof label > span small { color: var(--muted); }
.ae-grid > label, .ae-grid > div { min-width: 0; } .ae-grid input:not([type=checkbox]):not([type=color]), .ae-grid select, .ae-grid textarea { width: 100%; min-width: 0; box-sizing: border-box; }
.pw-row { display: flex; gap: 8px; } .pw-row input { flex: 1; }
.ag-addon-row { align-items: center; } .ag-addon-row label:not(.lf-check2) { flex-direction: row !important; align-items: center; gap: 8px !important; } .ag-addon-row input[type=date] { width: auto; }
.ag-addon-row label { white-space: nowrap; }
@media (max-width: 700px) { .fn-foot { position: static; background: none; backdrop-filter: none; } }
.ag-adds { display: flex; flex-direction: column; gap: 6px; } .ag-adds .sw { width: 36px; height: 20px; } .ag-adds .sw i { width: 14px; height: 14px; } .ag-adds .sw.on i { left: 19px; }
.ag-adds small b { display: inline; color: var(--ink); font-weight: 600; }
/* Selector de fechas más compacto en computadora (mismo estilo) */
@media (min-width: 701px) {
  .rp { border-radius: 18px; }
  .rp-head { gap: 8px; padding: 10px 12px 9px; }
  .rp-tab { border-radius: 12px; padding: 6px 12px; } .rp-tab small { font-size: 11.5px; } .rp-tab b { font-size: 15px; }
  .rp-x { width: 34px; border-radius: 10px; font-size: 20px; }
  .rp-body { height: 340px; }
  .rp-months { width: 150px; padding: 4px 0; }
  .rp-months button { padding: 8px 16px; font-size: 14.5px; } .rp-months button em { font-size: 12px; }
  .rp-cal { padding: 0 14px; }
  .rp-dow { padding: 9px 0 7px; } .rp-dow span { font-size: 11.5px; }
  .rp-month h4 { margin: 12px 0 5px; font-size: 17px; } .rp-month h4 em { font-size: 13px; }
  .rp-grid { row-gap: 2px; }
  .rp-d { height: 36px; font-size: 14.5px; } .rp-d span { width: 34px; height: 34px; border-radius: 10px; }
  .rp-scroll { padding-bottom: 10px; }
  .rp-foot { padding: 9px 14px; gap: 10px; } .rp-sum { font-size: 14px; } .rp-clear { font-size: 14px; }
  .rp-ok { padding: 8px 20px; border-radius: 10px; font-size: 14px; }
}

.bd .qo { margin-top: 14px; } .qt-asked { color: #c25a12 !important; font-weight: 600; }
.nt-row { position: relative; } .nt-row .nt-item { padding-right: 44px; }
.nt-dis { position: absolute; top: 10px; right: 10px; width: 28px; height: 28px; border: 0; border-radius: 50%; background: transparent; color: #a3abc3; font-size: 20px; line-height: 1; cursor: pointer; display: grid; place-items: center; }
.nt-dis:hover { background: #eef0f6; color: var(--ink); }
/* Logo de la agencia */
.lg-prev { display: grid; place-items: center; height: 130px; border: 1.5px dashed var(--line); border-radius: 16px; background: repeating-conic-gradient(#f4f6fa 0 25%, #fff 0 50%) 0 0 / 16px 16px; margin: 14px 0; padding: 12px; }
.lg-prev img { display: block; max-width: 100%; max-height: 104px; object-fit: contain; } .lg-prev.sm img { max-height: 54px; } .lg-prev span { color: var(--muted); font-size: 14px; }
.lg-prev.sm { width: 180px; height: 80px; margin: 0; flex: none; }
.lg-pick { display: inline-block; cursor: pointer; } .lg-pick span { pointer-events: none; }
.lg-dlg .hint { font-size: 12.5px; color: var(--muted); margin: 8px 0 0; }
.fn-logo { display: flex; gap: 16px; align-items: center; margin: 4px 0 18px; } .fn-logo b { display: block; } .fn-logo small { display: block; color: var(--muted); font-size: 12.5px; margin: 2px 0 8px; }
.fn-prev .lgi { max-height: 32px; max-width: 110px; object-fit: contain; }
@media (max-width: 700px) { .fn-logo { flex-direction: column; align-items: flex-start; } }

/* =================== ITINERARIOS =================== */
.atable.it-tbl .ar { grid-template-columns: 1.5fr 1fr 110px 1fr 100px 300px; cursor: pointer; }
.atable.it-tbl .ar:not(.ah):hover { background: #f7f9fe; }
.it-tools { align-items: center; } .it-tools .seg-ty button b { padding: 1px 7px; border-radius: 999px; } .it-tools .seg-ty button.on b { color: #fff; opacity: 1; } .it-tools .seg-ty button { display: inline-flex; align-items: center; gap: 5px; }
.it-sti svg { width: 15px; height: 15px; fill: #f5a524; stroke: #f5a524; stroke-width: 1.6; stroke-linejoin: round; display: block; }
.it-sti.big svg { width: 40px; height: 40px; margin: 0 auto 6px; }
.it-mes select { height: 48px; border: 1.5px solid var(--line); border-radius: 14px; padding: 0 38px 0 14px; font: inherit; font-weight: 600; font-size: 14px; background: #fff; color: var(--ink); cursor: pointer; }
.it-tt { display: flex !important; align-items: flex-start; gap: 10px; }
.it-fav { flex: none; width: 32px; height: 32px; border-radius: 10px; border: 1.5px solid var(--line); background: #fff; display: grid; place-items: center; cursor: pointer; padding: 0; margin-top: -3px; }
.atable.it-tbl .it-fav svg { width: 16px; height: 16px; fill: none; stroke: #9aa2b8; stroke-width: 1.8; }
.it-fav:hover { border-color: #f5a524; } .atable.it-tbl .it-fav.on svg { fill: #f5a524; stroke: #f5a524; } .it-fav.on { border-color: #fbe0ae; background: #fff8ea; }
.atable.it-tbl .ar.isfav { background: #fffcf5; }
.btn-ghost.it-use { color: #9a5b00; border-color: #f6d08a; background: #fff8ea; }
.it-empty.sm { padding: 34px 20px; }
.atable.it-tbl .ar-act { display: flex; gap: 6px; justify-content: flex-end; } .atable.it-tbl .ar-act a, .atable.it-tbl .ar-act button { text-decoration: none; padding: 8px 11px; font-size: 13px; }
.atable.it-tbl svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.it-empty { max-width: 560px; margin: 30px auto; text-align: center; background: #fff; border: 1.5px solid var(--line); border-radius: 24px; padding: 36px 28px; }
.it-empty > svg { width: 46px; height: 46px; color: var(--accent); } .it-empty h3 { margin: 10px 0 6px; font-size: 20px; } .it-empty p { margin-bottom: 18px; }
.it-ed .fn-g3 .it-wide { grid-column: span 2; }
.it-lite { margin-left: 6px; font-size: 12px; font-weight: 700; color: #0b6aa2; background: #e6f4ff; padding: 4px 10px; border-radius: 99px; }
.it-fls { display: flex; flex-direction: column; gap: 8px; }
.it-fl { display: grid; grid-template-columns: 130px 140px 1fr 72px 1fr 100px 72px 1fr 100px 36px; gap: 8px; align-items: end; background: #f8f9fc; border-radius: 14px; padding: 10px 12px; }
.it-fl .up { text-transform: uppercase; font-weight: 800; }
.it-srch { display: flex; gap: 10px; margin-bottom: 12px; } .it-srch .search-in { flex: 1; } .it-srch select { border: 1.5px solid var(--line); border-radius: 12px; padding: 0 12px; height: 48px; background: #fff; font-weight: 600; max-width: 210px; }
.it-res { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; margin-bottom: 8px; }
.it-r { display: flex; gap: 12px; align-items: center; text-align: left; border: 1.5px solid var(--line); background: #fff; border-radius: 14px; padding: 8px; cursor: pointer; font-family: inherit; color: var(--ink); }
.it-r:hover { border-color: var(--accent); } .it-r:disabled { opacity: .6; }
.it-rp { width: 64px; height: 52px; border-radius: 10px; background: #eef1f7 center/cover no-repeat; flex: none; }
.it-rt2 { flex: 1; min-width: 0; } .it-rt2 b { display: block; font-size: 14px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .it-rt2 small { color: var(--muted); font-size: 12px; }
.it-add { display: inline-flex; align-items: center; gap: 4px; font-weight: 800; font-size: 12.5px; color: var(--accent-dark); white-space: nowrap; } .it-add svg { width: 14px; height: 14px; }
.it-busy { padding: 10px 0; }
.it-h { display: grid; grid-template-columns: 230px 1fr; gap: 16px; border: 1.5px solid var(--line); border-radius: 16px; padding: 12px; margin-top: 10px; }
.it-ph { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 4px; height: 150px; }
.it-ph span { background: #eef1f7 center/cover no-repeat; border-radius: 10px; } .it-ph span:first-child { grid-row: span 2; } .it-ph span:only-child { grid-column: span 2; }
.it-ph .none { grid-column: span 2; grid-row: span 2; display: grid; place-items: center; color: var(--muted); font-size: 13px; }
.it-ht { display: flex; align-items: center; gap: 8px; } .it-st { color: #f5a524; letter-spacing: 1px; } .it-rt { background: var(--navy, #101f48); color: #fff; border-radius: 7px; padding: 1px 7px; font-weight: 800; font-size: 12.5px; }
.it-mv { margin-left: auto; display: flex; gap: 2px; } .it-mv button { width: 34px; height: 34px; border: 0; background: none; border-radius: 9px; color: var(--muted); cursor: pointer; display: grid; place-items: center; }
.it-mv button:hover:not(:disabled) { background: #f3f5fa; color: var(--ink); } .it-mv button:disabled { opacity: .3; } .it-mv svg { width: 18px; height: 18px; }
.it-h h4 { font-size: 17px; margin: 2px 0 0; } .it-h > div > .muted-s { margin: 0 0 10px; }
.it-hf { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 10px; } .it-nn { color: var(--accent-dark) !important; font-weight: 700; }
.it-chk { display: flex; gap: 18px; flex-wrap: wrap; margin-top: 10px; } .it-chk label { flex-direction: row !important; align-items: center; gap: 8px !important; color: var(--ink) !important; font-size: 13px !important; }
.it-chk input { width: 17px !important; height: 17px !important; accent-color: var(--accent); }
.it-sw { margin-left: auto; display: inline-flex !important; flex-direction: row !important; align-items: center; gap: 10px !important; font-size: 13px !important; font-weight: 700 !important; color: var(--ink) !important; cursor: pointer; }
.it-sw input { position: absolute; opacity: 0; width: 0 !important; height: 0 !important; }
.it-sw i { width: 42px; height: 24px; border-radius: 99px; background: #d5dae6; position: relative; transition: background .2s; flex: none; }
.it-sw i:after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.2); transition: left .2s; }
.it-sw input:checked + i { background: #1f9d55; } .it-sw input:checked + i:after { left: 21px; } .it-sw input:focus-visible + i { outline: 2px solid var(--blue); outline-offset: 2px; }
.it-days { display: flex; flex-direction: column; gap: 8px; }
.it-day { display: grid; grid-template-columns: 90px 1fr 1.6fr 36px; gap: 10px; align-items: end; background: #f8f9fc; border-radius: 14px; padding: 10px 12px; }
.it-dn { align-self: center; font-weight: 800; color: var(--accent-dark); font-size: 13px; }
.it-pr { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; } .it-pr small { font-weight: 400; color: var(--muted, #6b7490); }
.it-two { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 14px; }
.it-prev { background: #fff; border: 1.5px solid var(--line); border-radius: 20px; overflow: hidden; }
.it-cv { height: 150px; background: #101f48 center/cover no-repeat; position: relative; color: #fff; padding: 14px; display: flex; flex-direction: column; justify-content: flex-end; }
.it-cv:before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,20,50,.05), rgba(10,20,50,.85)); }
.it-cv > * { position: relative; } .it-cv span { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; opacity: .9; } .it-cv b { font-size: 19px; line-height: 1.15; } .it-cv small { font-size: 12px; opacity: .9; }
.it-sum { list-style: none; padding: 10px 16px 14px; margin: 0; } .it-sum li { display: flex; justify-content: space-between; padding: 7px 0; border-bottom: 1px solid var(--line); font-size: 13.5px; } .it-sum li:last-child { border: 0; } .it-sum span { color: var(--muted); }
.it-btns { display: flex; flex-direction: column; gap: 8px; } .it-btns .btn-primary, .it-btns .btn-ghost { justify-content: center; display: flex; align-items: center; gap: 8px; height: 46px; }
.it-btns svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.9; } .it-wa { color: #128c4b !important; } .it-btns p { text-align: center; font-size: 12px; }
@media (max-width: 1200px) {
  .it-fl { grid-template-columns: 1fr 1fr 1fr 36px; } .it-fl .fn-del { grid-column: 4; grid-row: 1; }
  .it-ed .fn-side { grid-template-columns: 1fr 1fr; } .it-h { grid-template-columns: 180px 1fr; }
}
@media (max-width: 1000px) { .atable.it-tbl .ar { grid-template-columns: 1fr 1fr; } .atable.it-tbl .it-tt { grid-column: 1 / -1; } .atable.it-tbl .ar-act { grid-column: 1 / -1; justify-content: flex-start; } .it-res { grid-template-columns: 1fr; } .it-hf { grid-template-columns: 1fr 1fr; } .it-pr { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 700px) {
  .it-ed .fn-g3 .it-wide { grid-column: span 2; } .it-fl { grid-template-columns: 1fr 1fr; } .it-fl .fn-del { grid-column: 2; grid-row: auto; justify-self: end; }
  .it-srch { flex-wrap: wrap; } .it-srch .search-in { flex-basis: 100%; } .it-srch select { flex: 1; max-width: none; }
  .it-h { grid-template-columns: 1fr; } .it-ph { height: 170px; } .it-day { grid-template-columns: 1fr 36px; } .it-day label { grid-column: 1 / -1; } .it-day .fn-del { grid-row: 1; grid-column: 2; }
  .it-pr { grid-template-columns: 1fr 1fr; } .it-two { grid-template-columns: 1fr; } .it-ed .fn-side { grid-template-columns: 1fr; }
}
.it-srch .search-in input { border: 0 !important; height: 44px; padding: 0 8px 0 0; background: transparent; box-shadow: none; }
.it-srch .search-in { display: flex; align-items: center; gap: 8px; border: 1.5px solid var(--line); border-radius: 12px; padding: 0 12px; height: 48px; background: #fff; }
.it-srch .search-in:focus-within { border-color: var(--blue); }
.it-srch .search-in svg { width: 18px; height: 18px; color: var(--muted); flex: none; }

.it-logo { margin-top: 12px; } .it-logo input { width: 17px !important; height: 17px !important; accent-color: var(--accent); }
.fn-ed label.lf-check2.it-logo { flex-direction: row; align-items: center; gap: 8px; color: var(--ink); font-size: 13px; }
.it-share { background: #fff; border: 1.5px solid var(--line); border-radius: 18px; padding: 14px; }
.it-share > b { display: flex; align-items: center; gap: 7px; font-size: 14px; } .it-share > b svg { width: 17px; height: 17px; color: var(--accent); fill: none; stroke: currentColor; stroke-width: 2; }
.it-share > small { display: block; color: var(--muted); font-size: 12px; margin: 4px 0 10px; line-height: 1.45; }
.it-share.off { background: #f8f9fc; border-style: dashed; } .it-share.off > small { margin-bottom: 0; }
.it-url { display: flex; gap: 6px; } .it-url input { flex: 1; min-width: 0; height: 40px; border: 1.5px solid var(--line); border-radius: 10px; padding: 0 10px; font-size: 12.5px; color: var(--ink); background: #f8f9fc; font-family: ui-monospace, Menlo, monospace; }
.it-url .btn-ghost { height: 40px; padding: 0 14px; }
.it-sa { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 8px; } .it-sa a { text-decoration: none; display: inline-flex; align-items: center; gap: 6px; padding: 8px 12px; font-size: 13px; }
.it-sa svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2; } .it-sa .link-btn { font-size: 12px; color: var(--muted); }
.it-lk { display: flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 700; margin: -2px 0 10px; line-height: 1.4; }
.it-lk i { flex: none; width: 8px; height: 8px; border-radius: 50%; } .it-lk.ok { color: #137a3e; } .it-lk.ok i { background: #22a35a; }
.it-lk.no { color: #b42318; align-items: flex-start; } .it-lk.no i { background: #e5484d; margin-top: 4px; }
.it-share.exp { border-color: #f4c7c3; background: #fffafa; } .it-share.exp .it-url input { color: #9aa2b8; text-decoration: line-through; }
.it-react { width: 100%; justify-content: center; margin-bottom: 10px; }
.btn-ghost.it-exp { color: #b42318; border-color: #f4c7c3; background: #fff6f5; }
.it-views { display: block; margin-top: 8px; font-size: 11.5px; color: #137a3e; font-weight: 600; }

/* Cotizaciones: política de cancelación (admin) */
.ae-cxw { display: grid; grid-template-columns: 1fr auto; gap: 6px 16px; align-items: end; }
.ae-cxw > small { grid-column: 1 / -1; color: var(--muted); font-size: 12px; }
.ae-grid .ae-nr { display: flex; flex-direction: row; align-items: center; gap: 8px; font-weight: 600; height: 46px; white-space: nowrap; cursor: pointer; }
.qa-cx { margin: 10px 0 0; font-size: 13.5px; color: #4b5675; }

/* iPhone/iPad: los campos de fecha de Safari tienen un ancho mínimo propio y se salían del formulario */
input[type=date] { max-width: 100%; min-width: 0; }
@supports (-webkit-touch-callout: none) {
  input[type=date] { -webkit-appearance: none; appearance: none; display: block; width: 100%; box-sizing: border-box; text-align: left; min-height: 44px; }
  input[type=date]::-webkit-date-and-time-value { text-align: left; margin: 0; }
}
.ae-auto { display: block; margin-top: 4px; font-size: 12px; color: #137a3e; }

/* ===== Mi viaje (carrito) ===== */
.ct-add { display: inline-flex; align-items: center; gap: 7px; justify-content: center; }
.ct-add svg, .trip-tag svg, .ct svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.ct-add.ct-added { color: #137a3e; border-color: #9fd8b3; background: #effaf3; }
.rate-c { flex-direction: column; justify-content: center; gap: 8px; padding: 10px 0 10px 14px; }
.rate-c .ct-add.small { padding: 9px 12px; font-size: 13px; white-space: nowrap; }
.ts-cart { width: 100%; margin-top: 10px; }
.nav-trip { display: inline-flex; align-items: center; gap: 6px; }
.trip-tag { display: inline-flex; align-items: center; gap: 5px; font-size: 12px; font-weight: 700; color: #6b3fd1; background: #f3eefe; border: 1px solid #e2d6fb; border-radius: 999px; padding: 2px 9px; margin-left: 6px; }
.trip-tag svg { width: 13px; height: 13px; }
.ct-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
.ct-main { min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.ct-name { display: flex; align-items: center; gap: 10px; background: #fff; border: 1.5px solid var(--line); border-radius: 16px; padding: 4px 14px; }
.ct-name > span { width: 38px; height: 38px; border-radius: 11px; background: var(--orange, #ef8239); color: #fff; display: grid; place-items: center; flex: none; }
.ct-name input { flex: 1; min-width: 0; border: 0; outline: 0; font: 800 20px/1.2 inherit; color: var(--ink); padding: 12px 0; background: transparent; }
.ct-name i { color: var(--muted); display: grid; }
.ct-tl { display: flex; flex-direction: column; gap: 14px; position: relative; }
.ct-day { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: 14px; position: relative; }
.ct-day:not(:last-child)::before { content: ""; position: absolute; left: 28px; top: 62px; bottom: -14px; border-left: 2px dashed #cdd6ea; }
.ct-dt { width: 58px; height: 58px; border-radius: 14px; background: #eef3fd; border: 1px solid #d6e1f8; display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--ink); }
.ct-dt b { font-size: 22px; line-height: 1; } .ct-dt small { font-size: 12px; text-transform: capitalize; color: var(--muted); }
.ct-its { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
.ct-it { display: grid; grid-template-columns: 150px minmax(0, 1fr) auto; gap: 16px; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 12px; box-shadow: 0 6px 18px rgba(16, 31, 72, .05); }
.ct-ph { position: relative; height: 110px; border-radius: 12px; overflow: hidden; background: linear-gradient(135deg, #dfe8fb, #f4f7fd); }
.ct-ph img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ct-ty { position: absolute; left: 8px; top: 8px; display: inline-flex; align-items: center; gap: 5px; font-size: 11.5px; font-weight: 800; background: #fff; color: var(--ink); border-radius: 999px; padding: 3px 9px 3px 7px; box-shadow: 0 2px 8px rgba(0,0,0,.12); }
.ct-ty svg { width: 14px; height: 14px; }
.ct-bd { min-width: 0; } .ct-bd h3 { font-size: 16.5px; margin: 2px 0 4px; } .ct-bd p { margin: 0 0 8px; color: var(--muted); font-size: 13.5px; overflow-wrap: anywhere; }
.ct-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 13px; font-weight: 600; color: #3c4766; } .ct-meta span { display: inline-flex; align-items: center; gap: 5px; } .ct-meta svg { width: 15px; height: 15px; }
.ct-cx { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 12.5px; font-weight: 600; color: #8a5a00; } .ct-cx.ok { color: #137a3e; } .ct-cx svg { width: 15px; height: 15px; }
.ct-pr { display: flex; flex-direction: column; align-items: flex-end; justify-content: space-between; gap: 8px; text-align: right; }
.ct-pr b { font-size: 16px; white-space: nowrap; } .ct-pr small { color: var(--muted); font-size: 12px; max-width: 90px; }
.ct-del { width: 36px; height: 36px; border-radius: 10px; border: 1.5px solid var(--line); background: #fff; color: #8b93a9; display: grid; place-items: center; cursor: pointer; }
.ct-del:hover { color: #c0392b; border-color: #f2c2bd; background: #fff6f5; }
.ct-empty { text-align: center; padding: 50px 20px; background: #fff; border: 1.5px dashed #cdd6ea; border-radius: 18px; color: var(--muted); }
.ct-empty > svg { width: 44px !important; height: 44px !important; color: #9aa6c4; } .ct-empty h3 { color: var(--ink); margin: 10px 0 6px; }
.ct-more { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; } .ct-more > span { font-weight: 700; font-size: 14px; color: var(--muted); } .ct-more .btn-ghost { display: inline-flex; align-items: center; gap: 7px; }
.ct-side { position: static; background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 20px; box-shadow: 0 10px 30px rgba(16, 31, 72, .07); }
.ct-side h3 { margin: 0 0 12px; font-size: 18px; }
.ct-side ul { list-style: none; margin: 0 0 12px; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.ct-side li { display: flex; justify-content: space-between; gap: 12px; font-size: 13.5px; } .ct-side li span { min-width: 0; overflow-wrap: anywhere; } .ct-side li small { display: block; color: var(--muted); font-size: 12px; } .ct-side li b { white-space: nowrap; }
.ct-tot { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px dashed var(--line); padding-top: 12px; font-weight: 700; } .ct-tot b { font-size: 22px; }
.ct-note { font-size: 12.5px; color: var(--muted); margin: 8px 0 0; }
.ct-go { width: 100%; justify-content: center; margin-top: 14px; }
.ct-clear { display: block; margin: 10px auto 0; color: #c0392b; }
.ct-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 20px; }
.ct-trs { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.ct-trs .tp { display: grid; grid-template-columns: 120px 1fr 1fr 32px; gap: 10px; align-items: center; }
.ct-rm { width: 32px; height: 32px; border-radius: 9px; border: 1.5px solid var(--line); background: #fff; font-size: 18px; color: #8b93a9; cursor: pointer; }
.ct-addp { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin-top: 12px; } .ct-addp .link-btn { display: inline-flex; align-items: center; gap: 5px; } .ct-addp small { color: var(--muted); }
.ct-as { border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; margin-top: 12px; }
.ct-as-h { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; } .ct-as-h b { min-width: 0; overflow-wrap: anywhere; } .ct-as-h small { margin-left: auto; color: var(--muted); white-space: nowrap; }
.ct-as-g { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 10px; }
.ct-room { grid-column: 1 / -1; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin-top: 4px; }
.ct-sl { display: flex; flex-direction: column; gap: 4px; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.ct-sl select { height: 44px; border: 1.5px solid var(--line); border-radius: 12px; padding: 0 10px; font: inherit; font-size: 14px; color: var(--ink); background: #fff; min-width: 0; }
.ct-sl select.invalid { border-color: #e5484d; }
.ct-done { max-width: 620px; margin: 30px auto; text-align: center; background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 36px 28px; }
.ct-codes { list-style: none; padding: 0; margin: 18px 0; display: flex; flex-direction: column; gap: 8px; text-align: left; }
.ct-codes li { display: flex; gap: 12px; align-items: center; background: #f6f8fd; border-radius: 12px; padding: 10px 14px; } .ct-codes .code { font-weight: 800; }
@media (max-width: 900px) {
  .ct-grid { grid-template-columns: 1fr; } .ct-side { position: static; }
  .ct-it { grid-template-columns: 1fr; } .ct-ph { height: 150px; } .ct-pr { flex-direction: row; align-items: center; text-align: left; }
  .ct-trs .tp { grid-template-columns: 1fr 1fr 32px; } .ct-trs .tp-l { grid-column: 1 / -1; }
  .ct-day { grid-template-columns: 46px minmax(0, 1fr); gap: 10px; } .ct-dt { width: 46px; height: 50px; } .ct-day:not(:last-child)::before { left: 22px; }
}
.ct-go { font-size: 15px; padding: 14px 16px; line-height: 1.25; }
.ct textarea { width: 100%; font: inherit; font-size: 14px; border: 1.5px solid var(--line); border-radius: 12px; padding: 10px 12px; resize: vertical; color: var(--ink); }
.ct-go2 { width: auto; min-width: 260px; margin-left: auto; display: flex; }
/* Mis viajes: pestañas y viajes enviados */
.ct-tabs { display: inline-flex; gap: 4px; background: #eef2fa; border-radius: 14px; padding: 4px; margin: 0 0 18px; }
.ct-tabs button { display: inline-flex; align-items: center; gap: 7px; border: 0; background: transparent; padding: 10px 16px; border-radius: 11px; font: inherit; font-weight: 700; font-size: 14px; color: #5a6585; cursor: pointer; }
.ct-tabs button.on { background: #fff; color: var(--ink); box-shadow: 0 2px 8px rgba(16, 31, 72, .1); }
.ct-tabs b { background: var(--orange, #ef8239); color: #fff; border-radius: 999px; font-size: 11.5px; padding: 1px 7px; }
.ct-trips { display: flex; flex-direction: column; gap: 12px; }
.ct-trip { background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
.ct-trip.open { box-shadow: 0 10px 30px rgba(16, 31, 72, .08); }
.ct-trip-h { width: 100%; display: grid; grid-template-columns: 46px minmax(0, 1fr) auto auto 28px; gap: 14px; align-items: center; padding: 16px 18px; border: 0; background: transparent; text-align: left; font: inherit; color: inherit; cursor: pointer; }
.ct-trip-ic { width: 46px; height: 46px; border-radius: 13px; background: #fff3e8; color: var(--orange, #ef8239); display: grid; place-items: center; }
.ct-trip-ic svg { width: 22px !important; height: 22px !important; }
.ct-trip-t { min-width: 0; } .ct-trip-t b { display: block; font-size: 17px; overflow-wrap: anywhere; } .ct-trip-t small { color: var(--muted); font-size: 13px; } .ct-trip-t .trip-tag { margin: 0 4px 0 0; }
.ct-trip-s { display: flex; flex-wrap: wrap; gap: 6px; justify-content: flex-end; }
.ct-st { font-size: 12px; font-weight: 700; border-radius: 999px; padding: 3px 10px; white-space: nowrap; }
.ct-st.ok { background: #e7f7ee; color: #137a3e; } .ct-st.pend { background: #fff4e0; color: #9a5b00; } .ct-st.no { background: #fdecec; color: #b42318; }
.ct-trip-p { text-align: right; } .ct-trip-p b { display: block; font-size: 17px; white-space: nowrap; } .ct-trip-p small { color: var(--muted); font-size: 12px; }
.ct-chev svg { width: 22px !important; height: 22px !important; color: #8b93a9; transition: transform .2s; } .ct-trip.open .ct-chev svg { transform: rotate(180deg); }
.ct-trip-b { border-top: 1px solid var(--line); padding: 8px 18px 16px; background: #fafbfe; }
.ct-trip-tools { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px; padding: 8px 0 10px; font-size: 13px; color: #4b5675; }
.ct-trip-tools > span { display: inline-flex; align-items: center; gap: 6px; } .ct-trip-tools .link-btn { display: inline-flex; align-items: center; gap: 5px; }
.ct-svc { display: grid; grid-template-columns: 38px minmax(0, 1fr) auto 110px auto; gap: 12px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 10px 12px; margin-top: 8px; }
.ct-svc-ic { width: 38px; height: 38px; border-radius: 11px; background: #eef3fd; color: #33508f; display: grid; place-items: center; }
.ct-svc-t { min-width: 0; } .ct-svc-t b { display: block; font-size: 14.5px; overflow-wrap: anywhere; } .ct-svc-t small { color: var(--muted); font-size: 12.5px; }
.ct-svc-s { display: flex; flex-direction: column; align-items: flex-start; gap: 3px; } .ct-svc-s small { font-size: 12px; color: #4b5675; }
.ct-svc-p { font-weight: 800; text-align: right; white-space: nowrap; }
.ct-svc-a { display: flex; gap: 6px; } .ct-svc-a .btn-ghost { display: inline-flex; align-items: center; gap: 5px; padding: 8px 12px; font-size: 13px; }
@media (max-width: 900px) {
  .ct-trip-h { grid-template-columns: 40px minmax(0, 1fr) 24px; } .ct-trip-ic { width: 40px; height: 40px; }
  .ct-trip-s { grid-column: 2 / 3; justify-content: flex-start; } .ct-trip-p { grid-column: 2 / 3; text-align: left; } .ct-chev { grid-row: 1; grid-column: 3; }
  .ct-svc { grid-template-columns: 34px minmax(0, 1fr); } .ct-svc-s, .ct-svc-p, .ct-svc-a { grid-column: 2; } .ct-svc-p { text-align: left; }
  .ct-tabs { display: flex; } .ct-tabs button { flex: 1; justify-content: center; padding: 10px 8px; }
}
.ct-codes .ct-cn { flex: 1; min-width: 0; } .ct-codes li { flex-wrap: wrap; } .ct-codes small { color: #4b5675; }
/* Autocompletado: grupo de hoteles por nombre */
#suggest li.sg-h { pointer-events: none; font-size: 11.5px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #8b93a9; padding: 10px 16px 4px; border-top: 1px solid #eef1f7; background: transparent; }
#suggest .sg-ic { margin-right: 6px; } #suggest .sg-hotel em { font-style: normal; color: #f5a524; font-size: 12px; letter-spacing: 1px; }
.cx-warn { width: 54px; height: 54px; border-radius: 50%; background: #fdecec; color: #d92d20; font: 900 30px/54px system-ui, sans-serif; text-align: center; margin: 0 auto 12px; }
.cx-warn + h2 { text-align: center; } .cx-code { text-align: center; font-weight: 700; color: #4b5675; margin-top: -4px; }
/* ===== Tarifas y markup (admin) ===== */
.rs-dlg h2 { margin: 0 0 6px; }
.rs-dlg > .muted-s { display: block; margin: 0 0 12px; }
.rs-src { border: 1.5px solid var(--line); border-radius: 14px; padding: 14px; margin: 10px 0; background: #fafbfc; transition: border-color .2s, background .2s; }
.rs-src.on { border-color: var(--accent); background: #fff; }
.rs-h { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.rs-h b { display: block; font-size: 16px; } .rs-h small { color: var(--muted); font-size: 12.5px; } .rs-h small.warn-t { color: #8a5a00; }
.rs-sw { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; flex-shrink: 0; }
.rs-sw input { position: absolute; opacity: 0; pointer-events: none; }
.rs-sw span { width: 42px; height: 24px; border-radius: 99px; background: #cfd4dc; position: relative; transition: background .2s; }
.rs-sw span::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .2s; }
.rs-sw input:checked + span { background: #1f9d55; } .rs-sw input:checked + span::after { transform: translateX(18px); }
.rs-sw input:disabled + span { opacity: .45; } .rs-sw em { font-style: normal; font-size: 13px; font-weight: 600; min-width: 74px; }
.rs-m { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
.rs-m label { min-width: 0; display: flex; flex-direction: column; gap: 4px; font-size: 13px; font-weight: 600; }
.rs-m input { width: 100%; box-sizing: border-box; font: inherit; border: 1px solid var(--line); border-radius: 10px; padding: 9px 11px; min-width: 0; }
.rs-ex { grid-column: 1 / -1; font-size: 13px; color: var(--muted); } .rs-ex b { color: var(--ink, #111); }
.rs-dlg .dlg-acts { display: flex; justify-content: flex-end; margin-top: 12px; }
.ae-cost { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; background: #f3f8f5; border: 1px solid #d4eadd; border-radius: 12px; padding: 12px 14px; margin: 0 0 14px; }
.ae-cost small { display: block; font-size: 11.5px; color: var(--muted); } .ae-cost b { font-size: 15px; }
.ae-cost .ae-cost-ref { grid-column: 1 / -1; word-break: break-all; }
@media (max-width: 560px) { .rs-m, .ae-cost { grid-template-columns: 1fr 1fr; } .rs-h { flex-wrap: wrap; } }
/* ===== Módulo Tarifas y markup ===== */
.rts .pg-head p { max-width: 720px; }
.rts-sec { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 20px 22px; margin: 0 0 18px; }
.rts-sec h2 { font-size: 18px; margin: 0 0 12px; }
.rts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.rts-grid .rs-src { margin: 0; }
.rts .rs-m label { min-width: 0; }
.rts .rs-m input { width: 100%; box-sizing: border-box; }
.rts-save { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-top: 14px; }
.rts-save .btn-primary { flex-shrink: 0; }
.rts-rules { margin: 14px 0 0; padding-left: 18px; color: var(--muted); font-size: 13.5px; line-height: 1.6; }
.rts-sh { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px; } .rts-sh h2 { margin: 0; }
.rts-kpis { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; margin-bottom: 12px; }
.rts-kpis > div { background: #f6f7fa; border-radius: 14px; padding: 12px 14px; } .rts-kpis small { display: block; color: var(--muted); font-size: 12px; } .rts-kpis b { font-size: 20px; }
.rts-by { display: grid; gap: 8px; margin-bottom: 10px; }
.rts-by > div { display: grid; grid-template-columns: 110px 1fr auto; align-items: center; gap: 12px; border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; }
.rts-by span { color: var(--muted); font-size: 13px; } .rts-by strong { color: #137a3e; }
.rts-tbl { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.rts-r { display: grid; grid-template-columns: 1.1fr 1.6fr .7fr .7fr .7fr .7fr; gap: 10px; padding: 10px 14px; border-top: 1px solid var(--line); align-items: center; font-size: 14px; }
.rts-r:first-child { border-top: 0; } .rts-r small { display: block; color: var(--muted); font-size: 12px; }
.rts-hd { background: #f6f7fa; font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .03em; }
@media (max-width: 820px) {
  .rts-grid, .rts-kpis { grid-template-columns: 1fr 1fr; } .rts-grid { grid-template-columns: 1fr; }
  .rts-save { flex-direction: column; align-items: stretch; }
  .rts-hd { display: none; } .rts-r { grid-template-columns: 1fr 1fr; } .rts-r > span:nth-child(2) { grid-column: 1 / -1; order: -1; }
  .rts-by > div { grid-template-columns: 1fr auto; } .rts-by span { grid-column: 1 / -1; order: 3; }
  .rts-sec { padding: 16px; }
}
/* Reserva en Nuitée (admin) */
.nt-pan { border: 1.5px solid var(--line); border-radius: 12px; padding: 12px 14px; margin: 0 0 14px; background: #fafbfc; display: grid; gap: 8px; }
.nt-pan.ok { border-color: #bfe3cc; background: #f3faf6; }
.nt-h b { display: block; } .nt-h span { font-size: 13px; color: var(--muted); }
.nt-row { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 13.5px; } .nt-row small { color: var(--muted); }
.nt-warn { font-size: 13px; background: #fff4e0; color: #8a5a00; border-radius: 10px; padding: 8px 10px; }
.nt-act { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.nt-act input { font: inherit; border: 1px solid var(--line); border-radius: 10px; padding: 8px 10px; width: 170px; }
.warn-t { color: #a35c00; }
/* ===== Hotel buscado por nombre sin tarifa ===== */
.hcard.nr .nr-box { display: flex; flex-direction: column; gap: 6px; }
.nr-tag { align-self: flex-start; background: #fff4e0; color: #8a5a00; border-radius: 999px; padding: 5px 12px; font-weight: 700; font-size: 13.5px; }
.hcard.nr .nr-box small { color: var(--muted); font-size: 13px; }
.nr-from { font-size: 20px; font-weight: 800; color: var(--muted); }
/* Markup por agencia */
.rts-agnote { display: block; margin: -4px 0 12px; }
.rts-ag { border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.rts-agr { display: grid; grid-template-columns: minmax(160px, 1.6fr) repeat(4, minmax(70px, .7fr)) 120px; gap: 8px; padding: 9px 12px; border-top: 1px solid var(--line); align-items: center; }
.rts-agr:first-child { border-top: 0; }
.rts-agr[hidden] { display: none; }
.rts-agr > span:first-child { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.rts-agr > span:first-child b { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rts-agr small { color: var(--muted); font-size: 12px; }
.rts-own { font-style: normal; font-size: 11.5px; font-weight: 700; color: #137a3e; background: #e8f6ee; border-radius: 99px; padding: 1px 8px; align-self: flex-start; }
.rts-agr input { font: inherit; width: 100%; box-sizing: border-box; border: 1px solid var(--line); border-radius: 9px; padding: 7px 9px; min-width: 0; }
.rts-agr.rts-hd { background: #f6f7fa; font-size: 12px; font-weight: 700; color: var(--muted); }
#rtsAgQ { max-width: 220px; }
.rts-in { display: block; min-width: 0; } .rts-in i { display: none; font-style: normal; font-size: 11.5px; color: var(--muted); margin-bottom: 3px; }
@media (max-width: 820px) {
  .rts-agr { grid-template-columns: 1fr 1fr; } .rts-agr > span:first-child, .rts-agr [data-agsave] { grid-column: 1 / -1; }
  .rts-agr.rts-hd { display: none; }
  .rts-in i { display: block; }
}
.rts-agr [data-agsave] { width: 100%; justify-content: center; }
@media (max-width: 820px) { .rts-sh { flex-wrap: wrap; } #rtsAgQ { max-width: none; width: 100%; } }

/* Itinerarios: habitaciones cotizadas por hotel */
.it-rooms { border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; margin: 0 0 10px; background: #fafbfd; }
.it-rh { display: flex; align-items: baseline; gap: 10px; margin: 0 0 6px; } .it-rh b { font-size: 13.5px; } .it-rh small { color: var(--muted); font-size: 12px; }
.it-room { display: grid; grid-template-columns: 64px 108px minmax(0, 1fr) 26px; gap: 8px; align-items: end; margin: 0 0 8px; }
.it-room select, .it-room input { min-width: 0; width: 100%; }
.it-room .fn-del { margin-bottom: 4px; }
.it-radd { font-size: 13px; font-weight: 600; }
@media (max-width: 700px) { .it-room { grid-template-columns: 80px 1fr 34px; } .it-room .it-rn { grid-column: 1 / -1; grid-row: 2; } .it-hf { grid-template-columns: 1fr 1fr; } }

/* Conector de Claude · tarjeta en Itinerarios */
.it-claude { border: 1px solid #f3d7c2; background: linear-gradient(180deg, #fff8f2, #fff); border-radius: 14px; margin: 0 0 16px; }
.it-claude summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: auto 1fr; column-gap: 10px; align-items: center; padding: 12px 16px; }
.it-claude summary::-webkit-details-marker { display: none; }
.it-claude summary small { grid-column: 2; color: var(--muted, #6b7490); font-size: 12.5px; }
.it-claude .itc-ic { grid-row: span 2; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; background: #ef8239; color: #fff; font-size: 15px; }
.it-claude .itc-body { padding: 0 16px 14px 56px; font-size: 13.5px; line-height: 1.5; }
.it-claude ol { margin: 0 0 8px; padding-left: 18px; display: grid; gap: 6px; }
.it-claude .itc-url { display: inline-flex; gap: 6px; align-items: center; flex-wrap: wrap; margin-left: 4px; }
.it-claude code { background: #fff; border: 1px solid var(--line); border-radius: 8px; padding: 3px 8px; font-size: 12.5px; }
@media (max-width: 640px) { .it-claude .itc-body { padding-left: 16px; } }
.itc-steps { margin: 0 0 10px; padding-left: 18px; display: grid; gap: 7px; font-size: 13.5px; line-height: 1.5; }
.itc-ex { margin: 4px 0 10px; padding-left: 18px; display: grid; gap: 5px; font-size: 13px; color: #33405f; font-style: italic; }
.it-claude-dlg .itc-url { display: inline-flex; gap: 6px; align-items: center; flex-wrap: wrap; margin-left: 4px; }
.it-claude-dlg code { background: #f6f7fb; border: 1px solid var(--line); border-radius: 8px; padding: 3px 8px; font-size: 12.5px; word-break: break-all; }
.fn-g3 .fn-itin { grid-column: 1 / -1; } .fn-itin small { font-weight: 400; color: var(--muted, #6b7490); }

/* ======== Clientes directos (B2C) ======== */
.user-box:has(> a) { display: flex; gap: 8px; align-items: center; }
.user-box > a.small { padding: 8px 14px; font-size: 14px; text-decoration: none; }
.b2c-tag { display: inline-block; margin-left: 6px; font-size: 11px; font-weight: 700; color: #0f6b4f; background: #e3f6ee; border-radius: 999px; padding: 2px 8px; vertical-align: middle; white-space: nowrap; }
.cu-head { margin-top: 36px; }
.cu-head h2 { margin: 0 0 4px; font-size: 20px; }
.atable.cu .ar { grid-template-columns: 1.4fr 1fr 1.4fr .6fr .8fr .8fr; }
.rg-terms { align-items: flex-start; margin: 14px 0 4px; font-size: 13px; line-height: 1.4; }
.b2c-sec { border-left: 4px solid #1fa37a; }
@media (max-width: 720px) {
  .user-box > a.btn-ghost { display: none; }
  .atable.cu .ar { grid-template-columns: 1fr 1fr; }
}
