:root {
  --brand: #D7263D;
  --paper: #EEF4EC; --panel: #FFFFFF; --ink: #16261B; --muted: #5B6E60; --line: #D3DFD0;
  --sea: #CBE4E1; --sea-ink: #5E8F8A; --land: #A7C796; --land-edge: #6F9862; --lake: #9FCFD6;
  --macaw: #D7263D; --macaw-ink: #FFFFFF; --sun: #F2B705; --leaf: #2F6B3F;
  --chip: #E3ECE0; --focus: #1A73E8; --alta: #92400E; --alta-bg: #FDECC8; --baja: #2F6B3F; --baja-bg: #DCEFD9;
  color-scheme: light;
  box-sizing: border-box;
  padding-top: env(safe-area-inset-top, 0px);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
@media (prefers-color-scheme: dark) {
  :root {
    --paper: #0F1A14; --panel: #16241B; --ink: #E4EEE2; --muted: #9AB09E; --line: #2A3D30;
    --sea: #12303A; --sea-ink: #6EA3A6; --land: #2F4D34; --land-edge: #4D7A52; --lake: #1F4F5C;
    --macaw: #FF4D5E; --macaw-ink: #1A0B0D; --sun: #F5C430; --leaf: #7FC28E;
    --chip: #21352A; --focus: #8AB4F8; --alta: #F5C26B; --alta-bg: #3A2C12; --baja: #8FD19E; --baja-bg: #1D3524;
    color-scheme: dark;
  }
}
*, *::before, *::after { box-sizing: inherit; }
html { scroll-padding-top: env(safe-area-inset-top, 0px); }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.5 "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif; -webkit-font-smoothing: antialiased; }
h1, h2, h3 { font-family: "Bricolage Grotesque", "Instrument Sans", system-ui, sans-serif; margin: 0; line-height: 1.1; }
button, select, input, textarea { font: inherit; color: inherit; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 6px; }
[hidden] { display: none !important; }
.wrap { max-width: 1440px; margin: 0 auto; padding: 16px clamp(14px, 3vw, 32px) 40px; }

/* Header */
header.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 8px; }
.brand { text-decoration: none; }
.brand .brand-name { display: block; font: 800 clamp(2rem, 4.5vw, 3.2rem)/1.1 "Bricolage Grotesque", "Instrument Sans", system-ui, sans-serif; letter-spacing: -.03em; }
.nav { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.nav a { text-decoration: none; font-weight: 600; padding: .2rem 0; border-bottom: 2.5px solid transparent; }
.nav a.on { border-color: var(--macaw); }
#userArea { display: flex; gap: 10px; align-items: center; color: var(--muted); font-size: .92rem; }
.intro { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.intro p { margin: 0; color: var(--muted); max-width: 60ch; }
.presets { display: flex; gap: 8px; flex-wrap: wrap; }

.btn { border: 1.5px solid var(--line); background: var(--panel); border-radius: 999px; padding: .45rem .95rem; cursor: pointer; font-weight: 500; text-decoration: none; display: inline-flex; align-items: center; justify-content: center; }
.btn:hover { border-color: var(--leaf); }
.btn.primary { background: var(--macaw); color: var(--macaw-ink); border-color: var(--macaw); font-weight: 600; }
.btn.ghost { background: transparent; }
.btn.small { padding: .25rem .75rem; font-size: .88rem; }
.btn.wide { width: 100%; padding: .65rem; }
.btn:disabled { opacity: .5; cursor: progress; }
.link { border: 0; background: none; padding: 0; color: var(--leaf); font-weight: 600; cursor: pointer; text-decoration: underline; }

.layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(340px, 1fr); gap: 22px; align-items: start; }
@media (max-width: 920px) { .layout { grid-template-columns: minmax(0, 1fr); } }

/* Map */
.mapcard { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 12px); background: var(--sea); border-radius: 28px; overflow: hidden; }
@media (max-width: 920px) { .mapcard { position: relative; top: 0; } }
.filters { display: flex; gap: 6px; flex-wrap: wrap; padding: 14px 14px 0; }
.chip { border: 0; background: var(--panel); border-radius: 999px; padding: .3rem .8rem; font-size: .86rem; cursor: pointer; display: inline-flex; gap: 6px; align-items: center; }
.chip i { width: 9px; height: 9px; border-radius: 50%; display: inline-block; }
.chip[aria-pressed="true"] { background: var(--ink); color: var(--paper); }
svg#map { display: block; width: 100%; height: auto; touch-action: manipulation; }
.land { fill: var(--land); stroke: var(--land-edge); stroke-width: 2; stroke-linejoin: round; }
.lake { fill: var(--lake); }
.sealabel { fill: var(--sea-ink); font: italic 600 22px "Bricolage Grotesque", sans-serif; letter-spacing: .2em; }
.countrylabel { fill: var(--sea-ink); font: 500 15px "Instrument Sans", sans-serif; opacity: .8; }
.route-line { fill: none; stroke: var(--macaw); stroke-width: 4; stroke-dasharray: 2 10; stroke-linecap: round; }
.dest { cursor: pointer; }
.dest .dot { stroke: var(--panel); stroke-width: 3; }
.dest:hover .dot, .dest:focus .dot { r: 11; }
.dest.dim { opacity: .22; }
.dest .lbl { font: 600 15px "Instrument Sans", sans-serif; fill: var(--ink); paint-order: stroke; stroke: var(--land); stroke-width: 4px; stroke-linejoin: round; }
.stopnum { fill: var(--macaw); }
.stopnum-t { fill: var(--macaw-ink); font: 700 15px "Bricolage Grotesque", sans-serif; pointer-events: none; }
.dest .ring { stroke: var(--sun); stroke-width: 4; fill: none; }
svg#map.compact .dest .lbl { display: none; font-size: 34px; stroke-width: 8px; }
svg#map.compact .dest.active .lbl, svg#map.compact .dest.focus .lbl { display: inline; }
svg#map.compact .dest .dot { r: 17; stroke-width: 5; }
svg#map.compact .stopnum { r: 26; }
svg#map.compact .stopnum-t { font-size: 28px; }
svg#map.compact .dest .ring { r: 34; stroke-width: 6; }
.map-msg { padding: 40px 20px; text-align: center; color: var(--muted); }

