/* YachtsMX Charter Map 1.36.0 - pagina de yate: seccion "La ruta" + ajustes del disenio aprobado (spec strip, CTA unico ambar). */

/* ---------- spec strip ink (una sola fila, etiquetas en una linea) ---------- */
#yxy .yxy-specs2 { grid-template-columns: repeat(auto-fit, minmax(96px, 1fr)); gap: 0; border-radius: 18px; background: var(--ink); overflow: hidden; }
#yxy .yxy-specs2__c { background: none; border: 0; border-radius: 0; padding: 18px 14px; gap: 8px; box-shadow: 1px 0 0 rgba(248,245,238,.12); min-width: 0; }
#yxy .yxy-specs2 dt { font-size: 10px; font-weight: 700; letter-spacing: .08em; color: rgba(248,245,238,.62); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
#yxy .yxy-specs2 dd { font-family: var(--serif); font-weight: 500; font-size: 28px; line-height: 1; color: var(--paper); white-space: nowrap; }
#yxy .yxy-specs2 dd small { color: rgba(248,245,238,.62); font-family: var(--sans); font-size: 13px; }
@media (max-width: 900px) {
  #yxy .yxy-specs2 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  #yxy .yxy-specs2__c { box-shadow: 1px 0 0 rgba(248,245,238,.12), 0 1px 0 rgba(248,245,238,.12); padding: 14px 12px; }
  #yxy .yxy-specs2 dd { font-size: 23px; }
}

/* ---------- con ruta: se ocultan las secciones que el mapa reemplaza ---------- */
#yxy.has-route #yxy-routes, #yxy.has-route #yxy-inc { display: none !important; }

/* ---------- tarjeta de reserva: un solo CTA ambar, sin verde ---------- */
#yxy .yxy-book .yxy-btn--wa[data-wa="book"] { background: linear-gradient(180deg, var(--amber-light), var(--amber)); color: var(--navy-deep); box-shadow: 0 14px 32px -12px var(--amber-glow), inset 0 1px 0 rgba(255,255,255,.45); }
#yxy .yxy-book .yxy-btn--wa[data-wa="book"]:hover { background: var(--amber-light); }
#yxy .yxy-book .yxy-btn--wa[data-wa="code"], #yxy .yxy-book__lock .yxy-btn--wa { background: transparent; color: var(--paper); border: 1px solid rgba(248,245,238,.28); box-shadow: none; }
#yxy .yxy-book .yxy-btn--wa[data-wa="code"]:hover, #yxy .yxy-book__lock .yxy-btn--wa:hover { background: rgba(248,245,238,.08); }
#yxy .yxy-book [data-emailq] { display: none !important; }

