/* =========================================================================
   ARG · Aventura en Rutas Grupales — Sistema de diseño
   Tono luz · minimalista · acento #C1536B
   ========================================================================= */
:root {
  --ink: #17150f;
  --black: #000000;
  --paper: #fbf9f5;
  --paper-2: #f2ede5;
  --white: #ffffff;
  --accent: #c1536b;
  --accent-deep: #98394f;
  --accent-soft: #f6e6ea;
  --muted: #6f6a61;
  --line: #e7e0d5;
  --shadow-sm: 0 2px 10px rgba(23, 21, 15, .06);
  --shadow-md: 0 16px 40px -16px rgba(23, 21, 15, .22);
  --shadow-lg: 0 40px 80px -30px rgba(23, 21, 15, .30);
  --ff-display: "Fraunces", Georgia, "Times New Roman", serif;
  --ff-body: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --ff-script: "Caveat", "Segoe Script", cursive;
  --ff-brand: "Fraunces", Georgia, serif;
  --container: 1220px;
  --radius: 16px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--ff-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4 { font-family: var(--ff-display); font-weight: 500; line-height: 1.05; letter-spacing: -.01em; margin: 0 0 .4em; }
h1 { font-size: clamp(2.5rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4.4vw, 3.4rem); }
h3 { font-size: clamp(1.3rem, 2.4vw, 1.9rem); }
p { margin: 0 0 1em; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: clamp(20px, 5vw, 48px); }
.section { padding-block: clamp(64px, 10vw, 130px); }
.section--tint { background: var(--paper-2); }
.section--ink { background: var(--ink); color: #f2eee6; }
.center { text-align: center; }

.overline {
  display: inline-flex; align-items: center; gap: .6em;
  font-size: .72rem; font-weight: 700; letter-spacing: .28em; text-transform: uppercase;
  color: var(--accent-deep); margin-bottom: 1.1rem;
}
.overline::before { content: ""; width: 30px; height: 1px; background: var(--accent); opacity: .6; }
.section--ink .overline { color: #e79fae; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.28rem); color: var(--muted); max-width: 56ch; }
.section--ink .lead { color: #cdc7bb; }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; gap: .55em;
  padding: .95em 1.7em; border-radius: 999px; font-weight: 700; font-size: .95rem;
  letter-spacing: .01em; border: 1.5px solid transparent; transition: all .3s var(--ease);
  white-space: nowrap;
}
.btn svg { width: 1.05em; height: 1.05em; }
.btn--accent { background: var(--accent); color: #fff; box-shadow: 0 10px 24px -10px rgba(193, 83, 107, .8); }
.btn--accent:hover { background: var(--accent-deep); transform: translateY(-2px); box-shadow: 0 16px 30px -12px rgba(193, 83, 107, .9); }
.btn--outline { border-color: currentColor; }
.btn--outline:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.btn--ghost-light { border-color: rgba(255,255,255,.4); color:#fff; }
.btn--ghost-light:hover { background: #fff; color: var(--ink); }
.btn--wa { background: #25d366; color: #06331a; box-shadow: 0 10px 24px -12px rgba(37,211,102,.9); }
.btn--wa:hover { transform: translateY(-2px); filter: brightness(1.04); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 60;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px clamp(20px, 5vw, 48px);
  transition: background .4s var(--ease), box-shadow .4s var(--ease), padding .4s var(--ease);
}
.site-header.scrolled { background: rgba(251,249,245,.9); backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line); padding-block: 12px; }
.brandmark { display: flex; flex-direction: column; line-height: 1; }
.brandmark .bm-script { font-family: var(--ff-brand); color: var(--accent); font-size: 1.15rem; font-weight: 800; letter-spacing: 0; }
.brandmark .bm-sans { font-family: var(--ff-body); font-weight: 800; letter-spacing: .34em; font-size: .62rem; text-transform: uppercase; color: var(--ink); margin-left: 2px; }
.site-header.on-dark:not(.scrolled) .bm-sans,
.site-header.on-dark:not(.scrolled) .bm-script { color: #fff; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a { padding: .5em .9em; border-radius: 999px; font-weight: 600; font-size: .92rem; color: var(--ink); transition: background .25s, color .25s; }
.nav a:hover, .nav a.active { background: var(--accent-soft); color: var(--accent-deep); }
.nav .btn { margin-left: 10px; padding: .6em 1.2em; }
.site-header.on-dark:not(.scrolled) .nav a { color: #fff; }
.site-header.on-dark:not(.scrolled) .nav a:hover, .site-header.on-dark:not(.scrolled) .nav a.active { background: rgba(255,255,255,.16); color:#fff; }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { content: ""; display: block; width: 24px; height: 2px; background: currentColor; position: relative; transition: .3s; }
.nav-toggle span::before { position: absolute; top: -7px; } .nav-toggle span::after { position: absolute; top: 7px; }

@media (max-width: 900px) {
  .nav-toggle { display: block; z-index: 70; }
  .nav {
    position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 10px;
    background: var(--paper); transform: translateX(100%); transition: transform .4s var(--ease);
  }
  .nav.open { transform: translateX(0); }
  .nav a { font-size: 1.3rem; color: var(--ink) !important; background: none !important; }
  .nav .btn { margin: 10px 0 0; }
  body.nav-open { overflow: hidden; }
}

/* ---------- HERO / MAPA ---------- */
.hero {
  position: relative; min-height: 100svh; display: flex; flex-direction: column;
  align-items: center; justify-content: center; padding: 120px 20px 40px; overflow: hidden;
}
.hero-photo { position: absolute; inset: 0; z-index: 0; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,18,12,.55), rgba(20,18,12,.35) 40%, rgba(20,18,12,.75)); }
.hero-lockup { position: relative; z-index: 3; text-align: center; color: #fff; margin-bottom: 8px; }
.hero-lockup .squiggle { width: min(360px, 70vw); margin: 0 auto 6px; opacity: .95; }
.hero-lockup .l-script { font-family: var(--ff-script); font-size: clamp(2.2rem, 6vw, 4rem); font-weight: 700; line-height: .9; }
.hero-lockup .l-sans { font-family: var(--ff-body); font-weight: 800; letter-spacing: clamp(.2em,1.4vw,.5em); font-size: clamp(1rem, 2.4vw, 1.7rem); text-transform: uppercase; padding-left: .3em; }
.hero-claim { position: relative; z-index: 3; color: #fff; font-family: var(--ff-display); font-style: italic; font-size: clamp(1.1rem, 2.2vw, 1.6rem); max-width: 22ch; text-align: center; margin: 18px auto 0; text-wrap: balance; }
.hero-cta { position: relative; z-index: 3; margin-top: 26px; display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.hero-scroll { position: absolute; bottom: 22px; left: 50%; transform: translateX(-50%); z-index: 3; color: #fff; font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; opacity: .8; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.hero-scroll::after { content: ""; width: 1px; height: 34px; background: #fff; animation: scrolldot 1.8s var(--ease) infinite; }
@keyframes scrolldot { 0%{transform:scaleY(0);transform-origin:top} 45%{transform:scaleY(1);transform-origin:top} 55%{transform:scaleY(1);transform-origin:bottom} 100%{transform:scaleY(0);transform-origin:bottom} }

/* ---------- Sección mapa interactivo ---------- */
.mapsec { position: relative; }
.mapwrap { position: relative; margin-top: 28px; }
.worldmap { width: 100%; height: auto; display: block; color: #c8bfb0; }
.worldmap .zone circle { fill: currentColor; transition: fill .45s var(--ease); }
.mapwrap.has-active .zone circle { fill: #ded6c8; }
.mapwrap .zone.active circle { fill: var(--accent); }
.map-markers { position: absolute; inset: 0; }
.marker {
  position: absolute; transform: translate(-50%, -50%);
  display: flex; align-items: center; gap: 8px; background: none; border: 0; padding: 6px;
}
.marker .dot { width: 15px; height: 15px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(193,83,107,.5); position: relative; flex: none; }
.marker .dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--accent); animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { 0%{transform:scale(1);opacity:.6} 70%{transform:scale(3);opacity:0} 100%{opacity:0} }
.marker .m-label {
  font-weight: 700; font-size: .82rem; color: var(--ink); background: rgba(255,255,255,.9);
  padding: 3px 10px; border-radius: 999px; box-shadow: var(--shadow-sm); white-space: nowrap;
  transition: all .3s var(--ease); backdrop-filter: blur(4px);
}
.marker:hover .m-label, .marker.active .m-label { background: var(--accent); color: #fff; transform: translateY(-1px); }
.marker.active .dot { box-shadow: 0 0 0 6px rgba(193,83,107,.18); }

/* Panel de programas de la región */
.region-panel { margin-top: 30px; min-height: 220px; }
.region-panel .rp-prompt { text-align: center; color: var(--muted); font-style: italic; font-family: var(--ff-display); font-size: 1.15rem; padding: 40px 0; }
.rp-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 18px; }
.rp-head h3 { margin: 0; }
.rp-head .rp-count { color: var(--accent-deep); font-weight: 700; font-size: .9rem; }
.rp-rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(240px, 1fr); gap: 18px; overflow-x: auto; padding-bottom: 12px; scroll-snap-type: x mandatory; }
.rp-rail::-webkit-scrollbar { height: 8px; } .rp-rail::-webkit-scrollbar-thumb { background: var(--line); border-radius: 8px; }
@media (min-width: 981px) { .rp-rail { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); grid-auto-columns: auto; overflow: visible; } }

/* ---------- Card de programa ---------- */
.card { position: relative; border-radius: var(--radius); overflow: hidden; background: var(--white); box-shadow: var(--shadow-sm); cursor: pointer; scroll-snap-align: start; transition: transform .4s var(--ease), box-shadow .4s var(--ease); text-align: left; border: 0; width: 100%; display: block; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.card .card-img { position: relative; aspect-ratio: 4/3; overflow: hidden; background: var(--paper-2); }
.card .card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.card:hover .card-img img { transform: scale(1.06); }
.card .card-badge { position: absolute; top: 12px; left: 12px; background: rgba(255,255,255,.92); color: var(--ink); font-weight: 700; font-size: .72rem; padding: 5px 11px; border-radius: 999px; letter-spacing: .04em; }
.card .card-body { padding: 16px 18px 20px; }
.card .card-title { font-family: var(--ff-display); font-size: 1.25rem; margin: 0 0 3px; }
.card .card-route { color: var(--muted); font-size: .86rem; margin: 0 0 12px; }
.card .card-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font-size: .82rem; }
.card .chip { display: inline-flex; align-items: center; gap: 5px; background: var(--accent-soft); color: var(--accent-deep); font-weight: 700; padding: 4px 10px; border-radius: 999px; }
.card .card-price { margin-left: auto; font-weight: 800; color: var(--ink); }
.card .card-price small { color: var(--muted); font-weight: 600; font-size: .72rem; }

.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); gap: 26px; }

/* ---------- Franja destacados con scroll ---------- */
.rail { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(290px, 340px); gap: 26px; overflow-x: auto; padding: 6px 0 20px; scroll-snap-type: x mandatory; scroll-padding-left: clamp(20px,5vw,48px); }
.rail::-webkit-scrollbar { height: 8px; } .rail::-webkit-scrollbar-thumb { background: var(--line); border-radius: 8px; }

/* ---------- Franjas / bandas ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(30px, 6vw, 80px); }
.split.reverse .split-media { order: 2; }
.split-media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 5/4; box-shadow: var(--shadow-md); }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 820px) { .split { grid-template-columns: 1fr; } .split.reverse .split-media { order: 0; } }

.band { position: relative; overflow: hidden; border-radius: 24px; padding: clamp(40px, 7vw, 90px); color: #fff; }
.band-bg { position: absolute; inset: 0; z-index: 0; } .band-bg img { width: 100%; height: 100%; object-fit: cover; }
.band-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(120deg, rgba(152,57,79,.86), rgba(23,21,15,.6)); }
.band > :not(.band-bg) { position: relative; z-index: 1; }

/* ---------- Filtros de región (chips) ---------- */
.filterbar { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 28px 0 8px; }
.filterchip { border: 1.5px solid var(--line); background: var(--white); color: var(--ink); padding: .55em 1.15em; border-radius: 999px; font-weight: 700; font-size: .88rem; transition: .25s; }
.filterchip:hover { border-color: var(--accent); color: var(--accent-deep); }
.filterchip.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.region-block { scroll-margin-top: 90px; }
.region-block[hidden] { display: none; }
.region-head { display: flex; align-items: flex-end; gap: 18px; margin: 46px 0 24px; flex-wrap: wrap; }
.region-head h2 { margin: 0; }
.region-head p { margin: 0; color: var(--muted); max-width: 46ch; }

/* ---------- Valores / grid ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 26px; }
.feature { padding: 30px; background: var(--white); border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.feature .fnum { font-family: var(--ff-display); font-size: 2rem; color: var(--accent); line-height: 1; margin-bottom: 12px; }
.feature h3 { font-size: 1.25rem; margin-bottom: .4em; }
.feature p { margin: 0; color: var(--muted); font-size: .95rem; }
.section--ink .feature { background: #221f18; border-color: #33302a; }
.section--ink .feature p { color: #b8b2a6; }

.pull { font-family: var(--ff-display); font-style: normal; font-size: clamp(1.5rem, 3.4vw, 2.6rem); line-height: 1.25; text-wrap: balance; max-width: 20ch; }
.pull .amp { color: var(--accent); }

/* ---------- Formulario ---------- */
.form { display: grid; gap: 16px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 640px){ .form .row { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 700; font-size: .82rem; margin-bottom: 6px; letter-spacing: .02em; }
.field input, .field select, .field textarea { width: 100%; padding: .85em 1em; border: 1.5px solid var(--line); border-radius: 12px; font: inherit; background: var(--white); color: var(--ink); transition: border .2s; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.field textarea { min-height: 130px; resize: vertical; }

/* ---------- Modal de programa ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: none; }
.modal.open { display: block; }
.modal-back { position: absolute; inset: 0; background: rgba(23,21,15,.6); backdrop-filter: blur(4px); }
.modal-card {
  position: absolute; inset: auto 0 0 0; margin: auto; max-width: 940px; width: calc(100% - 24px);
  top: 50%; left: 50%; transform: translate(-50%,-50%); max-height: 92svh; overflow: auto;
  background: var(--paper); border-radius: 20px; box-shadow: var(--shadow-lg);
}
.modal-gallery { position: relative; aspect-ratio: 16/9; background: #000; }
.modal-gallery img { width: 100%; height: 100%; object-fit: cover; position: absolute; inset: 0; opacity: 0; transition: opacity .5s var(--ease); }
.modal-gallery img.on { opacity: 1; }
.mg-btn { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.9); font-size: 1.2rem; display: grid; place-items: center; box-shadow: var(--shadow-sm); }
.mg-btn.prev { left: 14px; } .mg-btn.next { right: 14px; }
.mg-dots { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); z-index: 2; display: flex; gap: 7px; }
.mg-dots i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.5); transition: .3s; }
.mg-dots i.on { background: #fff; width: 22px; border-radius: 8px; }
.modal-close { position: absolute; top: 14px; right: 14px; z-index: 5; width: 42px; height: 42px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); font-size: 1.3rem; box-shadow: var(--shadow-sm); }
.modal-body { padding: clamp(24px, 4vw, 40px); }
.modal-body .m-eyebrow { color: var(--accent-deep); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; font-size: .74rem; }
.modal-body h2 { margin: .2em 0 .1em; }
.modal-body .m-route { color: var(--muted); font-size: 1.05rem; margin-bottom: 18px; }
.m-meta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 22px; }
.m-meta .chip { background: var(--accent-soft); color: var(--accent-deep); font-weight: 700; padding: 8px 14px; border-radius: 999px; font-size: .9rem; }
.m-hl { list-style: none; padding: 0; margin: 0 0 26px; display: grid; gap: 10px; }
.m-hl li { display: flex; gap: 10px; align-items: flex-start; }
.m-hl li::before { content: "✦"; color: var(--accent); flex: none; }
.modal-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #cfc9bd; padding: 70px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
@media (max-width: 760px){ .footer-grid { grid-template-columns: 1fr; gap: 30px; } }
.site-footer h4 { color: #fff; font-family: var(--ff-body); font-weight: 800; font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; margin-bottom: 16px; }
.site-footer a { color: #cfc9bd; } .site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; font-size: .95rem; }
.footer-brand .bm-script { font-family: var(--ff-brand); color: #e79fae; font-size: 1.5rem; font-weight: 800; }
.footer-brand .bm-sans { font-weight: 800; letter-spacing: .3em; font-size: .68rem; color: #fff; text-transform: uppercase; }
.footer-bottom { border-top: 1px solid #302d27; margin-top: 50px; padding-top: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .82rem; color: #8f897d; }

/* ---------- WhatsApp flotante ---------- */
.wa-float { position: fixed; right: 20px; bottom: 20px; z-index: 55; width: 58px; height: 58px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 30px -8px rgba(37,211,102,.7); transition: transform .3s var(--ease); }
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; }

/* ---------- Page hero (interiores) ---------- */
.page-hero { position: relative; min-height: 62vh; display: flex; align-items: flex-end; padding: 130px 0 60px; overflow: hidden; color: #fff; }
.page-hero .ph-bg { position: absolute; inset: 0; z-index: 0; } .page-hero .ph-bg img { width: 100%; height: 100%; object-fit: cover; }
.page-hero .ph-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(23,21,15,.35), rgba(23,21,15,.75)); }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { color: #fff; margin-bottom: .1em; }
.page-hero .lead { color: rgba(255,255,255,.9); max-width: 52ch; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } .marker .dot::after { animation: none; } .hero-scroll::after { animation: none; } }

.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mb-0 { margin-bottom: 0; }

/* ---------- HERO MAPA (home, fondo claro) ---------- */
.hero-map { position: relative; overflow: hidden; padding: clamp(116px,15vh,175px) 0 clamp(46px,7vw,90px);
  background: radial-gradient(125% 95% at 50% -5%, #ffffff 0%, var(--paper) 52%, var(--paper-2) 100%); }
.hm-lockup { color: var(--ink); margin-bottom: 20px; }
.hm-lockup .squiggle { width: min(320px,60vw); margin: 0 auto 4px; color: var(--ink); }
.hm-lockup .l-brand { font-family: var(--ff-brand); color: var(--accent); font-size: clamp(1.7rem,4.6vw,2.8rem); line-height: 1.05; font-weight: 800; letter-spacing: 0; }
.hm-lockup .l-sans-ink { font-family: var(--ff-body); font-weight: 800; letter-spacing: clamp(.18em,1.2vw,.42em); font-size: clamp(.8rem,1.8vw,1.2rem); text-transform: uppercase; padding-left:.3em; color: var(--ink); margin-top: 4px; }
.hm-headline { max-width: 820px; margin: 14px auto 4px; }
.hm-headline .overline { margin-bottom: .8rem; }
.hm-headline .overline::before { display: none; }
.hm-tagline { font-family: var(--ff-body); font-weight: 600; font-size: clamp(.82rem,2.1vw,1.15rem); letter-spacing: .16em; text-transform: uppercase; color: var(--ink); margin: 0; }
.hm-intro { max-width: 62ch; margin: 26px auto 0; color: var(--muted); font-size: clamp(1.02rem,1.5vw,1.2rem); }
.hero-map .mapwrap { max-width: 1080px; margin: 26px auto 0; }
@media (max-width: 620px){ .marker .m-label { font-size: .68rem; padding: 2px 7px; } .marker .dot { width: 12px; height: 12px; } }

/* ---------- PÁGINA DE DETALLE DE VIAJE ---------- */
.chip svg { width: 1em; height: 1em; vertical-align: -2px; }
.detail-hero { min-height: 66vh; }
.crumbs { display: flex; gap: 8px; font-size: .82rem; color: rgba(255,255,255,.85); margin-bottom: 16px; flex-wrap: wrap; }
.crumbs a { color: rgba(255,255,255,.85); } .crumbs a:hover { color: #fff; text-decoration: underline; } .crumbs span { opacity: .5; }
.detail-route { font-size: clamp(1.05rem,2vw,1.25rem); color: rgba(255,255,255,.92); margin: .1em 0 0; }
.detail-facts { display: flex; flex-wrap: wrap; gap: 10px 12px; margin-top: 22px; }
.detail-facts span { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.28); padding: 8px 15px; border-radius: 999px; font-size: .92rem; font-weight: 700; color: #fff; backdrop-filter: blur(4px); }
.detail-facts span svg { width: 1.05em; height: 1.05em; }

.detail-grid { display: grid; grid-template-columns: 1fr 360px; gap: clamp(32px,5vw,66px); align-items: start; }
@media (max-width: 900px) { .detail-grid { grid-template-columns: 1fr; } }
.detail-main > .lead:first-child { margin-top: 0; font-size: clamp(1.15rem,2vw,1.4rem); }
.detail-h { margin-top: 1.8em; margin-bottom: .6em; }

.route-list { list-style: none; padding: 0; margin: 0; }
.route-list li { display: flex; align-items: center; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-weight: 600; }
.route-list li:last-child { border-bottom: 0; }
.rl-num { flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-deep); font-weight: 800; display: grid; place-items: center; font-size: .9rem; }

.incl-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.incl-list li { display: flex; gap: 12px; align-items: flex-start; }
.incl-list li::before { content: "✓"; color: #fff; background: var(--accent); width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: .72rem; font-weight: 800; flex: none; margin-top: 2px; }

.price-note { font-size: .85rem; color: var(--muted); margin-top: 28px; padding-top: 18px; border-top: 1px solid var(--line); }

.detail-aside { position: sticky; top: 92px; }
@media (max-width: 900px) { .detail-aside { position: static; margin-top: 10px; } }
.booking { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; box-shadow: var(--shadow-md); }
.booking-region { font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-deep); }
.booking-price { font-family: var(--ff-display); font-size: 2.2rem; margin: 4px 0 18px; }
.booking-price small { font-family: var(--ff-body); font-size: .78rem; color: var(--muted); font-weight: 600; }
.booking-meta { list-style: none; padding: 0; margin: 0 0 20px; display: grid; gap: 12px; }
.booking-meta li { display: flex; gap: 10px; align-items: center; color: var(--muted); font-size: .93rem; }
.booking-meta li svg { width: 1.1em; height: 1.1em; color: var(--accent); flex: none; }
.booking-meta b { color: var(--ink); font-weight: 700; }
.booking-trust { font-size: .8rem; color: var(--muted); text-align: center; margin: 16px 0 0; }

/* Galería/carrusel en detalle */
.gallery-stage { position: relative; aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden; background: #000; }
.gallery-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .5s var(--ease); }
.gallery-stage img.on { opacity: 1; }
.gallery-stage .mg-btn { cursor: pointer; }

/* ===================== A.1 / A.2 — cambios pedidos ===================== */
/* Párrafos justificados (texto de lectura) */
.prose p:not(.pull) { text-align: justify; text-justify: inter-word; }
.detail-main > .lead { text-align: justify; text-justify: inter-word; }

/* Viajes a Medida: cuadros 2 + 2 */
.feature-grid.feature-grid--2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 700px) { .feature-grid.feature-grid--2 { grid-template-columns: 1fr; } }

/* Hero rotativo (Salidas Grupales) */
.ph-bg[data-rotate] img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.4s var(--ease); }
.ph-bg[data-rotate] img.on { opacity: 1; }

/* Chip "Con guía" en la tarjeta */
.card-badge--guide { left: auto; right: 12px; background: var(--accent); color: #fff; display: inline-flex; align-items: center; gap: 5px; }
.card-badge--guide svg { width: .95em; height: .95em; }

/* Detalle: itinerario día por día */
.itinerary { list-style: none; padding: 0; margin: 0 0 10px; }
.itinerary li { display: flex; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.itinerary li:last-child { border-bottom: 0; }
.it-day { flex: none; width: 62px; font-weight: 800; color: var(--accent-deep); font-size: .8rem; text-transform: uppercase; letter-spacing: .05em; padding-top: 3px; }
.it-body h4 { margin: 0 0 4px; font-family: var(--ff-display); font-weight: 500; font-size: 1.12rem; }
.it-body p { margin: 0; color: var(--muted); text-align: left; }
.demo-note { font-size: .82rem; color: var(--muted); opacity: .85; margin-top: 10px; }

/* Detalle: incluye / no incluye */
.incl-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
@media (max-width: 620px) { .incl-grid { grid-template-columns: 1fr; gap: 24px; } }
.incl-h { font-weight: 800; font-size: .82rem; text-transform: uppercase; letter-spacing: .08em; margin-bottom: 14px; }
.incl-h.yes { color: var(--accent-deep); }
.incl-h.no { color: var(--muted); }
.excl-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.excl-list li { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); }
.excl-list li::before { content: "✕"; color: var(--muted); background: var(--paper-2); width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: .7rem; font-weight: 800; flex: none; margin-top: 2px; }

/* Detalle: hoteles */
.hotels-list { list-style: none; padding: 0; margin: 0; }
.hotels-list li { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.hotels-list li:last-child { border-bottom: 0; }
.ht-city { font-weight: 700; }
.ht-name { color: var(--muted); text-align: right; }

/* Detalle: tarifas y condiciones */
.fare-table { width: 100%; border-collapse: collapse; margin: 0 0 18px; }
.fare-table td { padding: 12px 0; border-bottom: 1px solid var(--line); }
.fare-table td:last-child { text-align: right; font-weight: 800; white-space: nowrap; }
.cond-list { list-style: none; padding: 0; margin: 0 0 6px; display: grid; gap: 10px; }
.cond-list li { color: var(--muted); }
.cond-list b { color: var(--ink); }

/* ---- Salidas en la página de detalle (destino → salidas) ---- */
.salidas-list{display:flex;flex-direction:column;gap:12px;margin:14px 0 8px}
.salida-card{display:flex;justify-content:space-between;align-items:center;gap:18px;flex-wrap:wrap;border:1px solid #e7e2da;border-radius:14px;padding:16px 18px;background:#fff}
.salida-card.is-agot{opacity:.7}
.salida-date{font-size:1.05rem;display:flex;align-items:center;gap:6px}
.salida-detail{list-style:none;padding:0;margin:8px 0 0;color:#6b655c;font-size:.9rem;display:flex;flex-direction:column;gap:3px}
.salida-cta{display:flex;flex-direction:column;align-items:flex-end;gap:8px;min-width:150px}
.salida-price{display:flex;flex-direction:column;line-height:1.05;text-align:right}
.salida-price small{color:#8a847b;font-size:.72rem;text-transform:uppercase;letter-spacing:.4px}
.salida-price strong{font-size:1.5rem;color:#C1536B}
.chip--more{background:#f3e8ec;color:#a03f54}
.chip--agot{background:#fbeaea;color:#c0392b;font-size:.7rem;padding:.1rem .45rem;border-radius:999px}
@media(max-width:560px){.salida-card{flex-direction:column;align-items:stretch}.salida-cta{align-items:stretch;flex-direction:row;justify-content:space-between}.salida-price{text-align:left}}

/* ---- Export PDF de la ficha (versión imprimible / Guardar como PDF) ---- */
.print-only { display: none; }
@media print {
  body { background: #fff !important; color: #111; -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .site-header, .wa-float, .crumbs, .filterbar, .band, .section--tint, .detail-aside,
  .print-hide, .gallery, .site-footer, .mg-btn, .mg-dots, .page-hero.detail-hero { display: none !important; }
  main, .section, .container, .detail-main { max-width: 100% !important; width: 100% !important; margin: 0 !important; padding: 0 !important; box-shadow: none !important; }
  .detail-grid { display: block !important; }
  .print-only { display: block !important; }
  @page { margin: 1.4cm; }
  a { color: #111; text-decoration: none; }
  h1, h2, h3, h4 { color: #111; }
  .detail-h { break-after: avoid; margin-top: 16px; }
  .itinerary li, .salida-card, .hotels-list li, .incl-grid > div { break-inside: avoid; }
  .salida-card .btn, .salida-cta .btn { display: none !important; }
  .salida-card { display: block !important; border: 1px solid #ccc !important; }
  .salida-cta { align-items: flex-start !important; margin-top: 8px !important; }
  .salida-price { text-align: left !important; }
  .salida-date svg, .print-doc-head svg, .detail-main .chip svg { width: 1em !important; height: 1em !important; vertical-align: -2px; }
  .print-doc-head { text-align: center; margin-bottom: 14px; border-bottom: 2px solid #C1536B; padding-bottom: 10px; }
  .print-doc-head .pd-brand { color: #C1536B; font-weight: 700; letter-spacing: .5px; font-size: 12pt; }
  .print-doc-head .pd-brand span { color: #111; }
  .print-doc-head .pd-cover { width: 100%; max-height: 6.5cm; object-fit: cover; border-radius: 8px; margin: 10px 0; }
  .print-doc-head .pd-title { font-size: 22pt; margin: 6px 0 2px; }
  .print-doc-head .pd-route { color: #555; font-size: 11pt; }
  .print-doc-head .pd-facts { color: #C1536B; font-weight: 600; margin-top: 6px; font-size: 10.5pt; }
  .print-doc-foot { margin-top: 18px; border-top: 1px solid #ccc; padding-top: 8px; font-size: 8.5pt; color: #555; text-align: center; }
  .prose p, .detail-main p, .itinerary .it-body p { text-align: left !important; }
}

/* ---- Buscador por región (Salidas Grupales) ---- */
.region-search { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin: 2px 0 26px; }
.region-search .rs-text, .region-search .rs-month { padding: .6em .95em; border: 1.5px solid var(--line); border-radius: 999px; font: inherit; font-size: .92rem; background: #fff; color: var(--ink); }
.region-search .rs-text { flex: 1; min-width: 220px; max-width: 360px; }
.region-search .rs-count { color: var(--muted); font-size: .85rem; }
/* Bloques de texto en la ficha (notas/vuelos/comentarios) */
.detail-text { white-space: pre-line; color: var(--ink); }

/* Onda de la marca como imagen (asset de Ariel) */
.squiggle { display: block; margin-inline: auto; width: min(340px, 68vw); height: auto; }