.detail { position: absolute; left: 14px; right: 14px; bottom: 14px; background: var(--panel); border-radius: 20px; padding: 16px 18px; box-shadow: 0 10px 30px rgba(10, 30, 20, .18); max-width: 460px; display: none; max-height: 70%; overflow: auto; }
.detail.show { display: block; }
.detail h2 { font-size: 1.35rem; }
.detail img { width: 100%; height: 140px; object-fit: cover; border-radius: 12px; margin: 6px 0; }
.detail p { margin: .4rem 0 .7rem; font-size: .95rem; }
.detail .acts { display: flex; gap: 8px; flex-wrap: wrap; }
.close { position: absolute; top: 8px; right: 10px; border: 0; background: none; font-size: 1.5rem; cursor: pointer; color: var(--muted); line-height: 1; }
.reg { font-size: .85rem; color: var(--muted); }
.tags { display: flex; gap: 6px; flex-wrap: wrap; margin-top: .25rem; }
.tags span { background: var(--chip); border-radius: 6px; padding: 0 .45rem; font-size: .8rem; }

/* Panel */
.panel { background: var(--panel); border-radius: 28px; padding: 20px clamp(16px, 2vw, 24px); }
.panel-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.panel h2, .mine-head h1 { font-size: 1.7rem; letter-spacing: -.02em; }
.draft-tag { font-size: .85rem; color: var(--muted); }
.trip-basics { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 14px 0 4px; }
label.f { display: flex; flex-direction: column; gap: 4px; font-size: .85rem; color: var(--muted); }
label.f input, label.f select, label.f textarea { border: 1.5px solid var(--line); border-radius: 10px; padding: .45rem .6rem; background: var(--paper); color: var(--ink); font-size: .95rem; min-width: 0; }
label.f.notes { margin-top: 14px; }
.hint { font-size: .85rem; color: var(--muted); margin: 4px 0 0; }
.alert { background: #FDE2E4; color: #8A1020; border-radius: 12px; padding: .6rem .8rem; font-size: .92rem; margin-top: 12px; }
@media (prefers-color-scheme: dark) { .alert { background: #3B1418; color: #FFB3BC; } }
.empty { border: 2px dashed var(--line); border-radius: 18px; padding: 22px; text-align: center; color: var(--muted); margin: 14px 0; }
.empty strong { display: block; color: var(--ink); font-size: 1.1rem; margin-bottom: 4px; }

ol.route { list-style: none; margin: 14px 0 0; padding: 0; }
.stop { border: 1.5px solid var(--line); border-radius: 18px; padding: 12px 14px; }
.stop-head { display: flex; align-items: center; gap: 10px; }
.num { flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--macaw); color: var(--macaw-ink); display: grid; place-items: center; font: 700 .95rem "Bricolage Grotesque", sans-serif; }
.stop-head h3 { font-size: 1.12rem; flex: 1; min-width: 0; }
.stop-head .days { font-size: .82rem; color: var(--muted); font-weight: 500; font-family: "Instrument Sans", sans-serif; display: flex; gap: 6px; flex-wrap: wrap; align-items: center; margin-top: 3px; }
.iconbtn { border: 1.5px solid var(--line); background: transparent; border-radius: 8px; width: 30px; height: 30px; cursor: pointer; display: grid; place-items: center; font-size: .9rem; color: var(--ink); flex: none; }
.iconbtn:disabled { opacity: .35; cursor: default; }
.season { border-radius: 6px; padding: 0 .4rem; font-size: .76rem; font-weight: 600; }
.season.alta { background: var(--alta-bg); color: var(--alta); }
.season.baja { background: var(--baja-bg); color: var(--baja); }
.stop-grid { display: grid; grid-template-columns: auto 1fr; gap: 8px; margin-top: 10px; align-items: end; }
.stop-grid > *, .stop-grid .two > * { min-width: 0; }
.stop-grid select { width: 100%; text-overflow: ellipsis; }
.stop-grid .full { grid-column: 1 / -1; }
.stop-grid .two { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; grid-column: 1 / -1; }
@media (max-width: 480px) { .stop-grid .two { grid-template-columns: 1fr; } }
.stepper { display: flex; align-items: center; border: 1.5px solid var(--line); border-radius: 10px; overflow: hidden; background: var(--paper); }
.stepper button { border: 0; background: transparent; width: 32px; height: 34px; cursor: pointer; font-size: 1.1rem; }
.stepper output { min-width: 26px; text-align: center; font-weight: 600; color: var(--ink); }
.hotel-info { font-size: .84rem; color: var(--muted); margin-top: 6px; }
.stars { color: var(--sun); letter-spacing: 1px; }
details.extras { margin-top: 10px; }
details.extras summary { cursor: pointer; font-size: .9rem; font-weight: 600; color: var(--leaf); }
.extra { display: flex; align-items: center; gap: 8px; padding: 5px 0; font-size: .92rem; }
.extra input { width: 18px; height: 18px; accent-color: var(--macaw); flex: none; }
.extra small { display: block; color: var(--muted); font-size: .78rem; }
.extra .p { margin-left: auto; color: var(--muted); white-space: nowrap; }
.avail { font-size: .85rem; border-radius: 8px; padding: .35rem .6rem; margin: 10px 0 0; }
.avail.low { background: var(--alta-bg); color: var(--alta); }
.avail.out { background: #FDE2E4; color: #8A1020; }
.big-wrap { display: flex; flex-direction: column; align-items: flex-end; }
.big-crc { font: 700 1.15rem "Bricolage Grotesque", sans-serif; color: var(--muted); font-variant-numeric: tabular-nums; }
.pkg .amount small.crc { font-size: .95rem; color: var(--muted); font-weight: 600; }
.pay-hint { color: var(--macaw); font-weight: 600; }
.pay-box { background: var(--chip); border-radius: 16px; padding: 14px 16px; display: flex; flex-direction: column; gap: 8px; }
.pay-box h4 { margin: 0; font: 700 1.1rem "Bricolage Grotesque", sans-serif; }
.pay-box .btn small { opacity: .8; font-weight: 500; }
.stop-sub { display: flex; justify-content: space-between; margin-top: 10px; padding-top: 8px; border-top: 1px dashed var(--line); font-size: .9rem; }
.stop-sub b { font-variant-numeric: tabular-nums; }

.leg { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; padding: 8px 0 8px 14px; margin-left: 14px; border-left: 2.5px dashed var(--macaw); font-size: .88rem; color: var(--muted); }
.leg select { border: 1.5px solid var(--line); border-radius: 8px; padding: .25rem .4rem; background: var(--paper); color: var(--ink); font-size: .88rem; }
.leg .note { display: block; font-size: .8rem; }

.totals { margin-top: 18px; border-top: 2px solid var(--ink); padding-top: 12px; }
.trow { display: flex; justify-content: space-between; padding: 3px 0; font-size: .95rem; }
.trow span:last-child { font-variant-numeric: tabular-nums; }
.grand { display: flex; justify-content: space-between; align-items: baseline; margin-top: 8px; gap: 10px; }
.grand .big { font: 800 2.2rem "Bricolage Grotesque", sans-serif; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.grand small { color: var(--muted); }
.totals.loading { opacity: .55; }
.disclaimer { font-size: .8rem; color: var(--muted); margin-top: 8px; }
.actions { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }

.itin { margin-top: 22px; }
.itin h3 { font-size: 1.2rem; margin-bottom: 8px; }
.itin ol { margin: 0; padding-left: 1.2rem; }
.itin li { margin: 3px 0; font-size: .93rem; }

/* My packages */
.mine-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin: 12px 0 16px; }
.pkg-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(300px, 100%), 1fr)); gap: 14px; }
.pkg { background: var(--panel); border-radius: 20px; padding: 16px 18px; display: flex; flex-direction: column; gap: 6px; }
.pkg-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.pkg h2 { font-size: 1.15rem; }
.pkg .route-names { color: var(--muted); font-size: .92rem; }
.pkg .amount { font: 700 1.4rem "Bricolage Grotesque", sans-serif; }
.pkg .msg { background: var(--chip); border-radius: 10px; padding: .5rem .7rem; font-size: .9rem; }
.pkg .row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }
.status { border-radius: 999px; padding: .1rem .6rem; font-size: .8rem; font-weight: 600; background: var(--chip); }
.status.solicitado { background: #DCE8FB; color: #1F4E9C; }
.status.cotizado { background: var(--alta-bg); color: var(--alta); }
.status.confirmado, .status.pagado { background: var(--baja-bg); color: var(--baja); }
.status.cancelado { background: #F1D9DC; color: #8A1020; }
@media (prefers-color-scheme: dark) {
  .status.solicitado { background: #1B2D4D; color: #A9C7FF; }
  .status.cancelado { background: #3B1418; color: #FFB3BC; }
}

/* Dialogs */
dialog { border: 0; border-radius: 22px; padding: 0; background: var(--panel); color: var(--ink); width: min(440px, calc(100vw - 24px)); max-height: calc(100vh - 40px); }
dialog#pkgDlg { width: min(720px, calc(100vw - 24px)); }
dialog::backdrop { background: rgba(8, 20, 12, .55); }
dialog form, #pkgBody { padding: 22px 24px; display: flex; flex-direction: column; gap: 12px; position: relative; }
dialog h3 { font-size: 1.5rem; }
dialog .two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.switch { text-align: center; font-size: .92rem; margin: 0; }
.reg-only { display: none; }
#authForm.register .reg-only { display: block; }
#authForm.register .reg-only.two { display: grid; }
table.detail-table { width: 100%; border-collapse: collapse; font-size: .9rem; }
table.detail-table th, table.detail-table td { text-align: left; padding: 6px 4px; border-bottom: 1px solid var(--line); vertical-align: top; }
table.detail-table td.r, table.detail-table th.r { text-align: right; font-variant-numeric: tabular-nums; }

.foot { margin-top: 30px; color: var(--muted); font-size: .88rem; text-align: center; }

.toast { position: fixed; left: 50%; bottom: calc(env(safe-area-inset-bottom, 0px) + 20px); transform: translateX(-50%) translateY(20px); background: var(--ink); color: var(--paper); padding: .6rem 1rem; border-radius: 12px; opacity: 0; transition: .25s; pointer-events: none; font-size: .92rem; z-index: 50; max-width: calc(100vw - 30px); }
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
@media print {
  .mapcard, .presets, .actions, .iconbtn, .stepper button, .nav, .intro { display: none !important; }
  .layout { grid-template-columns: minmax(0, 1fr); }
  body { background: #fff; color: #000; }
}

/* ---------- CMS: header, banners, pages, footer, media ---------- */
.brand .logo { max-height: 56px; max-width: 220px; display: block; }
.nav-pages { display: contents; }
.hero-title { font-size: clamp(1.5rem, 3vw, 2.1rem); letter-spacing: -.02em; margin-bottom: 6px; }
.hero { position: relative; border-radius: 28px; overflow: hidden; min-height: clamp(220px, 32vw, 380px); margin: 6px 0 18px; background: linear-gradient(120deg, var(--leaf), var(--macaw)); }
.hero .slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity .6s; display: flex; align-items: flex-end; color: #fff; }
.hero .slide.on { opacity: 1; z-index: 1; }
.hero .slide::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.55), rgba(0,0,0,.05) 65%); }
.hero .slide.dark-text { color: #111; }
.hero .slide.dark-text::after { background: linear-gradient(0deg, rgba(255,255,255,.7), rgba(255,255,255,0) 65%); }
.hero .bg-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.slide-text { position: relative; z-index: 2; padding: clamp(18px, 4vw, 40px); max-width: 720px; }
.slide-text h2 { font-size: clamp(1.8rem, 4.5vw, 3.2rem); font-weight: 800; letter-spacing: -.03em; }
.slide-text p { font-size: 1.08rem; margin: .4rem 0 .9rem; }
.hero .dots { position: absolute; z-index: 3; right: 18px; bottom: 16px; display: flex; gap: 8px; }
.hero .dots button { width: 11px; height: 11px; border-radius: 50%; border: 2px solid #fff; background: transparent; cursor: pointer; padding: 0; }
.hero .dots button.on { background: #fff; }
.page { background: var(--panel); border-radius: 28px; padding: clamp(18px, 4vw, 44px); max-width: 900px; margin: 10px auto; }
.page h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); letter-spacing: -.02em; margin-bottom: 12px; }
.page-cover { width: 100%; max-height: 360px; object-fit: cover; border-radius: 18px; margin-bottom: 18px; }
.md { font-size: 1.02rem; line-height: 1.65; }
.md h2, .md h3, .md h4 { margin: 1.3em 0 .4em; }
.md img { max-width: 100%; border-radius: 14px; }
.md a { color: var(--leaf); }
.embed { position: relative; padding-top: 56.25%; border-radius: 14px; overflow: hidden; margin: 1em 0; background: #000; }
.embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
video.video { width: 100%; border-radius: 14px; margin: 1em 0; background: #000; }
.contact-wrap { display: grid; grid-template-columns: 1fr 1.4fr; gap: 24px; margin-top: 24px; }
@media (max-width: 720px) { .contact-wrap { grid-template-columns: 1fr; } }
.contact-info p { margin: 0 0 14px; }
.contact-info a { color: var(--leaf); }
.contact-form { display: flex; flex-direction: column; gap: 10px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.foot { text-align: left; margin-top: 40px; padding-top: 22px; border-top: 1px solid var(--line); }
.foot-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.foot p { margin: 6px 0; }
.foot .links { display: flex; gap: 12px; flex-wrap: wrap; }
.foot .links.col { flex-direction: column; gap: 4px; }
.foot a { color: var(--leaf); text-decoration: none; }
.foot a:hover { text-decoration: underline; }
.login-only { margin-top: -4px; }
#authForm.register .login-only { display: none; }
.detail-cover { cursor: zoom-in; }
.thumbs { display: flex; gap: 6px; margin: 6px 0; flex-wrap: wrap; }
.thumb { width: 54px; height: 42px; border-radius: 8px; border: 0; background: var(--chip) center / cover; cursor: pointer; color: var(--ink); font-size: 1rem; }
.thumb.video { background: var(--ink); color: var(--paper); }
.hotel-info { display: flex; gap: 10px; align-items: flex-start; }
.hotel-info p { margin: 0; }
.hotel-thumb { flex: none; width: 64px; height: 48px; border-radius: 8px; border: 0; background: var(--chip) center / cover; cursor: zoom-in; }
dialog.media-dlg { width: min(960px, calc(100vw - 20px)); }
#mediaBody { padding: 18px 20px; position: relative; }
#mediaBody h3 { margin-bottom: 10px; padding-right: 30px; }
.media-stage img { width: 100%; max-height: 70vh; object-fit: contain; border-radius: 12px; background: #000; display: block; }
.media-nav { display: flex; justify-content: center; align-items: center; gap: 14px; margin-top: 10px; }

/* ---------- Language switch ---------- */
.lang-switch { display: inline-flex; border: 1.5px solid var(--line); border-radius: 999px; overflow: hidden; }
.lang-switch button { border: 0; background: transparent; padding: .25rem .6rem; font-size: .82rem; font-weight: 700; cursor: pointer; color: var(--muted); }
.lang-switch button[aria-pressed="true"] { background: var(--ink); color: var(--paper); }

/* ---------- "Also available in…" hint ---------- */
.lang-hint { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; background: var(--chip); border-radius: 14px; padding: .5rem .9rem; margin: 6px 0 12px; font-size: .92rem; position: relative; padding-right: 2.4rem; }
.lang-hint a { color: var(--leaf); font-weight: 700; }
.lang-hint .close { top: 50%; transform: translateY(-50%); font-size: 1.3rem; }

/* ---------- Destination pages ---------- */
.crumbs { font-size: .88rem; color: var(--muted); margin: 4px 0 12px; }
.crumbs a { color: var(--leaf); text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.dest-page, .dest-index { max-width: 1200px; margin: 0 auto; }
.dest-hero { position: relative; min-height: clamp(240px, 36vw, 420px); border-radius: 28px; overflow: hidden; display: flex; align-items: flex-end;
  background: linear-gradient(120deg, var(--leaf), var(--macaw)) center / cover; color: #fff; }
.dest-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.6), rgba(0,0,0,.05) 70%); }
.dest-hero-text { position: relative; z-index: 1; padding: clamp(18px, 4vw, 40px); max-width: 760px; }
.dest-hero-text h1 { font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 800; letter-spacing: -.03em; }
.dest-hero-text p { font-size: 1.1rem; margin: .4rem 0 .7rem; }
.dest-hero-text .reg { color: rgba(255,255,255,.85); font-weight: 600; }
.dest-hero .tags span { background: rgba(255,255,255,.2); color: #fff; }
.dest-grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 24px; margin-top: 22px; align-items: start; }
@media (max-width: 900px) { .dest-grid { grid-template-columns: 1fr; } }
.dest-main { background: var(--panel); border-radius: 24px; padding: clamp(16px, 3vw, 30px); }
.dest-main > h2, .dest-main > .rv-block > h2 { font-size: 1.35rem; margin: 22px 0 10px; }
.dest-main > h2:first-child { margin-top: 0; }
.dest-gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 8px; }
.g-photo { aspect-ratio: 4 / 3; border: 0; border-radius: 12px; background: var(--chip) center / cover; cursor: zoom-in; }
.hotel-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 12px; }
.hotel-card { border: 1.5px solid var(--line); border-radius: 16px; overflow: hidden; display: flex; flex-direction: column; }
.hc-img { height: 130px; background: var(--chip) center / cover; }
.hc-body { padding: 10px 12px; display: flex; flex-direction: column; gap: 3px; }
.hc-price { font-weight: 700; color: var(--leaf); }
.act-list { list-style: none; padding: 0; margin: 0; }
.act-list li { display: flex; justify-content: space-between; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); }
.act-list small { display: block; color: var(--muted); }
.dest-side { position: sticky; top: calc(env(safe-area-inset-top, 0px) + 12px); display: flex; flex-direction: column; gap: 12px; }
@media (max-width: 900px) { .dest-side { position: static; } }
.side-box { background: var(--panel); border-radius: 20px; padding: 16px 18px; }
.side-box h2 { font-size: 1.3rem; margin-bottom: 6px; }
.side-box h3 { margin: 0 0 6px; font: 700 1rem "Bricolage Grotesque", sans-serif; }
.side-box p { margin: 4px 0; }
.side-box .btn.small { margin: 3px 3px 0 0; }
.side-price { font-size: 1.05rem; }
.side-price b { font: 800 1.5rem "Bricolage Grotesque", sans-serif; }
.back-link { color: var(--leaf); font-weight: 600; text-decoration: none; padding-left: 4px; }
.dest-index h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); letter-spacing: -.02em; }
.dest-region h2 { display: flex; align-items: center; gap: 8px; font-size: 1.3rem; margin: 26px 0 10px; }
.dest-region h2 i { width: 12px; height: 12px; border-radius: 50%; display: inline-block; }
.dest-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.dest-card { background: var(--panel); border-radius: 20px; overflow: hidden; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; transition: transform .15s; }
.dest-card:hover { transform: translateY(-2px); }
.dc-img { height: 150px; background: linear-gradient(120deg, var(--leaf), var(--macaw)) center / cover; }
.dc-body { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 4px; font-size: .92rem; }
.dc-body b { font: 700 1.15rem "Bricolage Grotesque", sans-serif; }

/* Mobile: one scrollable row for the main navigation */
@media (max-width: 720px) {
  .nav { flex-wrap: nowrap; overflow-x: auto; width: 100%; gap: 14px; padding-bottom: 4px; scrollbar-width: none; }
  .nav::-webkit-scrollbar { display: none; }
  .nav a, #userArea, .lang-switch { flex: none; white-space: nowrap; }
}

/* ---------- Trip types ---------- */
.trip-chips { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin: -6px 0 16px; }
.chip-link { display: inline-flex; align-items: center; gap: 4px; background: var(--panel); border: 1.5px solid var(--line); border-radius: 999px; padding: .25rem .75rem; text-decoration: none; color: var(--ink); font-size: .9rem; font-weight: 500; }
.chip-link:hover { border-color: var(--leaf); }
.chips { display: flex; gap: 6px; flex-wrap: wrap; margin: 0; }
.trip-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 14px; margin-top: 16px; }
.trip-card { background: var(--panel); border-radius: 20px; overflow: hidden; text-decoration: none; color: var(--ink); display: flex; flex-direction: column; transition: transform .15s; }
.trip-card:hover { transform: translateY(-2px); }
.tc-img { position: relative; height: 140px; background: linear-gradient(120deg, var(--leaf), var(--macaw)) center / cover; display: flex; align-items: flex-end; padding: 10px; }
.tc-icon { font-size: 2rem; background: var(--panel); border-radius: 14px; width: 52px; height: 52px; display: grid; place-items: center; }
.dest-main .dest-card { border: 1.5px solid var(--line); }

