.attraction-spotlight {
    --journey-accent: #8bddfa;
}
.attraction-spotlight[data-area="casco-antiguo"] { --journey-accent: #ff9b8d; }
.attraction-spotlight[data-area="ancon"] { --journey-accent: #ffd487; }
.attraction-spotlight[data-area="cinta-costera"] { --journey-accent: #9fe3ba; }

.attraction-spotlight-shell { padding-top: 0; }
.attraction-spotlight-topbar {
    min-height: 72px;
    height: auto;
    padding: 10px 0;
    gap: 13px;
    justify-content: space-between;
    border-bottom: 1px solid rgba(255,255,255,.085);
    background: rgba(2, 17, 30, .92);
    backdrop-filter: blur(18px);
    pointer-events: auto;
}

.attraction-journey {
    min-width: 0;
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
}
.attraction-journey-status {
    min-width: 0;
    width: min(620px, 100%);
    display: grid;
    grid-template-columns: auto minmax(90px, 1fr);
    align-items: end;
    column-gap: 12px;
    row-gap: 5px;
}
.attraction-journey-kicker {
    grid-column: 1 / -1;
    color: var(--journey-accent);
    font: 800 8.5px/1.15 "Manrope", sans-serif;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.attraction-journey-position {
    color: #f4fbff;
    font: 800 13px/1 "Manrope", sans-serif;
    letter-spacing: .035em;
    white-space: nowrap;
}
.attraction-journey-area {
    min-width: 0;
    overflow: hidden;
    color: #8daaba;
    font-size: 10.5px;
    font-weight: 750;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.attraction-journey-track {
    grid-column: 1 / -1;
    position: relative;
    height: 2px;
    overflow: hidden;
    border-radius: 999px;
    background: rgba(255,255,255,.11);
}
.attraction-journey-fill {
    --journey-progress: 0%;
    position: absolute;
    inset: 0 auto 0 0;
    width: var(--journey-progress);
    border-radius: inherit;
    background: var(--journey-accent);
    transition: width .22s ease;
}
.attraction-journey-actions {
    display: flex;
    gap: 6px;
}
.attraction-journey-button {
    width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 12px;
    display: grid;
    place-items: center;
    color: #cfe6f0;
    background: rgba(255,255,255,.045);
    cursor: pointer;
    font: 800 18px/1 "Manrope", sans-serif;
}
.attraction-journey-button:hover { color: #fff; border-color: color-mix(in srgb, var(--journey-accent) 48%, transparent); background: rgba(255,255,255,.085); }
.attraction-journey-button:disabled { opacity: .32; cursor: default; }
.attraction-journey-button:focus-visible { outline: 2px solid var(--journey-accent); outline-offset: 2px; }

html[data-theme="light"] .attraction-spotlight-topbar {
    border-bottom-color: rgba(8,43,75,.10);
    background: rgba(247, 251, 252, .94);
}
html[data-theme="light"] .attraction-journey-position { color: #0b2d43; }
html[data-theme="light"] .attraction-journey-area { color: #657f8e; }
html[data-theme="light"] .attraction-journey-track { background: rgba(8,43,75,.12); }
html[data-theme="light"] .attraction-journey-button {
    color: #315c73;
    border-color: rgba(8,43,75,.12);
    background: rgba(8,43,75,.035);
}
html[data-theme="light"] .attraction-journey-button:hover { color: #0b496d; background: rgba(8,43,75,.07); }

.attractions-hero-button-saved { gap: 9px; }
.attractions-saved-count {
    min-width: 24px;
    height: 24px;
    padding: 0 7px;
    border-radius: 999px;
    display: inline-grid;
    place-items: center;
    color: #dff7ff;
    background: rgba(139, 221, 250, .16);
    font-size: 10px;
    font-weight: 850;
    line-height: 1;
}
.attractions-hero-button-saved.has-saved {
    border-color: rgba(139, 221, 250, .42);
    background: rgba(89, 190, 229, .12);
}
.attractions-hero-button-saved:disabled {
    opacity: .46;
    cursor: default;
    transform: none;
}
.attraction-action-save {
    color: #c7e9f5;
    border-color: rgba(139, 221, 250, .2);
    background: rgba(139, 221, 250, .055);
}
.attraction-action-save svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linejoin: round;
}
.attraction-action-save:hover {
    border-color: rgba(139, 221, 250, .46);
    background: rgba(139, 221, 250, .12);
}
.attraction-action-save[aria-pressed="true"] {
    color: #042138;
    border-color: #8bddfa;
    background: #8bddfa;
}
.attraction-action-save[aria-pressed="true"] svg { fill: currentColor; }
.attraction-action-save:focus-visible,
.attractions-hero-button-saved:focus-visible { outline: 2px solid #8bddfa; outline-offset: 3px; }

.attractions-route-board[hidden] { display: none !important; }

.attractions-route-board {
    width: min(1320px, calc(100% - 48px));
    margin: -6px auto 72px;
    padding: 32px 0;
    border-block: 1px solid rgba(255,255,255,.09);
    display: grid;
    grid-template-columns: minmax(260px, .68fr) minmax(0, 1.32fr);
    gap: 38px;
    align-items: center;
}
.attractions-route-board-copy { min-width: 0; }
.attractions-route-board-eyebrow {
    display: block;
    margin-bottom: 10px;
    color: #8bddfa;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.attractions-route-board h2 {
    max-width: 520px;
    margin: 0;
    color: #f2f9fc;
    font-size: clamp(30px, 3vw, 46px);
    font-weight: 760;
    line-height: .98;
    letter-spacing: -.045em;
    text-wrap: balance;
}
.attractions-route-board-copy > p {
    max-width: 540px;
    margin: 16px 0 0;
    color: #87a8b8;
    font-size: 13px;
    line-height: 1.65;
}
.attractions-route-board-summary {
    margin-top: 18px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 0;
    color: #7695a5;
    font-size: 10.5px;
    line-height: 1.35;
}
.attractions-route-board-summary strong { color: #d5eaf2; font-weight: 800; }
.attractions-route-board-summary span {
    margin-left: 10px;
    padding-left: 10px;
    border-left: 1px solid rgba(255,255,255,.13);
}
.attractions-route-board-actions {
    margin-top: 22px;
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
}
.attractions-route-board-start {
    min-height: 45px;
    margin-top: 0;
    padding: 0 17px;
    border: 0;
    border-radius: 12px;
    color: #05253a;
    background: #8bddfa;
    cursor: pointer;
    font-size: 11px;
    font-weight: 850;
    letter-spacing: .01em;
}
.attractions-route-board-start:hover { background: #b2ebff; }
.attractions-route-board-start:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.attractions-route-board-optimize {
    min-height: 45px;
    padding: 0 16px;
    border: 1px solid rgba(139,221,250,.27);
    border-radius: 12px;
    color: #dff7ff;
    background: rgba(139,221,250,.075);
    cursor: pointer;
    font-size: 11px;
    font-weight: 850;
}
.attractions-route-board-optimize:hover { border-color: rgba(139,221,250,.5); background: rgba(139,221,250,.13); }
.attractions-route-board-optimize:focus-visible { outline: 2px solid #8bddfa; outline-offset: 3px; }
.attractions-route-board-share {
    min-height: 45px;
    padding: 0 16px;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 12px;
    color: #f1fbff;
    background: rgba(255,255,255,.055);
    cursor: pointer;
    font-size: 11px;
    font-weight: 850;
}
.attractions-route-board-share:hover { border-color: rgba(139,221,250,.38); background: rgba(139,221,250,.1); }
.attractions-route-board-share:focus-visible { outline: 2px solid #8bddfa; outline-offset: 3px; }
.attractions-route-board-share[hidden],
.attractions-route-board-optimize[hidden],
.attractions-route-board-order-note[hidden],
.attractions-route-board-shared-note[hidden] { display: none !important; }
.attractions-route-board-order-note {
    max-width: 540px;
    margin: 10px 0 0;
    color: #6f93a4;
    font-size: 10.5px;
    line-height: 1.5;
}
.attractions-route-board-order-status:not(:empty) {
    max-width: 540px;
    margin-top: 8px;
    color: #9de6ff;
    font-size: 10.5px;
    font-weight: 750;
    line-height: 1.45;
}
.attractions-route-board-shared-note {
    max-width: 540px;
    margin: 12px 0 0;
    padding: 10px 12px;
    border-left: 2px solid #8bddfa;
    border-radius: 0 8px 8px 0;
    color: #a8c8d6;
    background: rgba(139,221,250,.055);
    font-size: 10.5px;
    line-height: 1.5;
}
.attractions-route-board-share-status:not(:empty) {
    max-width: 540px;
    margin-top: 8px;
    color: #9de6ff;
    font-size: 10.5px;
    font-weight: 750;
    line-height: 1.45;
}
.attractions-route-board-rail {
    min-width: 0;
    padding: 2px 2px 10px;
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(188px, 220px);
    gap: 14px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x proximity;
    scrollbar-width: thin;
}
.attractions-route-stop {
    position: relative;
    min-width: 0;
    scroll-snap-align: start;
}
.attractions-route-stop-open {
    width: 100%;
    padding: 0;
    border: 0;
    display: grid;
    gap: 10px;
    color: inherit;
    background: transparent;
    text-align: left;
    cursor: pointer;
}
.attractions-route-stop-media {
    position: relative;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    border-radius: 14px;
    display: block;
    background: rgba(255,255,255,.045);
    box-shadow: 0 14px 32px rgba(0,0,0,.2);
}
.attractions-route-stop-media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .28s ease;
}
.attractions-route-stop-open:hover .attractions-route-stop-media img { transform: scale(1.025); }
.attractions-route-stop-number {
    position: absolute;
    top: 9px;
    left: 9px;
    min-width: 30px;
    height: 24px;
    padding: 0 7px;
    border-radius: 8px;
    display: grid;
    place-items: center;
    color: #eaf8fd;
    background: rgba(2,17,30,.74);
    backdrop-filter: blur(8px);
    font-size: 9px;
    font-weight: 850;
    letter-spacing: .06em;
}
.attractions-route-stop-copy { min-width: 0; display: grid; gap: 3px; padding-right: 4px; }
.attractions-route-stop-copy small {
    color: #6f98aa;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}
.attractions-route-stop-copy strong {
    color: #d9edf5;
    font-size: 13px;
    font-weight: 760;
    line-height: 1.3;
}
.attractions-route-stop-open:hover .attractions-route-stop-copy strong { color: #fff; }
.attractions-route-stop-open:focus-visible { outline: 2px solid #8bddfa; outline-offset: 4px; border-radius: 14px; }
.attractions-route-stop-order {
    margin-top: 9px;
    display: flex;
    gap: 7px;
}
.attractions-route-stop-move {
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid rgba(139,221,250,.18);
    border-radius: 11px;
    display: grid;
    place-items: center;
    color: #baddea;
    background: rgba(139,221,250,.05);
    cursor: pointer;
    font: 800 15px/1 "Manrope", sans-serif;
}
.attractions-route-stop-move:hover:not(:disabled) {
    color: #fff;
    border-color: rgba(139,221,250,.42);
    background: rgba(139,221,250,.11);
}
.attractions-route-stop-move:disabled { opacity: .26; cursor: default; }
.attractions-route-stop-move:focus-visible { outline: 2px solid #8bddfa; outline-offset: 2px; }
.attractions-route-stop-remove {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 12px;
    display: grid;
    place-items: center;
    color: #e5f2f7;
    background: rgba(2,17,30,.8);
    backdrop-filter: blur(9px);
    cursor: pointer;
    font-size: 20px;
    line-height: 1;
}
.attractions-route-stop-remove:hover { color: #fff; background: rgba(2,17,30,.96); }
.attractions-route-stop-remove:focus-visible { outline: 2px solid #8bddfa; outline-offset: 2px; }

html[data-theme="light"] .attractions-route-board { border-color: rgba(8,43,75,.1); }
html[data-theme="light"] .attractions-route-board-eyebrow { color: #12618d; }
html[data-theme="light"] .attractions-route-board h2 { color: #0a2a43; }
html[data-theme="light"] .attractions-route-board-copy > p { color: #60798a; }
html[data-theme="light"] .attractions-route-board-summary { color: #718a98; }
html[data-theme="light"] .attractions-route-board-summary strong { color: #294c61; }
html[data-theme="light"] .attractions-route-board-summary span { border-color: rgba(8,43,75,.14); }
html[data-theme="light"] .attractions-route-board-start { color: #fff; background: #0d4d76; }
html[data-theme="light"] .attractions-route-board-start:hover { background: #12618d; }
html[data-theme="light"] .attractions-route-board-optimize {
    color: #0b4f75;
    border-color: rgba(18,97,141,.2);
    background: rgba(18,97,141,.055);
}
html[data-theme="light"] .attractions-route-board-optimize:hover { border-color: rgba(18,97,141,.38); background: rgba(18,97,141,.1); }
html[data-theme="light"] .attractions-route-board-share {
    color: #0b4f75;
    border-color: rgba(18,97,141,.17);
    background: rgba(18,97,141,.035);
}
html[data-theme="light"] .attractions-route-board-share:hover { border-color: rgba(18,97,141,.32); background: rgba(18,97,141,.085); }
html[data-theme="light"] .attractions-route-board-order-note { color: #718b98; }
html[data-theme="light"] .attractions-route-board-order-status:not(:empty),
html[data-theme="light"] .attractions-route-board-share-status:not(:empty) { color: #12618d; }
html[data-theme="light"] .attractions-route-board-shared-note {
    color: #587789;
    border-left-color: #12618d;
    background: rgba(18,97,141,.055);
}
html[data-theme="light"] .attractions-route-stop-media { background: rgba(8,43,75,.045); box-shadow: 0 12px 28px rgba(23,67,92,.13); }
html[data-theme="light"] .attractions-route-stop-copy small { color: #6f8795; }
html[data-theme="light"] .attractions-route-stop-copy strong { color: #254d63; }
html[data-theme="light"] .attractions-route-stop-open:hover .attractions-route-stop-copy strong { color: #0b496d; }
html[data-theme="light"] .attractions-route-stop-move {
    color: #315f75;
    border-color: rgba(18,97,141,.14);
    background: rgba(18,97,141,.035);
}
html[data-theme="light"] .attractions-route-stop-move:hover:not(:disabled) { color: #0b496d; border-color: rgba(18,97,141,.3); background: rgba(18,97,141,.08); }
html[data-theme="light"] .attractions-route-stop-remove { color: #244d63; border-color: rgba(8,43,75,.12); background: rgba(255,255,255,.9); }
html[data-theme="light"] .attractions-route-stop-remove:hover { color: #0b496d; background: #fff; }

html[data-theme="light"] .attractions-saved-count {
    color: #0c587c;
    background: rgba(39, 137, 181, .12);
}
html[data-theme="light"] .attractions-hero-button-saved.has-saved {
    border-color: rgba(23, 92, 130, .28);
    background: rgba(48, 153, 198, .08);
}
html[data-theme="light"] .attraction-action-save {
    color: #175c82;
    border-color: rgba(18,82,127,.16);
    background: #f4f9fb;
}
html[data-theme="light"] .attraction-action-save[aria-pressed="true"] {
    color: #06253a;
    border-color: #81d5f3;
    background: #bcecff;
}

@media (max-width: 760px), (max-width: 900px) and (max-height: 500px) {
    .attraction-spotlight-shell { padding-top: 0; }
    .attraction-spotlight-topbar {
        min-height: 64px;
        height: auto;
        padding: 7px 0;
        gap: 7px;
    }
    .attraction-journey { gap: 7px; }
    .attraction-journey-status { grid-template-columns: auto minmax(50px, 1fr); column-gap: 8px; row-gap: 4px; }
    .attraction-journey-kicker { font-size: 7.5px; letter-spacing: .11em; }
    .attraction-journey-position { font-size: 11px; }
    .attraction-journey-area { font-size: 9.5px; }
    .attraction-journey-actions { gap: 4px; }
    .attraction-journey-button { width: 38px; height: 38px; border-radius: 10px; font-size: 16px; }
    .attraction-spotlight-close { width: 40px; height: 40px; font-size: 21px; }
    .attractions-hero-button-saved { flex: 1 1 145px; }
    .attractions-route-board {
        width: calc(100% - 32px);
        margin: -2px auto 54px;
        padding: 26px 0;
        grid-template-columns: 1fr;
        gap: 24px;
        align-items: start;
    }
    .attractions-route-board h2 { max-width: 360px; font-size: clamp(32px, 9.5vw, 42px); }
    .attractions-route-board-copy > p { font-size: 12.5px; }
    .attractions-route-board-summary { margin-top: 15px; }
    .attractions-route-board-actions { margin-top: 19px; display: grid; grid-template-columns: 1fr; }
    .attractions-route-board-start,
    .attractions-route-board-optimize,
    .attractions-route-board-share { width: 100%; min-height: 48px; }
    .attractions-route-board-order-note { margin-top: 9px; font-size: 10.5px; }
    .attractions-route-board-rail {
        margin-right: -16px;
        padding-right: 16px;
        grid-auto-columns: minmax(178px, 64vw);
        gap: 12px;
    }
}

@media (max-width: 900px) and (max-height: 500px) {
    .attraction-spotlight-topbar { min-height: 52px; padding-block: 5px; }
    .attraction-journey-kicker { display: none; }
    .attraction-journey-status { row-gap: 3px; }
    .attraction-journey-button { width: 40px; height: 40px; }
    .attraction-spotlight-close { width: 40px; height: 40px; }
}

@media (max-width: 380px) {
    .attraction-journey-status { grid-template-columns: auto minmax(36px, 1fr); }
    .attraction-journey-area { max-width: 76px; }
    .attraction-journey-button { width: 36px; height: 36px; }
    .attraction-spotlight-close { width: 38px; height: 38px; }
}

@media (prefers-reduced-motion: reduce) {
    .attraction-journey-fill,
    .attractions-route-stop-media img { transition: none; }
}
