/* Two places, two purposes: an information desk in Huamanga and the destination in Ticllas. */
.arrival {
  --office-paper: #f8faef;
  --office-art: #e1eccb;
  --office-detail: #d2e2b5;
  --office-building: #f3f5df;
  --office-window: #b8d1b5;
  --route-ground: #0b392a;
  --route-surface: #164b35;
  --route-ink: #f4f6e9;
  --route-muted: #cfddbf;
  --route-line: #78a075;
}
.arrival-heading { align-items: end; margin-bottom: 32px; }
.arrival-choices { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 48px; }
.arrival-choice { display: flex; align-items: center; gap: 20px; padding: 24px 28px; border-radius: 24px; transition: transform 180ms var(--ease-out), background-color 150ms ease; }
.choice-office { background: var(--office-paper); box-shadow: 0 4px 0 var(--office-detail); }
.choice-fundo { background: var(--route-ground); color: var(--route-ink); box-shadow: 0 4px 0 #04291d; }
.arrival-choice > svg { width: 42px; height: 42px; }
.arrival-choice small { display: block; font-size: 14px; margin-bottom: 4px; }
.arrival-choice strong { display: block; font-size: 22px; font-weight: 600; line-height: 1.3; }
.choice-arrow { margin-left: auto; font-size: 28px; transition: transform 180ms var(--ease-out); }
.arrival-choice:hover .choice-arrow { transform: translate(3px, 3px); }
.arrival-choice:active { transform: translateY(2px); }
.choice-fundo:focus-visible { outline-color: var(--accent); }
.office-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; padding: 48px; background: var(--office-paper); border-radius: 32px; box-shadow: 0 6px 0 var(--office-detail), 0 22px 40px #173b2510; scroll-margin-top: 24px; }
.arrival :is(.office-copy, .destination-heading) h3 { font-size: clamp(36px, 3.4vw, 48px); line-height: 1.08; }
.office-description { margin-top: 24px; max-width: 43ch; }
.office-address-block { margin-top: 28px; }
.address-label { display: block; color: var(--muted); font-size: 14px; margin-bottom: 8px; }
#office-address { max-width: 42ch; }
#office-address strong { font-weight: 600; }
#office-address > span { display: block; margin-top: 10px; }
.copy-address { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 8px 0; margin-top: 8px; border: 0; background: none; color: var(--ink); font-size: 14px; font-weight: 600; }
.copy-address svg { width: 18px; height: 18px; }
.copy-address:hover { text-decoration: underline; text-underline-offset: 4px; }
.copy-address[hidden], .journey-hint[hidden] { display: none; }
.copy-status { display: block; font-size: 14px; color: var(--muted); }
.copy-status:empty { display: none; }
.office-contact { gap: 12px; margin-top: 24px; }
.office-phone { display: block; width: fit-content; min-height: 44px; padding-top: 10px; font-weight: 600; }
.office-phone:hover { text-decoration: underline; text-underline-offset: 4px; }
.office-visual { display: flex; flex-direction: column; justify-content: center; min-width: 0; align-self: stretch; border-radius: 24px; padding: 16px 24px 28px; background: var(--office-art); }
.office-drawing { display: block; width: 100%; height: auto; overflow: visible; }
.office-ground { fill: var(--office-detail); }
.office-side, .office-roof { fill: #72936a; }
.office-wall { fill: var(--office-building); }
.office-awning { fill: #f1d35c; }
.office-awning-lines { fill: none; stroke: #d7b844; stroke-width: 20; }
.office-awning-bottom { fill: #dcbf4b; }
.office-window { fill: var(--office-window); }
.office-window-lines { stroke: var(--office-building); stroke-width: 5; }
.office-door { fill: #335e46; }
.office-handle { fill: #f1d35c; }
.office-step { fill: #6b8e63; }
.office-sign { fill: #174a32; }
.office-sign-name { fill: #f9f7df; font: 25px var(--serif); letter-spacing: -.4px; }
.office-sign-sub { fill: #f1d35c; font: 10px var(--sans); letter-spacing: 1px; }
.office-plant { fill: #4f7b48; stroke: #4f7b48; stroke-width: 4; stroke-linejoin: round; }
.office-plant path:last-child { fill: #91ad6d; stroke: none; }
.office-lamp { fill: #f1d35c; stroke: #688264; stroke-width: 4; }
.urban-routes { display: grid; grid-template-columns: 64px 1fr; align-items: center; gap: 12px; }
.urban-route-numbers { display: flex; gap: 12px; padding: 0; margin: 0; list-style: none; }
.urban-bus { width: 64px; height: 42px; color: #f1d35c; }
.bus-windows { fill: #2c593b; }
.bus-wheel { fill: #204832; stroke: var(--office-art); stroke-width: 3; }
.urban-route-number { display: grid; place-items: center; width: 44px; height: 48px; border-radius: 12px; background: var(--office-paper); font-size: 22px; font-weight: 700; box-shadow: 0 3px 0 var(--office-detail); }
.urban-routes p { grid-column: 1 / -1; max-width: 36ch; margin: 8px 0 0; }
.urban-routes p strong { display: block; font-size: 19px; font-weight: 600; }
.urban-routes p span { display: block; margin-top: 6px; }

.fundo-panel { margin-top: 48px; padding: 48px; border-radius: 32px; overflow: hidden; background: var(--route-ground); color: var(--route-ink); scroll-margin-top: 24px; box-shadow: 0 7px 0 #06291d, 0 22px 40px #173b251a; }
.fundo-panel :focus-visible { outline-color: var(--accent); }
.destination-heading { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: end; }
.destination-intro p { max-width: 43ch; }
.destination-intro .button { margin-top: 24px; }
.fundo-panel .sun-button, .fundo-panel .sun-button:hover { color: var(--on-accent); }
.journey-layout { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 48px; margin-top: 48px; }
.journey-illustration { min-width: 0; padding-bottom: 20px; align-self: center; }
.journey-map { display: block; width: 100%; height: auto; overflow: visible; }
.journey-sun { fill: #d9d780; }
.journey-mountains-back { fill: #286046; }
.journey-mountains-front { fill: #1c5139; }
.journey-snow { fill: #a8c398; }
.journey-hill { fill: #103f2b; }
.journey-road-shadow { fill: none; stroke: #092c20; stroke-width: 29; stroke-linecap: round; }
.journey-road { fill: none; stroke: #658c62; stroke-width: 20; stroke-linecap: round; }
.journey-road-dashes { fill: none; stroke: #bdcda2; stroke-width: 2; stroke-dasharray: 6 8; }
.journey-progress { fill: none; stroke: var(--accent); stroke-width: 6; stroke-linecap: round; stroke-dasharray: 100; stroke-dashoffset: calc(100 - var(--route-progress, 0)); transition: stroke-dashoffset 240ms var(--ease-out); }
.point-halo { fill: #f1d35c; opacity: 0; transform: scale(.8); transform-box: fill-box; transform-origin: center; transition: opacity 180ms ease, transform 220ms var(--ease-out); }
.point-disc { fill: #e8f0d5; stroke: #103f2b; stroke-width: 4; transition: fill 150ms ease; }
.journey-point text { fill: #173b2b; font: 700 18px var(--sans); }
.journey-point.is-current .point-halo { opacity: .22; transform: scale(1); }
.journey-point:is(.is-current, .is-visited) .point-disc { fill: var(--accent); }
.journey-place-label { fill: var(--route-ink); font: 16px var(--sans); }
.journey-place-small { font-size: 14px; }
.journey-destination-label { fill: var(--route-ink); font: 26px var(--serif); }
.journey-cabin { fill: #b3cf85; }
.journey-cabin-lines { fill: none; stroke: #163c28; stroke-width: 5; stroke-linejoin: round; }
.journey-illustration figcaption { padding-top: 20px; font: 26px/1.2 var(--serif); }
.journey-illustration figcaption span { display: block; margin-top: 10px; font: 14px/1.5 var(--sans); color: var(--route-muted); }
.journey-hint { margin-bottom: 16px; font-size: 14px; color: var(--route-muted); }
.journey-steps { list-style: none; padding: 0; margin: 0; }
.journey-steps li + li { margin-top: 8px; }
.journey-step { display: flex; align-items: start; gap: 16px; width: 100%; padding: 20px; border: 0; border-radius: 20px; background: transparent; color: inherit; text-align: left; transition: background-color 150ms ease; }
.journey-step:disabled { cursor: default; opacity: 1; }
.journey-step > span:last-child { min-width: 0; }
.journey-step strong { display: block; font-size: 19px; line-height: 1.4; font-weight: 600; }
.journey-step strong + span { display: block; margin-top: 8px; font-size: 17px; line-height: 1.6; }
.journey-step:is(:hover, [aria-pressed="true"]) { background: var(--route-surface); }
.step-number { display: grid; place-items: center; width: 34px; height: 34px; flex-shrink: 0; border-radius: 50%; background: #e8f0d5; color: #173b2b; font-size: 16px; font-weight: 700; }
.journey-step[aria-pressed="true"] .step-number { background: var(--accent); }
.destination-map { margin-top: 48px; }
.destination-map-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin-bottom: 24px; }
.fundo-panel h4 { margin: 0; font: 28px/1.2 var(--serif); letter-spacing: -.025em; }
.destination-map-heading p { margin-top: 8px; color: var(--route-muted); font-size: 14px; }
.destination-map .text-link { font-size: 14px; }
.destination-map .google-map-frame { padding: 8px; border-radius: 24px; background: var(--route-surface); box-shadow: none; }
.destination-map .google-map-frame iframe { height: 400px; border-radius: 18px; }
.arrival-help { display: flex; align-items: center; gap: 24px; margin-top: 32px; padding: 28px; border-radius: 22px; background: var(--route-surface); }
.arrival-help > svg { width: 42px; height: 42px; color: var(--accent); }
.arrival-help h4 { font-size: 28px; }
.arrival-help p { font-size: 16px; margin-top: 8px; }
.arrival-help .text-button { flex-shrink: 0; margin-left: auto; color: var(--route-ink); }

:root[data-theme="dark"] .arrival { --office-paper: #1a382a; --office-art: #23432e; --office-detail: #102c1e; --office-building: #b3c59b; --office-window: #5a8064; --route-ground: #06271c; --route-surface: #163d2b; }

@media (max-width: 1100px) {
  .office-panel, .fundo-panel { padding: 36px; }
  .office-panel, .destination-heading, .journey-layout { gap: 32px; }
  .office-visual { padding-inline: 16px; }
  .urban-routes { gap: 10px; }
  .journey-step { padding: 16px; gap: 12px; }
  .arrival-help { flex-wrap: wrap; }
  .arrival-help .text-button { margin-left: 66px; }
}
@media (max-width: 850px) {
  .arrival-choice { padding: 22px; gap: 14px; }
  .arrival-choice > svg { width: 34px; height: 34px; }
  .arrival-choice strong { font-size: 19px; }
  .office-panel { grid-template-columns: 1fr; }
  .office-copy { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
  .office-copy h3 { grid-column: 1 / -1; }
  .office-description { grid-column: 1; grid-row: 2; }
  .office-address-block { grid-column: 2; grid-row: 2 / 5; margin-top: 24px; }
  .office-contact { grid-column: 1; align-self: start; justify-self: start; font-size: 16px; padding-inline: 16px; }
  .office-phone { grid-column: 1; }
  .office-visual { display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: 24px; padding: 16px 24px; }
  .urban-routes { grid-template-columns: 48px 1fr; gap: 8px; }
  .urban-bus { width: 48px; }
  .destination-heading { align-items: start; }
  .journey-layout { grid-template-columns: 1fr; }
  .journey-illustration { width: 100%; max-width: 580px; justify-self: center; padding-bottom: 0; }
  .journey-illustration figcaption { padding-top: 12px; }
  .journey-step { padding: 20px; gap: 16px; }
  .destination-map-heading { align-items: start; flex-direction: column; gap: 8px; }
  .arrival-help > div { flex: 1; }
}
@media (max-width: 600px) {
  .arrival-choices { gap: 12px; margin-bottom: 32px; }
  .arrival-choice { padding: 18px 16px; display: block; position: relative; border-radius: 20px; }
  .arrival-choice > svg { width: 32px; height: 32px; margin-bottom: 14px; }
  .arrival-choice small { font-size: 13px; max-width: 13ch; }
  .arrival-choice strong { font-size: 17px; max-width: 12ch; line-height: 1.4; }
  .choice-arrow { position: absolute; top: 16px; right: 16px; font-size: 22px; }
  .office-panel, .fundo-panel { padding: 28px 20px; border-radius: 26px; }
  .office-copy { display: block; }
  .arrival :is(.office-copy, .destination-heading) h3 { font-size: 36px; }
  .office-description { margin-top: 20px; }
  .office-address-block { margin-top: 24px; }
  .office-contact { font-size: 16px; padding-inline: 18px; }
  .office-visual { display: block; padding: 4px 20px 24px; border-radius: 20px; }
  .office-drawing { width: calc(100% + 24px); margin-inline: -12px; }
  .urban-routes { grid-template-columns: 60px 1fr; gap: 10px; }
  .urban-bus { width: 60px; }
  .urban-routes p { margin-top: 12px; }
  .urban-routes p strong { font-size: 19px; }
  .urban-routes p span { font-size: 16px; }
  .fundo-panel { margin-top: 32px; }
  .destination-heading { grid-template-columns: 1fr; gap: 24px; }
  .destination-intro .button { width: 100%; font-size: 16px; padding-inline: 16px; }
  .journey-layout { gap: 28px; margin-top: 32px; }
  .journey-map { width: calc(100% + 16px); margin-inline: -8px; }
  .journey-place-label { font-size: 30px; }
  .journey-place-small { font-size: 25px; }
  .journey-destination-label { font-size: 34px; }
  .journey-point text { font-size: 24px; }
  .journey-illustration figcaption { font-size: 24px; }
  .journey-step { padding: 18px 12px; gap: 12px; }
  .journey-step strong { font-size: 18px; }
  .journey-step strong + span { font-size: 16px; }
  .step-number { width: 30px; height: 30px; }
  .destination-map { margin-top: 32px; }
  .fundo-panel h4 { font-size: 25px; }
  .destination-map .google-map-frame { margin-inline: -6px; padding: 6px; border-radius: 20px; }
  .destination-map .google-map-frame iframe { height: 350px; border-radius: 14px; }
  .arrival-help { margin-top: 28px; padding: 22px 18px; gap: 16px; align-items: flex-start; }
  .arrival-help > svg { width: 32px; height: 32px; margin-top: 2px; }
  .arrival-help h4 { font-size: 24px; }
  .arrival-help p { margin-left: -48px; margin-top: 16px; }
  .arrival-help .text-button { margin-left: 0; font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  .arrival-choice, .choice-arrow, .journey-progress, .point-halo, .point-disc { transition: none; }
  .arrival-choice:hover .choice-arrow, .arrival-choice:active { transform: none; }
}
.motion-paused :is(.journey-progress, .point-halo, .point-disc) { transition: none; }