/* ---------- Reviews ---------- */
.rv-block { margin-top: 26px; }
.rv-avg { font: 500 .95rem "Instrument Sans", sans-serif; color: var(--muted); margin-left: 8px; }
.rv-stars { color: var(--sun); letter-spacing: 1px; }
.rv-list { list-style: none; padding: 0; margin: 0 0 12px; }
.rv { border-bottom: 1px solid var(--line); padding: 12px 0; }
.rv-head { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; font-size: .92rem; }
.rv-badge { background: var(--baja-bg); color: var(--baja); border-radius: 6px; padding: 0 .4rem; font-size: .74rem; font-weight: 600; margin-left: 4px; }
.rv-text { margin: 6px 0 0; white-space: pre-line; }
.rv-reply { margin-top: 8px; background: var(--chip); border-radius: 10px; padding: .5rem .7rem; font-size: .9rem; }
.review-form { display: flex; flex-direction: column; gap: 14px; margin-top: 16px; }
.review-form .two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 560px) { .review-form .two { grid-template-columns: 1fr; } }
.rv-field { border: 1.5px solid var(--line); border-radius: 16px; padding: 12px 14px; display: flex; flex-direction: column; gap: 8px; }
.rv-field legend { font-weight: 700; padding: 0 6px; }
.star-input { display: flex; gap: 4px; }
.star-input button { border: 0; background: none; font-size: 2rem; line-height: 1; cursor: pointer; color: var(--line); padding: 0 2px; }
.star-input button.on { color: var(--sun); }
.foot-rating { font-size: .92rem; }
.rv-hotel { border-top: 1px dashed var(--line); padding-top: 8px; display: flex; flex-direction: column; gap: 6px; }
.rv-hotel-q { font-weight: 600; font-size: .94rem; }
.rv-hotel-q .hint { font-weight: 400; display: block; }
.rv-hotel .star-input button { font-size: 1.6rem; }
.rv-hotel textarea { width: 100%; }

