@font-face { font-family: "Young Serif"; src: url(fonts/young-serif-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url(fonts/public-sans-latin-400-normal.woff2) format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url(fonts/public-sans-latin-700-normal.woff2) format("woff2"); font-weight: 700; font-display: swap; }
/* "Ask Adios" assistant (shared by adiostravels.com and the trip planner). Self-contained colours and fonts. */
.chat-fab, .chat { --c-navy: #13263d; --c-navy2: #1d3656; --c-red: #c4161c; --c-line: #d9e1ea; --c-paper: #f6f8fb; --c-muted: #52627a; font-family: "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif; }
.chat .sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.chat-fab { position: fixed; right: 18px; bottom: 76px; z-index: 51; display: flex; align-items: center; gap: .55rem; background: var(--c-navy); color: #fff; border: 0; font-weight: 700; font-size: 1rem; padding: .35rem 1.1rem .35rem .35rem; border-radius: 999px; box-shadow: 0 8px 22px rgba(19,38,61,.3); cursor: pointer; }
.chat-fab:hover { background: var(--c-navy2); }
.chat-fab:focus-visible, .chat button:focus-visible, .chat a:focus-visible, .chat input:focus-visible { outline: 3px solid #f2a93b; outline-offset: 2px; }
.chat-fab-face { width: 46px; height: 46px; border-radius: 50%; background: #fff; display: grid; place-items: center; animation: tiger-peek 1.1s cubic-bezier(.2,.8,.2,1) .8s both; }
.chat-fab-face img { width: 40px; height: 40px; display: block; }
@keyframes tiger-peek { 0% { transform: translateY(14px) scale(.6); opacity: 0; } 60% { transform: translateY(-4px) scale(1.06); opacity: 1; } 100% { transform: none; } }
@media (prefers-reduced-motion: reduce) { .chat-fab-face { animation: none; } }
@media (max-width: 520px) { .chat-fab-label { display: none; } .chat-fab { padding: .3rem; } }
.chat { position: fixed; right: 18px; bottom: 18px; z-index: 60; width: min(380px, calc(100vw - 24px)); height: min(620px, calc(100vh - 36px)); background: #fff; border-radius: 14px; box-shadow: 0 20px 50px rgba(19,38,61,.3); display: flex; flex-direction: column; overflow: hidden; color: var(--c-navy); }
.chat[hidden] { display: none; }
.chat-head { display: flex; align-items: center; gap: .7rem; background: var(--c-navy); color: #fff; padding: .7rem .9rem; }
.chat-head > div { flex: 1; }
.chat-head b { display: block; font-family: "Young Serif", Georgia, serif; font-weight: 400; font-size: 1.15rem; }
.chat-head span:not(.chat-avatar) { font-size: .8rem; color: #c8d6e6; }
.chat-avatar { width: 44px; height: 44px; border-radius: 50%; background: #fff; display: grid; place-items: center; flex: none; }
.chat-avatar img { width: 38px; height: 38px; }
.chat-x { background: transparent; color: #fff; border: 1px solid rgba(255,255,255,.5); border-radius: 6px; font: 700 .85rem inherit; padding: .35rem .6rem; cursor: pointer; }
.chat-log { flex: 1; overflow-y: auto; padding: 1rem; display: flex; flex-direction: column; gap: .6rem; background: var(--c-paper); }
.chat .msg { font-size: .95rem; line-height: 1.45; }
.chat .msg.bot { display: flex; gap: .45rem; align-items: flex-start; max-width: 92%; align-self: flex-start; }
.chat .msg.bot > div { background: #fff; border: 1px solid var(--c-line); padding: .6rem .8rem; border-radius: 4px 12px 12px 12px; }
.chat .msg-av { width: 30px; height: 30px; border-radius: 50%; background: #fff; border: 1px solid var(--c-line); display: grid; place-items: center; flex: none; }
.chat .msg-av img { width: 26px; height: 26px; }
.chat .msg.me { background: var(--c-navy); color: #fff; align-self: flex-end; max-width: 85%; padding: .6rem .8rem; border-radius: 12px 12px 4px 12px; }
.chat .msg.typing > div { color: var(--c-muted); font-style: italic; }
.chat .msg a { font-weight: 700; color: #2f7fc1; }
.chat .chips-q { display: flex; flex-wrap: wrap; gap: .4rem; padding-left: 2.2rem; }
.chat .chips-q .q { background: #fff; border: 1px solid var(--c-line); border-radius: 999px; padding: .35rem .75rem; font: .88rem inherit; color: var(--c-navy); cursor: pointer; text-align: left; }
.chat .chips-q .q:hover { border-color: var(--c-navy); }
.chat-plan { display: block; margin: .6rem .7rem 0; text-align: center; background: var(--c-red); color: #fff !important; text-decoration: none; font-weight: 700; padding: .65rem; border-radius: 6px; }
.chat-plan:hover { background: #a01117; }
.chat-form { display: flex; gap: .5rem; padding: .7rem; border-top: 1px solid var(--c-line); }
.chat-form input { flex: 1; font: inherit; padding: .55rem .7rem; border: 1px solid #b9c6d4; border-radius: 6px; min-width: 0; color: var(--c-navy); }
.chat-send { background: var(--c-red); color: #fff; border: 0; border-radius: 6px; font: 700 .95rem inherit; padding: .5rem 1rem; cursor: pointer; }
.chat-send:hover { background: #a01117; }
.chat-foot { display: flex; justify-content: space-between; padding: 0 .9rem .7rem; font-size: .9rem; }
.chat-foot a { color: #2f7fc1; }
.chat-cb { background: none; border: 0; padding: 0; font: 700 .9rem inherit; color: #2f7fc1; text-decoration: underline; cursor: pointer; }
.chat-lead { padding: .7rem .9rem .9rem; border-top: 1px solid var(--c-line); display: grid; gap: .45rem; font-size: .9rem; }
.chat-lead[hidden] { display: none; }
.chat-lead p { margin: 0; }
.chat-lead input { font: inherit; padding: .5rem .65rem; border: 1px solid #b9c6d4; border-radius: 6px; }
.chat-lead .chat-send { justify-self: start; }
.lead-msg { color: var(--c-red); font-weight: 700; }
/* compact once the reader scrolls (and always on phones), so the button never covers text */
body.scrolled .chat-fab, .chat-fab.mini { padding: .3rem; }
body.scrolled .chat-fab-label, .chat-fab.mini .chat-fab-label { display: none; }
@media (max-width: 860px) { .chat-fab { bottom: 80px; } }