/* "Tu ruta" dentro de la tarjeta */
:is(#yxy, #yxy-rt-m) .yxr-yr { display: flex; flex-direction: column; gap: 6px; padding: 14px 16px; border-radius: 16px; border: 1px solid rgba(248,245,238,.14); }
:is(#yxy, #yxy-rt-m) .yxr-yr__k { font: 700 10px var(--sans); letter-spacing: .12em; text-transform: uppercase; color: rgba(248,245,238,.62); }
:is(#yxy, #yxy-rt-m) .yxr-yr b { font: 400 19px/1.3 var(--serif); color: var(--paper); }
:is(#yxy, #yxy-rt-m) .yxr-yr small { font: 400 13px var(--sans); color: rgba(248,245,238,.62); }
:is(#yxy, #yxy-rt-m) .yxr-yr small:empty { display: none; }

/* ---------- seccion La ruta ---------- */
:is(#yxy, #yxy-rt-m) .yxy-rt { display: flex; flex-direction: column; gap: 18px; min-width: 0; }
:is(#yxy, #yxy-rt-m) .yxr-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
:is(#yxy, #yxy-rt-m) .yxr-titles { display: flex; flex-direction: column; gap: 10px; min-width: 0; }
:is(#yxy, #yxy-rt-m) .yxr-eye { margin: 0; display: flex; align-items: center; gap: 12px; font: 800 10.5px var(--sans); letter-spacing: .24em; text-transform: uppercase; color: var(--amber-text); }
:is(#yxy, #yxy-rt-m) .yxr-eye i { width: 26px; height: 1px; background: var(--amber); }
:is(#yxy, #yxy-rt-m) .yxr-h { margin: 0; font: 400 40px/1.08 var(--serif); letter-spacing: -.01em; color: var(--navy); text-wrap: balance; }
:is(#yxy, #yxy-rt-m) .yxr-h em { display: block; font-style: italic; font-weight: 300; color: var(--amber-deep); }
:is(#yxy, #yxy-rt-m) .yxr-h span { display: block; }
:is(#yxy, #yxy-rt-m) .yxr-ctl { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
:is(#yxy, #yxy-rt-m) .yxr-ctl:empty { display: none; }
:is(#yxy, #yxy-rt-m) .yxr-seg { display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--paper); border: 1px solid rgba(21,38,55,.24); }
:is(#yxy, #yxy-rt-m) .yxr-seg button, :is(#yxy, #yxy-rt-m) .yxr-nights button { font: 600 14px var(--sans); color: var(--navy); background: none; border: 0; cursor: pointer; transition: background .14s, color .14s; }
:is(#yxy, #yxy-rt-m) .yxr-seg button { height: 44px; padding: 0 20px; border-radius: 999px; white-space: nowrap; }
:is(#yxy, #yxy-rt-m) .yxr-seg button.is-on { background: var(--navy); color: var(--paper); }
:is(#yxy, #yxy-rt-m) .yxr-nights { display: flex; align-items: center; gap: 6px; }
:is(#yxy, #yxy-rt-m) .yxr-nights span { font: 700 10px var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-right: 4px; }
:is(#yxy, #yxy-rt-m) .yxr-nights button { width: 44px; height: 44px; border-radius: 999px; background: var(--paper); border: 1px solid rgba(21,38,55,.24); font-size: 15px; }
:is(#yxy, #yxy-rt-m) .yxr-nights button.is-on { background: var(--navy); border-color: var(--navy); color: var(--paper); }

:is(#yxy, #yxy-rt-m) .yxr-map { position: relative; width: 100%; height: 640px; border-radius: 28px; overflow: hidden; background: #e9e7e1; box-shadow: 0 30px 60px -36px rgba(21,38,55,.55); isolation: isolate; }
:is(#yxy, #yxy-rt-m) .yxr-tiles { position: absolute; inset: 0; filter: sepia(.18) hue-rotate(-12deg) brightness(1.02) contrast(.96); }
:is(#yxy, #yxy-rt-m) .yxr-tiles img { position: absolute; display: block; max-width: none; user-select: none; -webkit-user-drag: none; }
:is(#yxy, #yxy-rt-m) .yxr-svg { position: absolute; left: 0; top: 0; overflow: visible; pointer-events: none; }
:is(#yxy, #yxy-rt-m) .yxr-svg path { fill: none; stroke-linecap: round; stroke-linejoin: round; }
:is(#yxy, #yxy-rt-m) .yxr-r0 { stroke: rgba(21,38,55,.35); stroke-width: 2; stroke-dasharray: 4 7; }
:is(#yxy, #yxy-rt-m) .yxr-r1 { stroke: #152637; stroke-width: 7; opacity: .12; }
:is(#yxy, #yxy-rt-m) .yxr-r2 { stroke: #e8ab36; stroke-width: 3.5; }
:is(#yxy, #yxy-rt-m) .yxr-layer { position: absolute; inset: 0; pointer-events: none; }
:is(#yxy, #yxy-rt-m) .yxr-layer > * { pointer-events: auto; }
:is(#yxy, #yxy-rt-m) .yxr-start { position: absolute; transform: translate(14px, -50%); display: flex; align-items: center; gap: 7px; background: var(--navy); color: var(--paper); font: 600 12px var(--sans); padding: 7px 12px; border-radius: 999px; white-space: nowrap; box-shadow: 0 12px 26px -12px rgba(12,26,38,.6); pointer-events: none !important; }
:is(#yxy, #yxy-rt-m) .yxr-start.is-l { transform: translate(calc(-100% - 14px), -50%); }
:is(#yxy, #yxy-rt-m) .yxr-start i { width: 6px; height: 6px; border-radius: 999px; background: var(--amber); }
:is(#yxy, #yxy-rt-m) .yxr-pin { position: absolute; width: 44px; height: 44px; padding: 0; border: 0; transform: translate(-50%, -50%); border-radius: 999px; background-color: var(--navy); background-size: cover; background-position: center; box-shadow: 0 0 0 3px #f8f5ee, 0 10px 20px -10px rgba(12,26,38,.6); cursor: pointer; transition: width .4s cubic-bezier(.34,1.56,.64,1), height .4s cubic-bezier(.34,1.56,.64,1), box-shadow .3s; }
:is(#yxy, #yxy-rt-m) .yxr-pin.is-r { box-shadow: 0 0 0 3px #e8ab36, 0 14px 28px -12px rgba(12,26,38,.7); }
:is(#yxy, #yxy-rt-m) .yxr-pin.is-on { width: 60px; height: 60px; z-index: 3; }
:is(#yxy, #yxy-rt-m) .yxr-pinl { position: absolute; transform: translate(32px, -50%); background: var(--paper); color: var(--navy); border: 0; font: 600 13px var(--sans); padding: 6px 11px; border-radius: 999px; white-space: nowrap; box-shadow: 0 10px 22px -12px rgba(12,26,38,.5); cursor: pointer; transition: opacity .3s; }
:is(#yxy, #yxy-rt-m) .yxr-pinl.is-l { transform: translate(calc(-100% - 32px), -50%); }
:is(#yxy, #yxy-rt-m) .yxr-pinl.is-h { opacity: 0; pointer-events: none; }
:is(#yxy, #yxy-rt-m) .yxr-boat { position: absolute; left: 0; top: 0; width: 34px; height: 34px; border-radius: 999px; background: var(--navy); display: grid; place-items: center; box-shadow: 0 0 0 4px rgba(232,171,54,.35), 0 12px 24px -8px rgba(12,26,38,.7); pointer-events: none; z-index: 4; will-change: transform; }
:is(#yxy, #yxy-rt-m) .yxr-boat span { width: 10px; height: 10px; border-radius: 999px; background: var(--amber); }
:is(#yxy, #yxy-rt-m) .yxr-card { position: absolute; z-index: 5; width: 290px; background: var(--paper); border-radius: 20px; overflow: hidden; box-shadow: 0 30px 60px -24px rgba(12,26,38,.6), inset 0 1px 0 rgba(255,255,255,.45); animation: yxrIn .36s var(--ease); }
@keyframes yxrIn { from { transform: translateY(8px); } to { transform: none; } }
:is(#yxy, #yxy-rt-m) .yxr-card__ph { position: relative; aspect-ratio: 16 / 10; background-size: cover; background-position: center; background-color: #efeae0; }
:is(#yxy, #yxy-rt-m) .yxr-card__ph::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 50px; background: linear-gradient(180deg, rgba(8,19,28,0), rgba(8,19,28,.55)); }
:is(#yxy, #yxy-rt-m) .yxr-card__ph span { position: absolute; z-index: 2; top: 10px; left: 10px; background: rgba(12,26,38,.82); color: var(--paper); font: 700 10px var(--sans); letter-spacing: .12em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; }
:is(#yxy, #yxy-rt-m) .yxr-logo { position: absolute; z-index: 2; right: 12px; bottom: 11px; height: 10px; width: auto; max-width: none; filter: brightness(0) invert(1); }
:is(#yxy, #yxy-rt-m) .yxr-card__b { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; }
:is(#yxy, #yxy-rt-m) .yxr-card__b > div { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
:is(#yxy, #yxy-rt-m) .yxr-card__b b { font: 400 26px/1.05 var(--serif); color: var(--navy); white-space: nowrap; }
:is(#yxy, #yxy-rt-m) .yxr-card__b small { font: 600 12px var(--sans); color: var(--muted); font-variant-numeric: tabular-nums; }
:is(#yxy, #yxy-rt-m) .yxr-card__b p { margin: 0; font: 400 14px/1.5 var(--sans); color: var(--muted); }
:is(#yxy, #yxy-rt-m) .yxr-pill { position: absolute; z-index: 6; left: 16px; top: 16px; display: flex; align-items: center; gap: 10px; background: var(--paper); padding: 8px 8px 8px 16px; border-radius: 999px; box-shadow: 0 14px 30px -16px rgba(12,26,38,.5); font: 600 13px var(--sans); color: var(--navy); white-space: nowrap; }
:is(#yxy, #yxy-rt-m) .yxr-play { display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 18px 0 6px; border: 0; background: var(--amber); color: var(--navy); font: 600 14px var(--sans); border-radius: 999px; white-space: nowrap; cursor: pointer; box-shadow: 0 12px 24px -12px rgba(232,171,54,.9), inset 0 1px 0 rgba(255,255,255,.45); transition: transform .14s var(--ease); }
:is(#yxy, #yxy-rt-m) .yxr-play:hover { transform: translateY(-2px); }
:is(#yxy, #yxy-rt-m) .yxr-play__c { width: 32px; height: 32px; border-radius: 999px; background: rgba(248,245,238,.6); display: grid; place-items: center; }
:is(#yxy, #yxy-rt-m) .yxr-mlogo { position: absolute; z-index: 6; right: 20px; top: 30px; height: 12px; width: auto; max-width: none; opacity: .8; }
:is(#yxy, #yxy-rt-m) .yxr-prog { position: absolute; z-index: 6; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(21,38,55,.12); }
:is(#yxy, #yxy-rt-m) .yxr-prog i { display: block; height: 100%; background: var(--amber); transform-origin: left; transform: scaleX(0); }
:is(#yxy, #yxy-rt-m) .yxr-attr { position: absolute; z-index: 6; right: 10px; bottom: 10px; font: 500 10px var(--sans); color: rgba(21,38,55,.55); pointer-events: none; }

:is(#yxy, #yxy-rt-m) .yxr-itin { display: flex; flex-wrap: wrap; gap: 8px; }
:is(#yxy, #yxy-rt-m) .yxr-it { flex: 1 1 180px; min-width: 0; display: flex; align-items: center; gap: 12px; padding: 10px 14px 10px 10px; border-radius: 18px; background: var(--paper); border: 1px solid var(--line); text-align: left; cursor: pointer; transition: border-color .3s, box-shadow .3s; font: inherit; color: inherit; }
:is(#yxy, #yxy-rt-m) .yxr-it[tabindex="-1"] { cursor: default; }
:is(#yxy, #yxy-rt-m) .yxr-it.is-on { border-color: rgba(232,171,54,.8); box-shadow: 0 0 0 3px rgba(232,171,54,.22); }
:is(#yxy, #yxy-rt-m) .yxr-it__ph { width: 48px; height: 48px; flex: none; border-radius: 999px; background-color: var(--navy); background-size: cover; background-position: center; }
:is(#yxy, #yxy-rt-m) .yxr-it__t { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
:is(#yxy, #yxy-rt-m) .yxr-it__t small { font: 700 10px var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--amber-text); white-space: nowrap; }
:is(#yxy, #yxy-rt-m) .yxr-it__t b { font: 500 18px/1.1 var(--serif); color: var(--navy); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

:is(#yxy, #yxy-rt-m) .yxr-inc { display: grid; grid-template-columns: 1.25fr 1fr; gap: 28px; padding: 26px 28px; border-radius: 26px; background: #efeae0; }
:is(#yxy, #yxy-rt-m) .yxr-inc[hidden] { display: none; }
:is(#yxy, #yxy-rt-m) .yxr-inc > div { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
:is(#yxy, #yxy-rt-m) .yxr-inc > div:only-child { grid-column: 1 / -1; }
:is(#yxy, #yxy-rt-m) .yxr-inc__h { font: 700 10px var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--navy); }
:is(#yxy, #yxy-rt-m) .yxr-inc__h--x { color: var(--muted); }
:is(#yxy, #yxy-rt-m) .yxr-inc__i, :is(#yxy, #yxy-rt-m) .yxr-inc__x { margin: 0; display: flex; gap: 10px; font: 400 15px/1.5 var(--sans); color: var(--navy); }
:is(#yxy, #yxy-rt-m) .yxr-inc__x { color: var(--muted); }
:is(#yxy, #yxy-rt-m) .yxr-inc__i i { width: 6px; height: 6px; margin-top: 9px; flex: none; border-radius: 999px; background: var(--amber); }
:is(#yxy, #yxy-rt-m) .yxr-inc__x i { width: 8px; height: 1px; margin-top: 12px; flex: none; background: var(--muted); }

/* ---------- movil ---------- */
@media (max-width: 900px) {
  :is(#yxy, #yxy-rt-m) .yxr-h { font-size: 30px; }
  :is(#yxy, #yxy-rt-m) .yxr-top { align-items: flex-start; }
  :is(#yxy, #yxy-rt-m) .yxr-ctl { align-items: flex-start; width: 100%; }
  :is(#yxy, #yxy-rt-m) .yxr-nights { flex-wrap: wrap; }
  :is(#yxy, #yxy-rt-m) .yxr-map { border-radius: 22px; }
  :is(#yxy, #yxy-rt-m) .yxr-pinl { display: none; }
  :is(#yxy, #yxy-rt-m) .yxr-pin { width: 36px; height: 36px; }
  :is(#yxy, #yxy-rt-m) .yxr-pin.is-on { width: 48px; height: 48px; }
  :is(#yxy, #yxy-rt-m) .yxr-pill { left: 10px; top: 10px; padding: 6px 6px 6px 12px; font-size: 12px; }
  :is(#yxy, #yxy-rt-m) .yxr-mlogo { display: none; }
  :is(#yxy, #yxy-rt-m) .yxr-card { width: auto; left: 10px; right: 10px; top: auto; bottom: 14px; display: grid; grid-template-columns: 84px minmax(0, 1fr); border-radius: 16px; }
  :is(#yxy, #yxy-rt-m) .yxr-card__ph { aspect-ratio: auto; min-height: 80px; }
  :is(#yxy, #yxy-rt-m) .yxr-card__ph span, :is(#yxy, #yxy-rt-m) .yxr-card__ph .yxr-logo { display: none; }
  :is(#yxy, #yxy-rt-m) .yxr-card__b { padding: 10px 12px; gap: 2px; justify-content: center; min-width: 0; }
  :is(#yxy, #yxy-rt-m) .yxr-card__b b { font-size: 19px; }
  :is(#yxy, #yxy-rt-m) .yxr-card__b p { font-size: 12.5px; line-height: 1.35; }
  :is(#yxy, #yxy-rt-m) .yxr-attr { bottom: 8px; font-size: 9px; }
  :is(#yxy, #yxy-rt-m) .yxr-itin { flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; margin: 0 -16px; padding: 2px 16px 6px; }
  :is(#yxy, #yxy-rt-m) .yxr-itin::-webkit-scrollbar { display: none; }
  :is(#yxy, #yxy-rt-m) .yxr-it { flex: 0 0 auto; scroll-snap-align: start; }
  :is(#yxy, #yxy-rt-m) .yxr-inc { grid-template-columns: 1fr; gap: 18px; padding: 20px; }
}
@media (prefers-reduced-motion: reduce) { :is(#yxy, #yxy-rt-m) .yxr-card { animation: none; } :is(#yxy, #yxy-rt-m) .yxr-pin, :is(#yxy, #yxy-rt-m) .yxr-it { transition: none; } }

/* contenedor de la ruta en la pagina movil (#y8f): mismos tokens que #yxy */
#yxy-rt-m { --ink: #08131c; --navy-deep: #0c1a26; --navy: #152637; --paper: #f8f5ee; --cream: #f5f1e8; --amber: #e8ab36; --amber-light: #f3c459; --amber-deep: #b9852a; --amber-text: #8a5f12; --text: #2a3a48; --muted: #5a6b7a; --line: rgba(21,38,55,.12);
  --serif: "Newsreader", Georgia, serif; --sans: "Instrument Sans", system-ui, -apple-system, Arial, sans-serif; --ease: cubic-bezier(.16,1,.3,1);
  margin: 8px 0 28px; font-family: var(--sans); color: var(--text); }
#yxy-rt-m * { box-sizing: border-box; }
#yxy-rt-m .yxr-h { font-size: 28px; }

/* 1.36.1: pagina movil del yate (plantilla #y8f) sin encimados ni verde */
#y8f .unl { color: #9a7425; }
#y8f .pkt b { white-space: normal; overflow: visible; text-overflow: clip; line-height: 1.25; }
#y8f .cact { flex-wrap: wrap; gap: 10px; }
#y8f .cact a.c-wa { background: rgba(248,245,238,.06); border: 1px solid rgba(248,245,238,.25); color: #f8f5ee !important; }
#y8f .cact a.c-q { flex: 1 1 100%; order: 9; height: 52px; font-size: 13px; white-space: normal; text-align: center; }
#y8bar .wa, #y8rb .wa { background: #152637; color: #f8f5ee; }
#y8bar .q { min-width: 0; }
#y8f .rwa { background: #152637; }
