: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.4fr 1.1fr 1.4fr 90px 130px 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; } .adm-agency .btn-wa { padding: 10px 16px; }
.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; }
.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; }
}