/* ---------- Responsive images: <img class="fill"> covers its box (replaces CSS background images) ---------- */
img.fill { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.dest-hero, .dc-img, .tc-img, .hc-img, .g-photo { position: relative; overflow: hidden; }
.g-photo { padding: 0; }
.tc-icon { position: relative; z-index: 1; }
.hero .slide > img.fill { z-index: 0; }
.hero .slide-text { position: relative; z-index: 1; }
.page-cover, .md img, .media-stage img { height: auto; max-width: 100%; }


/* ---------- Accessibility (WCAG 2.2 AA) ---------- */
/* Skip link: first Tab stop, visible only when focused */
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 1000; background: var(--ink); color: var(--panel); padding: .6rem 1rem; border-radius: 10px; font-weight: 700; text-decoration: none; }
.skip-link:focus { top: calc(env(safe-area-inset-top, 0px) + 12px); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
main:focus { outline: none; }
/* Map: invisible 48-unit hit area around each destination (≥ 24 px target, WCAG 2.5.8) */
#map .hit { fill: transparent; pointer-events: all; }
#map .dest:focus-visible { outline: none; }
#map .dest:focus-visible .dot, #map .dest:focus-visible .stopnum { stroke: var(--focus); stroke-width: 4; }
#map .dest:focus-visible .lbl { text-decoration: underline; }
/* Links inside text are recognizable without color (WCAG 1.4.1) */
.crumbs a, .md a, .hint a, .page p a, .rv-text a, .foot-grid a { text-decoration: underline; text-underline-offset: 2px; }
/* Minimum target size 24×24 (WCAG 2.5.8) */
.close { min-width: 32px; min-height: 32px; display: inline-grid; place-items: center; }
.nav a, .chip-link, .back-link { min-height: 24px; display: inline-flex; align-items: center; }
.dots button { min-width: 24px; min-height: 24px; background-clip: content-box; padding: 7px; }
.hero .dots .pause { width: auto; min-width: 32px; min-height: 28px; padding: 0 .6rem; border-radius: 999px; border: 0; background: rgba(0,0,0,.45); color: #fff; font-size: .8rem; cursor: pointer; }
.empty-title, .page .empty-title { font-size: 1.3rem; margin-bottom: 6px; letter-spacing: 0; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; } }
.lang-hint a { min-height: 24px; display: inline-flex; align-items: center; }
@media (max-width: 380px) { .trip-basics { grid-template-columns: minmax(0, 1fr) !important; flex-wrap: wrap; } .trip-basics > * { min-width: 0; } }

/* Hotel answer page */
.sup-table { border-collapse: collapse; margin: 10px 0 16px; }
.sup-table th { text-align: left; font-weight: 500; color: var(--muted); padding: 5px 16px 5px 0; vertical-align: top; }
.sup-table td { padding: 5px 0; font-weight: 700; }
.sup-form { display: flex; flex-direction: column; gap: 12px; max-width: 560px; }
.sup-form fieldset { border: 1.5px solid var(--line); border-radius: 14px; padding: 10px 14px; display: flex; flex-direction: column; gap: 6px; }
.sup-status { border-radius: 12px; padding: .6rem .8rem; }
.sup-status.confirmada { background: var(--baja-bg); color: var(--baja); }
.sup-status.rechazada { background: var(--alta-bg); color: var(--alta); }

/* Travelers' details dialog */
.trav-dlg { width: min(760px, calc(100vw - 24px)); }
.trav-set { border: 1.5px solid var(--line); border-radius: 16px; padding: 12px 14px; margin: 0 0 12px; }
.trav-set legend { font-weight: 700; padding: 0 6px; }
.trav-set .two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
@media (max-width: 560px) { .trav-set .two { grid-template-columns: minmax(0, 1fr); } }
.trav-status { background: var(--alta-bg); color: var(--alta); border-radius: 12px; padding: .5rem .8rem; }
.trav-status.ok { background: var(--baja-bg); color: var(--baja); }
.field-error { color: #B3261E; font-size: .86rem; min-height: 0; }
.field-error:empty { display: none; }
[aria-invalid="true"] { border-color: #B3261E !important; }
