/* TripPilot — bright travel theme: white, big photos, sunset coral + ocean teal */
:root {
  --bg: #ffffff;
  --bg-2: #faf8f5;
  --ink: #1f2933;
  --ink-2: #374151;
  --muted: #6b7280;
  --faint: #6b7280;
  --card: #ffffff;
  --card-solid: #ffffff;
  --line: #ece7e1;
  --line-strong: #ddd5cc;
  --coral: #ff5a3c;
  --coral-dark: #e8432a;
  --coral-soft: #fff1ec;
  --coral-btn: #d63a1c; /* darker coral: white text on it is easy to read */
  --coral-btn-hover: #bf3218;
  --teal: #0e9f9a;
  --teal-dark: #097672;
  --teal-soft: #e6f6f5;
  --sky: #3b82f6;
  --gold: #f5a524;
  --violet: #7c6cf2;
  --pink: #ec4899;
  --grad: linear-gradient(100deg, #10b9b0, #3b82f6);
  --radius: 20px;
  --shadow-sm: 0 1px 2px rgba(31, 41, 51, .06), 0 2px 8px rgba(31, 41, 51, .05);
  --shadow: 0 10px 30px rgba(31, 41, 51, .10);
  --shadow-lg: 0 24px 60px rgba(31, 41, 51, .16);
  --glow: 0 0 0 3px rgba(14, 159, 154, .18);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font: 16px/1.6 "Plus Jakarta Sans", system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
::selection { background: rgba(14, 159, 154, .2); }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; position: relative; }
.aurora, .stars, .marquee { display: none !important; } /* old dark-theme decorations */
.ic { width: 1.15em; height: 1.15em; flex: none; vertical-align: -0.2em; }

/* ---------- Text ---------- */
h1, h2, h3 { color: var(--ink); letter-spacing: -.02em; }
.grad-text { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px;
  background: var(--teal-soft); color: var(--teal-dark); font-weight: 700; font-size: 13px; letter-spacing: .02em;
}

/* ---------- Buttons ---------- */
.btn {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 24px; border: 0; border-radius: 999px; cursor: pointer;
  font: 700 15px/1 "Plus Jakarta Sans", system-ui, sans-serif; color: #fff; background: var(--coral-btn);
  box-shadow: 0 6px 18px rgba(255, 90, 60, .28); transition: transform .2s, box-shadow .2s, background .2s;
}
.btn:hover { background: var(--coral-btn-hover); transform: translateY(-2px); box-shadow: 0 10px 26px rgba(255, 90, 60, .35); }
.btn:active { transform: translateY(0) scale(.98); }
.btn.ghost { background: #fff; color: var(--ink); border: 1px solid var(--line-strong); box-shadow: var(--shadow-sm); }
.btn.ghost:hover { border-color: var(--ink); background: #fff; }
.btn:disabled { opacity: .5; cursor: default; transform: none; box-shadow: none; }

/* ---------- Nav ---------- */
.nav { position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, .92); backdrop-filter: blur(14px) saturate(1.5); border-bottom: 1px solid var(--line); }
.nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 21px; letter-spacing: -.02em; color: var(--ink); }
.logo-mark { width: 36px; height: 36px; border-radius: 11px; display: grid; place-items: center; font-size: 17px; color: #fff; background: var(--coral); }
.logo-mark .ic { width: 19px; height: 19px; transform: rotate(-10deg); }
.nav-links { display: flex; gap: 30px; align-items: center; font-weight: 600; font-size: 15px; color: var(--ink-2); }
.nav-links a:not(.btn) { position: relative; transition: color .2s; }
.nav-links a:not(.btn):hover { color: var(--coral); }
.nav-actions { display: flex; gap: 8px; }
.nav .btn { padding: 11px 20px; white-space: nowrap; }
@media (max-width: 760px) { .nav-links a:not(.btn) { display: none; } }
/* Transparent nav over the homepage photo */
.nav.over { position: absolute; left: 0; right: 0; background: transparent; border-color: transparent; backdrop-filter: none; }
.nav.over .logo, .nav.over .nav-links { color: #fff; }
.nav.over .nav-links a:not(.btn):hover { color: #fff; opacity: .8; }

/* ---------- Homepage hero ---------- */
.hero { position: relative; min-height: 760px; padding: 150px 0 90px; text-align: center; overflow: hidden; isolation: isolate; color: #fff; background: #1f2933; }
.hero-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; animation: kenburns 30s ease-in-out infinite alternate; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 20, 30, .45) 0%, rgba(10, 20, 30, .2) 40%, rgba(10, 20, 30, .55) 100%); }
.hero .wrap { z-index: 2; }
.hero .eyebrow { background: rgba(255, 255, 255, .18); color: #fff; backdrop-filter: blur(8px); }
h1 { font-size: clamp(42px, 7vw, 84px); line-height: 1.02; margin: 20px 0 16px; letter-spacing: -.035em; font-weight: 800; }
.hero h1 { color: #fff; text-shadow: 0 4px 30px rgba(0, 0, 0, .25); }
.hero h1 .grad-text { background: none; -webkit-text-fill-color: #ffd9cf; color: #ffd9cf; }
h1 .line { display: block; overflow: hidden; padding-bottom: .06em; }
h1 .line > span { display: inline-block; }
.lead { font-size: 19px; color: rgba(255, 255, 255, .92); max-width: 640px; margin: 0 auto 34px; text-shadow: 0 2px 14px rgba(0, 0, 0, .3); }
.ask-big { position: relative; max-width: 780px; margin: 0 auto; padding: 20px 20px 70px; border-radius: 24px; text-align: left; background: #fff; box-shadow: var(--shadow-lg); }
.ask-big textarea { width: 100%; resize: none; border: 0; outline: 0; background: transparent; color: var(--ink); font: inherit; font-size: 18px; line-height: 1.5; }
.ask-big textarea::placeholder { color: var(--faint); }
.ask-big .send-btn { position: absolute; right: 14px; bottom: 14px; width: 48px; height: 48px; }
.actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 900px; margin: 22px auto 0; }
.action { display: inline-flex; align-items: center; gap: 10px; padding: 12px 20px; border-radius: 999px; font-weight: 700; font-size: 15px; color: var(--ink); background: #fff; box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s; }
.action .a-ico { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; color: var(--coral); background: var(--coral-soft); transition: transform .3s; }
.action .a-ico .ic { width: 16px; height: 16px; }
.action:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }
.action:hover .a-ico { transform: rotate(-10deg) scale(1.1); }
.float-cards { display: none; }
@media (max-width: 640px) { .hero { min-height: 0; padding: 120px 0 60px; } .action { font-size: 14px; padding: 10px 16px; } .ask-big textarea { font-size: 16px; } }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.08); } }

/* ---------- Sections ---------- */
section { position: relative; padding: 90px 0; }
section.alt { background: var(--bg-2); }
.section-title { text-align: center; margin-bottom: 46px; }
.section-title h2 { font-size: clamp(30px, 4.4vw, 46px); margin: 14px 0 10px; line-height: 1.12; }
.section-title p { color: var(--muted); margin: 0; font-size: 17px; }

/* Trip type cards (photo) */
.trips { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; }
.trip {
  position: relative; min-height: 360px; padding: 24px; border-radius: var(--radius); color: #fff; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; justify-content: flex-end; background: var(--g); box-shadow: var(--shadow); transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s;
}
.trip img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .7s cubic-bezier(.2, .8, .2, 1); }
.trip::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 35%, rgba(10, 20, 30, .8)); }
.trip:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.trip:hover img { transform: scale(1.07); }
.trip h3 { margin: 0 0 4px; font-size: 26px; color: #fff; font-family: "Fraunces", Georgia, serif; }
.trip p { margin: 0; color: rgba(255, 255, 255, .88); font-size: 14px; }
.trip .go { position: absolute; top: 18px; right: 18px; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; color: var(--ink); background: #fff; transition: transform .3s, background .3s, color .3s; }
.trip:hover .go { transform: rotate(-45deg); background: var(--coral); color: #fff; }
.t-family { --g: #0e9f9a; } .t-budget { --g: #f59e0b; } .t-couple { --g: #ec4899; } .t-business { --g: #3b82f6; }

/* How it works */
.how { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: center; }
@media (max-width: 900px) { .how { grid-template-columns: 1fr; } }
.steps { display: flex; flex-direction: column; gap: 14px; }
.step { display: flex; gap: 16px; padding: 20px; border-radius: 18px; background: #fff; border: 1px solid var(--line); transition: border-color .3s, box-shadow .3s; }
.step.active { border-color: var(--coral); box-shadow: var(--shadow); }
.step .num { flex: none; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; color: var(--coral); background: var(--coral-soft); }
.step.active .num { color: #fff; background: var(--coral-btn); }
.step h3 { margin: 0 0 4px; font-size: 18px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }
.demo { position: relative; padding: 22px; border-radius: 26px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); min-height: 400px; overflow: hidden; }
.demo-bar { display: flex; gap: 6px; margin-bottom: 18px; }
.demo-bar i { width: 10px; height: 10px; border-radius: 50%; background: #e5e0da; }
.demo-msg { max-width: 85%; padding: 12px 16px; border-radius: 16px; font-size: 15px; margin-bottom: 12px; }
.demo-user { margin-left: auto; color: #fff; background: var(--teal); border-bottom-right-radius: 4px; min-height: 46px; }
.demo-user .caret { display: inline-block; width: 2px; height: 1em; background: #fff; vertical-align: -2px; margin-left: 2px; animation: blinkc 1s steps(1) infinite; }
@keyframes blinkc { 50% { opacity: 0; } }
.demo-ai { background: var(--bg-2); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.demo-flight { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border-radius: 14px; background: #fff; border: 1px solid var(--line); margin-top: 8px; font-size: 14px; }
.demo-flight .ic { color: var(--teal); }
.demo-flight b { margin-left: auto; font-size: 18px; }
.demo-day { display: flex; gap: 10px; align-items: center; margin-top: 8px; font-size: 14px; color: var(--ink-2); }
.demo-day span { flex: none; width: 30px; height: 30px; border-radius: 9px; display: grid; place-items: center; font-weight: 800; font-size: 13px; background: var(--teal); color: #fff; }

/* Features */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }
.feature { position: relative; padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: transform .3s, box-shadow .3s; }
.feature:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feature .icon { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; color: var(--teal); background: var(--teal-soft); }
.feature .icon .ic { width: 24px; height: 24px; }
.feature h3 { margin: 18px 0 6px; font-size: 19px; }
.feature p { margin: 0; color: var(--muted); }

/* CTA band (photo) */
.cta { position: relative; overflow: hidden; isolation: isolate; text-align: center; padding: 80px 30px; border-radius: 30px; color: #fff; background: linear-gradient(120deg, var(--teal-dark), #1d4ed8); }
.cta-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.cta::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgba(10, 20, 30, .45); }
.cta h2 { margin: 0 0 12px; font-size: clamp(30px, 4.5vw, 48px); color: #fff; }
.cta h2 .grad-text { color: #fff; background: none; -webkit-text-fill-color: #fff; }
.cta p { margin: 0 0 28px; color: rgba(255, 255, 255, .9); font-size: 17px; }

/* FAQ */
.faq { max-width: 820px; margin: 0 auto; display: flex; flex-direction: column; }
.faq details { border-bottom: 1px solid var(--line); padding: 22px 4px; }
.faq summary { cursor: pointer; font-weight: 700; font-size: 18px; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--coral); font-size: 26px; line-height: 1; transition: transform .3s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { color: var(--muted); margin: 12px 0 0; animation: fadeUp .35s ease; }

/* Footer */
footer { background: var(--bg-2); border-top: 1px solid var(--line); padding: 44px 0; color: var(--muted); font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: center; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
footer nav a:hover { color: var(--coral); }
@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* ---------- Chat page ---------- */
.chat-page { display: flex; flex-direction: column; height: 100vh; height: 100dvh; background: var(--bg-2); }
.chat-page .nav { position: relative; }
.chat { flex: 1; overflow-y: auto; padding: 28px 0; }
.chat .wrap { max-width: 860px; display: flex; flex-direction: column; gap: 16px; }
.msg { max-width: 88%; padding: 14px 18px; border-radius: 20px; overflow-wrap: anywhere; animation: msgIn .4s cubic-bezier(.2, .8, .2, 1) both; }
@keyframes msgIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
.msg.user { align-self: flex-end; color: #fff; white-space: pre-wrap; border-bottom-right-radius: 6px; background: var(--teal); }
.msg.assistant { align-self: stretch; max-width: 100%; background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 6px; box-shadow: var(--shadow-sm); }
.msg.assistant h1, .msg.assistant h2, .msg.assistant h3, .msg.assistant h4 { font-size: 18px; margin: 16px 0 6px; }
.msg.assistant .md > :first-child { margin-top: 0; }
.msg.assistant .md > :last-child { margin-bottom: 0; }
.msg.assistant ul, .msg.assistant ol { padding-left: 20px; }
.msg.assistant a { color: var(--teal-dark); font-weight: 600; }
.msg.assistant code { background: var(--bg-2); padding: 1px 6px; border-radius: 6px; }
.msg.error { align-self: center; background: #fef2f2; border: 1px solid #fecaca; color: #b91c1c; font-size: 14px; }
.typing { display: inline-flex; gap: 5px; padding: 4px 0; }
.typing span { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); animation: bounce 1.2s infinite ease-in-out; }
.typing span:nth-child(2) { animation-delay: .15s; background: var(--sky); }
.typing span:nth-child(3) { animation-delay: .3s; background: var(--coral); }
@keyframes bounce { 0%, 80%, 100% { transform: translateY(0); opacity: .4; } 40% { transform: translateY(-7px); opacity: 1; } }
.empty { text-align: center; color: var(--muted); margin-top: 4vh; animation: fadeUp .6s ease both; }
.empty h2 { margin-bottom: 6px; font-size: 36px; }
.composer { position: relative; z-index: 2; border-top: 1px solid var(--line); background: #fff; padding: 14px 0; }
.composer .wrap { max-width: 860px; }
.composer form { display: flex; flex-direction: column; gap: 6px; background: #fff; border: 1px solid var(--line-strong); border-radius: 24px; padding: 10px; box-shadow: var(--shadow-sm); transition: border-color .25s, box-shadow .25s; }
.composer form:focus-within { border-color: var(--teal); box-shadow: var(--glow); }
.composer form.flash { animation: flash 1s ease; }
@keyframes flash { 0% { box-shadow: 0 0 0 0 rgba(255, 90, 60, .5); } 100% { box-shadow: 0 0 0 14px rgba(255, 90, 60, 0); } }
.composer textarea { resize: none; border: 0; outline: 0; font: inherit; padding: 6px 8px; max-height: 180px; background: transparent; color: var(--ink); }
.composer textarea::placeholder { color: var(--faint); }
.composer-bar { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.tools { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; }
.tools::-webkit-scrollbar { display: none; }
.tool { flex: none; display: inline-flex; align-items: center; gap: 6px; font: inherit; font-size: 13px; font-weight: 700; padding: 8px 13px; border-radius: 999px; cursor: pointer; color: var(--ink-2); background: var(--bg-2); border: 1px solid var(--line); transition: all .2s; }
.tool .ic { width: 15px; height: 15px; color: var(--teal); }
.tool:hover { border-color: var(--teal); color: var(--teal-dark); }
.composer-actions { display: flex; gap: 6px; align-items: center; }
.icon-btn, .send-btn { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; border: 0; cursor: pointer; transition: transform .2s, box-shadow .2s, background .2s; }
.icon-btn { color: var(--ink-2); background: var(--bg-2); border: 1px solid var(--line); }
.icon-btn:hover { border-color: var(--teal); color: var(--teal); }
.icon-btn.live { color: #fff; background: #ef4444; border-color: #ef4444; animation: micPulse 1.2s infinite; }
@keyframes micPulse { 0% { box-shadow: 0 0 0 0 rgba(239, 68, 68, .5); } 100% { box-shadow: 0 0 0 12px rgba(239, 68, 68, 0); } }
.send-btn { color: #fff; background: var(--coral); box-shadow: 0 6px 16px rgba(255, 90, 60, .3); }
.send-btn .ic, .icon-btn .ic { width: 19px; height: 19px; }
.send-btn:hover { transform: scale(1.06); background: var(--coral-dark); }
.send-btn:disabled { opacity: .5; transform: none; cursor: default; }
.composer .hint { text-align: center; color: var(--faint); font-size: 12px; margin-top: 8px; }
@media (max-width: 560px) { .tool span { display: none; } .tool { padding: 9px 11px; } }

/* Day cards inside AI answers */
.msg.assistant .day { display: flex; gap: 14px; margin: 14px 0; padding: 16px; border: 1px solid var(--line); border-radius: 18px; background: var(--bg-2); }
.day-num { flex: none; width: 54px; height: 54px; border-radius: 15px; display: flex; flex-direction: column; align-items: center; justify-content: center; background: var(--teal-dark); color: #fff; font-weight: 800; font-size: 20px; line-height: 1; }
.day-num small { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 3px; }
.day-body { flex: 1; min-width: 0; }
.msg.assistant .day-body h3 { margin: 4px 0 8px; }
.msg.assistant .day-body ul { padding-left: 0; list-style: none; margin: 0; }
.msg.assistant li.slot { display: flex; gap: 10px; padding: 7px 0; border-top: 1px dashed var(--line-strong); }
.msg.assistant li.slot:first-child { border-top: 0; }
.slot-icon { flex: none; width: 22px; text-align: center; }
.msg.assistant hr { border: 0; border-top: 1px solid var(--line); margin: 16px 0; }

/* Trip builder */
.builder { max-width: 780px; margin: 26px auto 0; padding: 24px; text-align: left; border-radius: 26px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); color: var(--ink); }
.tabs { display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--line); width: max-content; max-width: 100%; margin: 0 auto 22px; overflow-x: auto; scrollbar-width: none; }
.tab { flex: none; display: inline-flex; align-items: center; gap: 7px; font: inherit; font-size: 14px; font-weight: 700; padding: 9px 18px; border-radius: 999px; border: 0; cursor: pointer; color: var(--muted); background: transparent; transition: all .25s; }
.tab .ic { width: 16px; height: 16px; }
.tab:hover { color: var(--ink); }
.tab.on { color: var(--ink); background: #fff; box-shadow: var(--shadow-sm); }
.tab.on .ic { color: var(--coral); }
.panel { animation: fadeUp .35s ease both; }
.panel h3 { margin: 20px 0 10px; font-size: 15px; display: flex; align-items: baseline; gap: 10px; }
.panel h3 output { color: var(--coral-btn); font-weight: 800; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field-grid .span-2 { grid-column: 1 / -1; }
.field-grid label { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 700; color: var(--ink-2); }
.field-grid input, .field-grid select { font: inherit; font-size: 15px; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: 12px; background: #fff; color: var(--ink); outline: 0; transition: border-color .2s, box-shadow .2s; }
.field-grid input:focus, .field-grid select:focus { border-color: var(--teal); box-shadow: var(--glow); }
@media (max-width: 480px) { .field-grid { grid-template-columns: 1fr; } }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { font: inherit; font-size: 14px; font-weight: 600; padding: 9px 16px; border-radius: 999px; cursor: pointer; color: var(--ink-2); background: #fff; border: 1px solid var(--line-strong); transition: all .2s; }
.opt:hover { border-color: var(--ink); }
.opt.on { color: var(--teal-dark); background: var(--teal-soft); border-color: var(--teal); }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(118px, 1fr)); gap: 10px; }
.card-opt { --c: var(--teal); font: inherit; font-size: 28px; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 18px 8px; border-radius: 18px; color: var(--ink);
  background: color-mix(in srgb, var(--c) 12%, #fff); border: 2px solid transparent; transition: transform .2s, box-shadow .2s, border-color .2s; }
.card-opt span { font-size: 14px; font-weight: 700; }
.card-opt:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card-opt.on { border-color: var(--c); box-shadow: var(--shadow); }
.slider { --p: 50%; -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 999px; outline: 0; cursor: pointer; background: linear-gradient(90deg, var(--coral), #ff8a5c) 0 / var(--p) 100% no-repeat, #ece7e1; }
.slider::-webkit-slider-thumb { -webkit-appearance: none; width: 22px; height: 22px; border-radius: 50%; background: #fff; border: 4px solid var(--coral); box-shadow: 0 2px 8px rgba(0, 0, 0, .15); transition: transform .15s; }
.slider::-webkit-slider-thumb:hover { transform: scale(1.15); }
.slider::-moz-range-thumb { width: 14px; height: 14px; border-radius: 50%; background: #fff; border: 4px solid var(--coral); }
.scale { display: flex; justify-content: space-between; font-size: 12px; color: var(--faint); margin-top: 6px; }
.build { margin-top: 24px; width: 100%; padding: 15px; font-size: 16px; }
/* Builder as a sheet over the chat */
.sheet { position: fixed; inset: 0; z-index: 50; display: flex; align-items: flex-end; justify-content: center; }
.sheet-backdrop { position: absolute; inset: 0; background: rgba(31, 41, 51, .35); backdrop-filter: blur(3px); animation: fadeIn .25s ease; }
.sheet-panel { position: relative; width: min(820px, 100%); max-height: 88vh; overflow-y: auto; padding: 10px 10px 20px; animation: sheetUp .4s cubic-bezier(.2, .8, .2, 1); }
.sheet-panel .builder { margin: 0; }
.sheet-close { position: absolute; top: 22px; right: 22px; z-index: 1; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); background: #fff; color: var(--ink); cursor: pointer; }
@keyframes sheetUp { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes fadeIn { from { opacity: 0; } }
body.sheet-open { overflow: hidden; }
.toast { position: fixed; left: 50%; bottom: 130px; transform: translateX(-50%); z-index: 60; padding: 12px 20px; border-radius: 999px; font-size: 14px; font-weight: 600; background: var(--ink); color: #fff; box-shadow: var(--shadow-lg); animation: fadeUp .3s ease; }
.chat.shared { overflow: visible; }
.shared-head { text-align: center; }
.shared-head p { color: var(--muted); font-size: 14px; margin: 8px 0 0; }

/* ---------- Flight cards ---------- */
.msg.assistant .md + .flights, .msg.assistant .flights + .md { margin-top: 14px; }
.flights { border: 1px solid var(--line); border-radius: 18px; background: var(--bg-2); padding: 14px; animation: fadeUp .5s ease both; }
.flights-head { display: flex; flex-wrap: wrap; gap: 10px; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.flights-title { display: flex; flex-direction: column; }
.flights-title strong { font-size: 16px; }
.flights-title span { font-size: 13px; color: var(--muted); }
.flights-controls { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.pill, .pill-check { font: inherit; font-size: 13px; font-weight: 600; padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line-strong); background: #fff; color: var(--ink-2); cursor: pointer; display: inline-flex; align-items: center; gap: 6px; transition: all .2s; }
.pill:hover, .pill-check:hover { border-color: var(--ink); }
.pill.active { background: var(--ink); border-color: var(--ink); color: #fff; }
.pill-check input { margin: 0; accent-color: var(--teal); }
.flight-list { display: flex; flex-direction: column; gap: 8px; }
.flight { display: grid; grid-template-columns: 44px 1fr auto; gap: 14px; align-items: center; padding: 14px 16px; border-radius: 16px; background: #fff; border: 1px solid var(--line); animation: fadeUp .4s ease both; transition: border-color .2s, box-shadow .2s, transform .2s; }
.flight:nth-child(2) { animation-delay: .05s; } .flight:nth-child(3) { animation-delay: .1s; } .flight:nth-child(4) { animation-delay: .15s; } .flight:nth-child(5) { animation-delay: .2s; }
a.flight:hover { border-color: var(--teal); box-shadow: var(--shadow); transform: translateY(-2px); }
.msg.assistant a.flight { color: var(--ink); font-weight: 400; }
.f-logo { width: 40px; height: 40px; border-radius: 11px; object-fit: contain; background: #fff; border: 1px solid var(--line); }
.f-logo-text { display: grid; place-items: center; font-size: 13px; font-weight: 800; color: var(--teal-dark); background: var(--teal-soft); }
.f-main { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.f-leg { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: baseline; font-size: 14px; }
.f-dir { font-size: 11px; font-weight: 800; text-transform: uppercase; color: var(--faint); width: 34px; }
.f-route { font-weight: 700; color: var(--ink); }
.f-meta, .f-airline { font-size: 13px; color: var(--muted); }
.f-airline { padding-left: 44px; }
.f-side { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; text-align: right; }
.f-price { font-size: 22px; font-weight: 800; color: var(--ink); }
.f-cta { font-size: 13px; font-weight: 700; color: var(--coral); }
.f-badges { display: flex; gap: 4px; flex-wrap: wrap; justify-content: flex-end; }
.badge { font-size: 11px; font-weight: 800; padding: 3px 9px; border-radius: 999px; }
.badge-best { background: var(--teal-soft); color: var(--teal-dark); }
.badge-cheapest { background: var(--coral-soft); color: var(--coral-dark); }
.badge-fastest { background: #eef2ff; color: #4338ca; }
.flights-more { margin-top: 8px; font: inherit; font-size: 14px; font-weight: 700; color: var(--teal-dark); background: none; border: 0; cursor: pointer; padding: 4px 0; }
.flights-note { margin-top: 6px; font-size: 12px; color: var(--faint); }
.flights-empty { font-size: 14px; color: var(--muted); }
.flights-empty a { color: var(--teal-dark); font-weight: 700; }
@media (max-width: 560px) {
  .flight { grid-template-columns: 36px 1fr; }
  .f-logo { width: 34px; height: 34px; }
  .f-side { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; }
  .f-airline { padding-left: 0; }
}

/* ---------- Hotel cards ---------- */
.msg.assistant .md + .hotels, .msg.assistant .hotels + .md, .hotels + .flights, .flights + .hotels { margin-top: 14px; }
.hotels { border: 1px solid var(--line); border-radius: 18px; background: var(--bg-2); padding: 14px; animation: fadeUp .5s ease both; }
.hotels .pill { text-decoration: none; }
.hotel-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 10px; }
.hotel { --c: var(--teal); position: relative; display: flex; flex-direction: column; gap: 10px; padding: 16px; border-radius: 16px; overflow: hidden; background: #fff; border: 1px solid var(--line); animation: fadeUp .45s ease both; transition: transform .2s, box-shadow .2s; }
.hotel:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.h-top { display: flex; gap: 12px; align-items: center; }
.h-badge { flex: none; width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; font-weight: 800; font-size: 18px; color: #fff; background: var(--c); }
.h-titles { min-width: 0; }
.h-name { display: block; font-size: 15px; line-height: 1.3; color: var(--ink); }
.h-sub { display: flex; flex-wrap: wrap; gap: 4px 10px; font-size: 12px; color: var(--muted); margin-top: 2px; }
.h-stars { color: var(--gold); letter-spacing: 1px; }
.h-why { margin: 0; font-size: 14px; color: var(--ink-2); }
.h-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.h-tag { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; color: var(--ink-2); background: var(--bg-2); border: 1px solid var(--line); }
.h-bottom { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 8px; padding-top: 10px; border-top: 1px solid var(--line); }
.h-price b { font-size: 18px; color: var(--ink); }
.h-price span { font-size: 12px; color: var(--muted); }
.msg.assistant a.h-cta { flex: none; font-size: 13px; font-weight: 700; padding: 9px 14px; border-radius: 999px; color: #fff; background: var(--coral-btn); transition: transform .2s; }
.msg.assistant a.h-cta:hover { transform: scale(1.05); }

/* ---------- Itinerary card (chat) ---------- */
.msg.assistant .md + .itin-card, .msg.assistant .itin-card + .md { margin-top: 14px; }
.msg.assistant a.itin-card { color: #fff; font-weight: 400; }
.itin-card { position: relative; display: block; overflow: hidden; isolation: isolate; padding: 22px; border-radius: 20px; color: #fff; background: linear-gradient(120deg, var(--teal-dark), #1d4ed8); animation: fadeUp .5s ease both; transition: transform .25s, box-shadow .25s; }
.itin-card .itin-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.itin-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10, 20, 30, .75), rgba(10, 20, 30, .35)); }
a.itin-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.itin-top { display: flex; flex-direction: column; gap: 2px; margin-bottom: 14px; }
.itin-kicker { font-size: 13px; font-weight: 700; color: rgba(255, 255, 255, .85); }
.itin-title { font-size: 24px; line-height: 1.2; color: #fff; font-family: "Fraunces", Georgia, serif; }
.itin-stats { display: flex; flex-wrap: wrap; gap: 8px 26px; margin-bottom: 14px; }
.itin-stat { display: flex; flex-direction: column; }
.itin-stat b { font-size: 18px; text-transform: capitalize; display: flex; align-items: center; min-height: 26px; }
.itin-stat span { font-size: 12px; opacity: .8; text-transform: capitalize; }
.itin-days { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; padding-bottom: 2px; }
.itin-days::-webkit-scrollbar { display: none; }
.itin-day { flex: none; max-width: 210px; padding: 8px 12px; border-radius: 12px; background: rgba(255, 255, 255, .16); backdrop-filter: blur(6px); }
.itin-day b { display: block; font-size: 12px; opacity: .85; }
.itin-day span { display: block; font-size: 13px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.itin-open { display: inline-block; margin-top: 16px; font-weight: 700; font-size: 14px; padding: 10px 18px; border-radius: 999px; color: #fff; background: var(--coral-btn); }

/* ---------- Itinerary page ---------- */
.itin-hero { position: relative; isolation: isolate; padding: 70px 0 30px; overflow: hidden; color: #fff; background: linear-gradient(120deg, var(--teal-dark), #1d4ed8); }
.itin-hero .ph-shade { background: linear-gradient(180deg, rgba(10, 20, 30, .35), rgba(10, 20, 30, .7)); }
.itin-hero > .wrap { position: relative; z-index: 1; }
.itin-hero h1 { font-family: "Fraunces", Georgia, serif; font-size: clamp(32px, 5vw, 58px); margin: 6px 0 20px; max-width: 900px; color: #fff; }
.itin-hero .itin-kicker { color: rgba(255, 255, 255, .9); }
.itin-stats.big { gap: 12px 44px; margin-bottom: 28px; }
.itin-stats.big .itin-stat b { font-size: 26px; color: #fff; }
.itin-stats.big .itin-stat span { color: rgba(255, 255, 255, .8); }
.pace-bar { --p: 50%; position: relative; display: block; width: 110px; height: 8px; border-radius: 999px; background: rgba(255, 255, 255, .3); margin: 9px 0; }
.pace-bar::before { content: ""; position: absolute; inset: 0 auto 0 0; width: var(--p); border-radius: inherit; background: linear-gradient(90deg, #34d399, #fbbf24, #f87171); }
.pace-bar::after { content: attr(data-emoji); position: absolute; top: 50%; left: var(--p); transform: translate(-50%, -50%); font-size: 20px; font-style: normal; }
.itin-tabs { margin: 0; background: rgba(255, 255, 255, .18); border-color: transparent; backdrop-filter: blur(8px); }
.itin-tabs .tab { display: flex; flex-direction: column; align-items: center; line-height: 1.1; min-width: 58px; color: rgba(255, 255, 255, .85); }
.itin-tabs .tab b { font-size: 16px; }
.itin-tabs .tab small { font-size: 10px; text-transform: uppercase; letter-spacing: .06em; opacity: .85; }
.itin-tabs .tab.on { background: var(--coral-btn); color: #fff; }
.itin-body { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 28px; padding-top: 28px; padding-bottom: 60px; align-items: start; }
.itin-body.no-map { grid-template-columns: minmax(0, 760px); justify-content: center; }
.itin-right { position: sticky; top: 90px; }
#map { height: calc(100vh - 120px); min-height: 420px; border-radius: 22px; border: 1px solid var(--line); box-shadow: var(--shadow); background: #eef2f3; }
@media (max-width: 900px) { .itin-body { grid-template-columns: 1fr; } .itin-right { position: relative; top: 0; order: -1; } #map { height: 340px; min-height: 0; } }
.itin-left.swap { animation: fadeUp .4s ease both; }
.itin-left h2 { font-size: 26px; margin: 0 0 8px; }
.itin-summary { color: var(--ink-2); margin: 0 0 18px; }
.ov-day { --c: var(--teal); width: 100%; display: flex; align-items: center; gap: 14px; text-align: left; font: inherit; color: var(--ink); cursor: pointer; padding: 14px; margin-bottom: 10px; border-radius: 16px; background: #fff; border: 1px solid var(--line); transition: transform .2s, box-shadow .2s, border-color .2s; }
.ov-day:hover { transform: translateX(4px); border-color: var(--c); box-shadow: var(--shadow); }
.ov-num { flex: none; width: 50px; height: 50px; border-radius: 14px; display: flex; flex-direction: column; align-items: center; justify-content: center; font-weight: 800; font-size: 19px; line-height: 1; color: #fff; background: var(--c); }
.ov-num small { font-size: 9px; text-transform: uppercase; letter-spacing: .06em; font-weight: 700; opacity: .9; }
.ov-day div { flex: 1; min-width: 0; }
.ov-day b { display: block; }
.ov-day div span { font-size: 13px; color: var(--muted); }
.ov-go { color: var(--c); font-weight: 800; }
.day-head { --c: var(--teal); display: flex; gap: 14px; align-items: center; margin-bottom: 10px; }
.day-big { flex: none; font-size: 58px; font-weight: 800; line-height: 1; color: var(--c); font-family: "Fraunces", Georgia, serif; font-style: italic; }
.day-area { font-size: 13px; color: var(--muted); }
.day-head h2 { margin: 2px 0 0; }
.day-box { display: flex; flex-wrap: wrap; gap: 10px 34px; padding: 14px 18px; border-radius: 16px; margin-bottom: 20px; background: var(--coral-soft); }
.day-box div { display: flex; flex-direction: column; }
.day-box b { font-size: 18px; text-transform: capitalize; }
.day-box span { font-size: 12px; color: var(--muted); }
.timeline { --c: var(--teal); list-style: none; padding: 0; margin: 0; }
.stop { display: grid; grid-template-columns: 52px 30px 1fr; gap: 10px; padding: 12px 8px; border-radius: 14px; cursor: pointer; transition: background .2s; }
.stop:hover, .stop.on { background: var(--bg-2); }
.stop.on .stop-dot { box-shadow: 0 0 0 4px color-mix(in srgb, var(--c) 25%, transparent); }
.stop-time { font-weight: 800; font-size: 14px; padding-top: 4px; color: var(--coral); }
.stop-dot { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; font-size: 13px; color: #fff; background: var(--c); transition: box-shadow .2s; }
.stop-title { display: flex; gap: 8px; align-items: baseline; }
.stop-title b { font-size: 16px; }
.stop-meta { display: block; font-size: 12px; color: var(--muted); margin-top: 2px; }
.stop-note { margin: 6px 0 4px; font-size: 14px; color: var(--ink-2); }
.stop-link { font-size: 12px; font-weight: 700; color: var(--teal-dark); }
.leg { margin-left: 70px; padding: 4px 0 4px 18px; border-left: 2px dashed color-mix(in srgb, var(--c) 50%, transparent); font-size: 12px; color: var(--muted); }
.itin-note { margin-top: 20px; font-size: 12px; color: var(--faint); }
.pin { --c: var(--teal); width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; font: 800 14px "Plus Jakarta Sans", sans-serif; color: #fff; background: var(--c); border: 3px solid #fff; box-shadow: 0 4px 12px rgba(0, 0, 0, .3); transition: transform .2s; }
.pin.small { width: 22px; height: 22px; font-size: 11px; border-width: 2px; }
.pin:hover { transform: scale(1.15); }
.leaflet-container { font-family: "Plus Jakarta Sans", sans-serif; }
.leaflet-popup-content { margin: 12px 14px; }
.pop b { display: block; font-size: 14px; }
.pop span { font-size: 12px; color: var(--coral); font-weight: 700; }
.pop p { margin: 6px 0 0; font-size: 13px; color: var(--ink-2); }

/* ---------- Destination pages ---------- */
.page { position: relative; }
.ph-hero { position: relative; min-height: 580px; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; color: #fff; background: var(--g); }
.ph-hero.tall { min-height: 620px; align-items: center; text-align: center; }
.ph-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; animation: kenburns 30s ease-in-out infinite alternate; }
.ph-fallback { position: absolute; inset: 0; z-index: -2; display: grid; place-items: center; font-size: 220px; opacity: .25; }
.ph-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(10, 20, 30, .35) 0%, rgba(10, 20, 30, .1) 35%, rgba(10, 20, 30, .7) 100%); }
.ph-content { padding-top: 120px; padding-bottom: 50px; width: 100%; }
.ph-title { font-family: "Fraunces", Georgia, serif; font-weight: 800; font-size: clamp(54px, 9vw, 124px); line-height: .95; letter-spacing: -.02em; margin: 10px 0 14px; color: #fff; text-shadow: 0 6px 40px rgba(0, 0, 0, .35); animation: fadeUp .8s ease both; }
.ph-sub { font-size: clamp(16px, 2vw, 20px); color: rgba(255, 255, 255, .95); margin: 0 0 16px; max-width: 780px; text-shadow: 0 2px 16px rgba(0, 0, 0, .5); animation: fadeUp .8s .1s ease both; }
.ph-hero.tall .ph-sub { margin-left: auto; margin-right: auto; }
.ph-hero .eyebrow { background: rgba(255, 255, 255, .2); color: #fff; backdrop-filter: blur(8px); }
.ph-hero .dest-tags { animation: fadeUp .8s .2s ease both; }
.ph-hero .dest-cta-row { margin: 22px 0 0; animation: fadeUp .8s .3s ease both; }
.ph-hero .crumbs { color: rgba(255, 255, 255, .85); }
.ph-hero .h-tag { color: #fff; background: rgba(255, 255, 255, .18); border-color: rgba(255, 255, 255, .3); backdrop-filter: blur(8px); }
.ph-hero .btn.ghost { color: var(--ink); }
@media (max-width: 640px) { .ph-hero { min-height: 480px; } .ph-hero.tall { min-height: 520px; } .ph-fallback { font-size: 140px; } }
.crumbs { font-size: 13px; font-weight: 600; }
.crumbs a:hover { text-decoration: underline; }
.dest-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.dest { padding-bottom: 70px; }
.dest-cta-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0 24px; }
.dest-search { width: min(600px, 100%); margin-top: 18px; font: inherit; font-size: 17px; padding: 16px 22px; border-radius: 999px; border: 0; background: #fff; color: var(--ink); outline: 0; box-shadow: var(--shadow-lg); }
.dest-search:focus { box-shadow: var(--shadow-lg), var(--glow); }
.facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; margin: -36px 0 18px; position: relative; z-index: 2; }
.fact { padding: 16px 18px; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.fact span { display: block; font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.fact b { font-size: 16px; }
.toc { position: sticky; top: 70px; z-index: 5; display: flex; gap: 6px; overflow-x: auto; padding: 12px 0; margin-bottom: 10px; background: rgba(255, 255, 255, .95); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); scrollbar-width: none; }
.toc::-webkit-scrollbar { display: none; }
.toc a { flex: none; font-size: 14px; font-weight: 700; padding: 7px 14px; border-radius: 999px; color: var(--muted); transition: all .2s; }
.toc a:hover { color: var(--ink); background: var(--bg-2); }
.dsec { padding: 40px 0 10px; scroll-margin-top: 140px; }
.dsec h2 { font-family: "Fraunces", Georgia, serif; font-size: clamp(28px, 3.6vw, 38px); margin: 0 0 14px; }
.dsec h3 { font-size: 17px; margin: 18px 0 6px; }
.dsec p { color: var(--ink-2); }
.lead-l { font-size: 18px; line-height: 1.7; }
.sec-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 20px; margin-bottom: 20px; }
.sec-head h2 { margin: 0; font-size: clamp(30px, 4.2vw, 46px); }
.sec-head p { margin: 0; color: var(--muted); }
.overview { display: grid; grid-template-columns: 1.1fr 1fr; gap: 32px; align-items: center; }
.overview.no-gallery { grid-template-columns: 1fr; }
.gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.gallery img { width: 100%; height: 250px; object-fit: cover; border-radius: 18px; box-shadow: var(--shadow); transition: transform .4s; }
.gallery img:first-child { height: 310px; margin-top: -30px; }
.gallery img:hover { transform: scale(1.03); }
@media (max-width: 900px) { .overview { grid-template-columns: 1fr; } .gallery img, .gallery img:first-child { height: 180px; margin: 0; } }
.seasons, .areas, .foods, .budgets { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); margin-top: 12px; }
.season, .area, .food, .budget-tile { padding: 18px; border-radius: 18px; background: #fff; border: 1px solid var(--line); transition: transform .2s, box-shadow .2s; }
.season:hover, .area:hover, .food:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.season b { display: block; }
.season span { font-size: 13px; font-weight: 700; color: var(--teal-dark); }
.season p, .area p, .food p { margin: 6px 0 0; font-size: 14px; }
.area h3 { margin: 0 0 4px; }
.area-for { display: inline-block; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: 999px; color: #c2361b; background: var(--coral-soft); }
.area a { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 14px; font-weight: 700; color: var(--teal-dark); }
.things { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.thing { display: flex; gap: 14px; padding: 18px; border-radius: 18px; background: #fff; border: 1px solid var(--line); transition: transform .2s, box-shadow .2s; }
.thing:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.thing-n { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; color: #fff; background: var(--coral-btn); }
.thing h3 { margin: 5px 0 4px; }
.thing h3 small { font-size: 11px; font-weight: 700; color: var(--muted); background: var(--bg-2); border-radius: 999px; padding: 2px 8px; margin-left: 4px; vertical-align: middle; }
.thing p { margin: 0; font-size: 14px; }
.dday { display: flex; gap: 14px; padding: 18px; margin-bottom: 12px; border-radius: 18px; background: var(--bg-2); }
.dday h3 { margin: 4px 0 8px; }
.dday ul { list-style: none; padding: 0; margin: 0; }
.dday li { display: flex; gap: 8px; padding: 7px 0; border-top: 1px dashed var(--line-strong); font-size: 15px; color: var(--ink-2); }
.dday li:first-child { border-top: 0; }
.dday li b { color: var(--ink); flex: none; }
.dday li .ic { color: var(--coral); margin-top: 3px; }
.budget-tile { text-align: center; }
.budget-tile span { display: block; font-size: 14px; font-weight: 700; color: var(--ink-2); }
.budget-tile b { display: block; font-size: 34px; margin: 4px 0; }
.budget-tile small { color: var(--ink-2); }
.budget-tile.mid { border-color: var(--teal); background: var(--teal-soft); }
.food b { color: var(--ink); }
.tips { padding-left: 20px; color: var(--ink-2); }
.tips li { margin-bottom: 8px; }
.flight-box { margin-top: 34px; padding: 30px; border-radius: 24px; background: var(--coral-soft); }
.inline-form { display: flex; flex-wrap: wrap; gap: 10px; }
.inline-form input { flex: 1; min-width: 160px; font: inherit; padding: 13px 16px; border-radius: 12px; border: 1px solid var(--line-strong); background: #fff; color: var(--ink); outline: 0; }
.inline-form input:focus { border-color: var(--teal); box-shadow: var(--glow); }
.dest .cta { margin-top: 44px; }
.dest .faq { max-width: none; }
.ai-note { margin-top: 34px; font-size: 12px; color: var(--faint); text-align: center; }
.ai-note a { color: var(--teal-dark); text-decoration: underline; }
.writing { text-align: center; padding: 60px 20px; }
.writing .typing span { width: 12px; height: 12px; }
.writing a { color: var(--teal-dark); font-weight: 700; }
.filter-row { display: flex; flex-wrap: wrap; gap: 8px; margin: 10px 0; }
/* Photo cards */
.pcard { --g: var(--teal); position: relative; display: block; overflow: hidden; isolation: isolate; aspect-ratio: 4 / 5; border-radius: 20px; background: var(--g); box-shadow: var(--shadow-sm); transition: transform .35s cubic-bezier(.2, .8, .2, 1), box-shadow .35s; }
.pcard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .7s cubic-bezier(.2, .8, .2, 1); }
.pcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.pcard:hover img { transform: scale(1.07); }
.pcard-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 45%, rgba(10, 20, 30, .75)); }
.pcard-emoji { position: absolute; inset: 0; z-index: -2; display: grid; place-items: center; font-size: 64px; opacity: .85; }
.pcard.has-photo .pcard-emoji { display: none; }
.pcard-text { position: absolute; left: 18px; right: 18px; bottom: 16px; display: flex; flex-direction: column; }
.pcard-text b { font-family: "Fraunces", Georgia, serif; font-size: 26px; line-height: 1.05; color: #fff; text-shadow: 0 2px 14px rgba(0, 0, 0, .4); }
.pcard-text small { font-size: 13px; font-weight: 600; color: rgba(255, 255, 255, .88); margin-top: 4px; }
.pcard.big .pcard-text b { font-size: clamp(34px, 4vw, 54px); }
.pgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; margin-top: 18px; }
.home-cities { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) { .home-cities { grid-template-columns: repeat(2, 1fr); } }
.featured { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 270px; gap: 16px; }
.featured .pcard { aspect-ratio: auto; }
.featured .pcard.big { grid-column: span 2; grid-row: span 2; }
@media (max-width: 900px) { .featured { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 220px; } }
@media (max-width: 480px) { .pgrid { grid-template-columns: repeat(2, 1fr); gap: 10px; } .pcard-text b { font-size: 20px; } .featured .pcard.big { grid-column: span 2; grid-row: span 1; } }
.rstrip { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(220px, 1fr); gap: 16px; overflow-x: auto; padding: 4px 2px 12px; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.rcard { --g: var(--teal); position: relative; display: block; overflow: hidden; isolation: isolate; height: 400px; border-radius: 22px; background: var(--g); scroll-snap-align: start; box-shadow: var(--shadow-sm); transition: transform .35s, box-shadow .35s; }
.rcard img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .7s; }
.rcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.rcard:hover img { transform: scale(1.07); }
.rcard .pcard-shade { background: linear-gradient(180deg, rgba(10, 20, 30, .55) 0%, transparent 45%, rgba(10, 20, 30, .35)); }
.rcard-text { position: absolute; top: 28px; left: 16px; right: 16px; text-align: center; display: flex; flex-direction: column; gap: 10px; }
.rcard-text b { font-family: "Fraunces", Georgia, serif; font-size: 34px; line-height: 1; text-transform: uppercase; color: #fff; text-shadow: 0 2px 18px rgba(0, 0, 0, .5); }
.rcard-text small { font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: #fff; text-shadow: 0 1px 10px rgba(0, 0, 0, .6); }

/* Phones: tighter header and buttons */
@media (max-width: 480px) {
  .nav-actions .btn, .nav .btn { padding: 9px 13px; font-size: 13px; white-space: nowrap; }
  .nav .logo { font-size: 18px; }
  .tab { padding: 8px 12px; font-size: 13px; }
  .builder { padding: 16px; }
  .wrap { padding: 0 16px; }
}

/* Respect "reduce motion" */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media (max-width: 640px) {
  .actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
  .action { justify-content: flex-start; padding: 8px 12px; font-size: 13px; }
  .trips { grid-template-columns: 1fr 1fr; gap: 10px; }
  .trip { min-height: 220px; padding: 16px; }
  .trip h3 { font-size: 20px; }
  .trip p { display: none; }
}

/* ---------- Country & attraction pages ---------- */
.ph-title-sm { font-size: clamp(40px, 6.5vw, 84px); }
.ph-sub a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
a.thing:hover h3 { color: var(--coral); }
.essentials { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 10px; margin: 18px 0 8px; }
.ess { padding: 14px 16px; border-radius: 14px; background: var(--teal-soft); }
.ess span { display: block; font-size: 12px; font-weight: 700; color: var(--teal-dark); text-transform: uppercase; letter-spacing: .04em; }
.ess b { font-size: 14px; font-weight: 600; color: var(--ink); }
.routes { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 14px; }
.route { padding: 22px; border-radius: 20px; background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.route-head { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; }
.route-head h3 { margin: 0; }
.route-days { flex: none; font-size: 13px; font-weight: 800; color: #c2361b; background: var(--coral-soft); padding: 4px 10px; border-radius: 999px; }
.route-stops { display: flex; flex-wrap: wrap; gap: 6px; padding: 0; margin: 0; list-style: none; counter-reset: stop; }
.route-stops li { counter-increment: stop; display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 14px; }
.route-stops li::before { content: counter(stop); width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; color: #fff; background: var(--teal); }
.route-stops li:not(:last-child)::after { content: "→"; color: var(--faint); margin-left: 2px; }
.route p { margin: 0; font-size: 14px; color: var(--ink-2); flex: 1; }
.route .btn { align-self: flex-start; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 8px 14px; border-radius: 999px; font-size: 14px; font-weight: 600; background: #fff; border: 1px solid var(--line); transition: border-color .2s, color .2s; }
.chip:hover { border-color: var(--coral); color: var(--coral); }
.visit { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.visit-card { padding: 18px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.visit-card span { display: flex; align-items: center; gap: 8px; font-weight: 800; color: var(--ink); }
.visit-card span .ic { color: var(--coral); }
.visit-card p { margin: 8px 0 0; font-size: 14px; color: var(--ink-2); }
.attr-map { height: 340px; border-radius: 20px; overflow: hidden; border: 1px solid var(--line); }

/* ---------- Deals page ---------- */
.deal-form { display: flex; gap: 10px; max-width: 620px; margin: 26px auto 0; padding: 8px; border-radius: 999px; background: #fff; box-shadow: var(--shadow-lg); }
.deal-from { flex: 1; display: flex; align-items: center; gap: 10px; padding-left: 14px; color: var(--teal); }
.deal-from input { flex: 1; min-width: 0; border: 0; outline: 0; font: inherit; font-size: 17px; color: var(--ink); background: transparent; }
.deal-tabs { margin: 30px auto 10px; }
.deal-status { text-align: center; color: var(--muted); margin: 0 0 22px; }
.deal-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.deal { border-radius: 20px; overflow: hidden; background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; animation: fadeUp .4s ease both; }
.deal:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.deal-pic { position: relative; height: 150px; background: var(--grad); }
.deal-pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.deal-code { position: absolute; left: 12px; top: 12px; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; color: var(--ink); background: rgba(255, 255, 255, .92); }
.deal-body { padding: 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.deal-top { display: flex; justify-content: space-between; gap: 10px; }
.deal-top b { display: block; font-size: 18px; }
.deal-top small { color: var(--muted); font-size: 13px; }
.deal-price { text-align: right; font-size: 24px; font-weight: 800; color: var(--coral); line-height: 1.1; }
.deal-price small { display: block; font-size: 11px; font-weight: 700; color: var(--muted); text-transform: uppercase; }
.deal-meta { margin: 0; font-size: 13px; color: var(--ink-2); flex: 1; }
.deal-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.deal-actions .btn { padding: 10px 16px; font-size: 14px; }
.deal-guide { font-size: 13px; font-weight: 700; color: var(--teal-dark); }
@media (max-width: 560px) { .deal-form { border-radius: 20px; flex-direction: column; } .deal-from { padding: 8px 6px; } }
.itin-route { margin: 4px 0 18px; }

/* ---------- Editing a plan by hand ---------- */
.edit-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: #fff; border-top: 1px solid var(--line); box-shadow: 0 -10px 30px rgba(31, 41, 51, .08); padding: 12px 0; animation: fadeUp .3s ease; }
.edit-bar .wrap { display: flex; align-items: center; gap: 10px; }
.edit-bar span { flex: 1; font-size: 14px; font-weight: 600; color: var(--ink-2); }
.edit-hint { padding: 12px 14px; border-radius: 12px; background: var(--coral-soft); color: var(--coral-dark); font-weight: 600; font-size: 14px; }
.stop-edit { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 10px; }
.icon-btn.sm { width: 34px; height: 34px; }
.icon-btn.sm .ic { width: 16px; height: 16px; }
.icon-btn:disabled { opacity: .35; cursor: default; }
.stop-move, .add-stop select, .add-stop input, .stop-time-input { font: inherit; font-size: 13px; padding: 7px 10px; border: 1px solid var(--line-strong); border-radius: 10px; background: #fff; color: var(--ink); }
.stop-time-input { width: 100%; min-width: 0; padding: 5px 4px; font-size: 12px; }
body:has(.edit-bar:not([hidden])) .stop { grid-template-columns: 118px 30px 1fr; }
.add-stop { display: flex; flex-wrap: wrap; gap: 8px; margin: 18px 0 8px; padding: 14px; border: 2px dashed var(--line-strong); border-radius: 16px; }
.add-stop input:first-child { flex: 1 1 220px; }
.add-stop .btn { padding: 9px 16px; font-size: 14px; }
body:has(.edit-bar:not([hidden])) .page { padding-bottom: 80px; }
@media (max-width: 560px) { .edit-bar span { font-size: 12px; } .edit-bar .btn { padding: 10px 14px; } }

/* ---------- Price alerts ---------- */
.alert-form { max-width: 720px; margin: -60px auto 10px; position: relative; z-index: 2; padding: 26px; border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-lg); display: flex; flex-direction: column; gap: 16px; }
.alert-form .btn { align-self: flex-start; }
.alert-msg { margin: 0; font-weight: 600; min-height: 1.5em; color: var(--muted); }
.alert-msg.ok { color: var(--teal-dark); }
.alert-msg.err { color: #b91c1c; }
.alert-pill { display: inline-flex; align-items: center; gap: 6px; color: var(--coral-dark); border-color: var(--coral-soft); background: var(--coral-soft); }
.alert-pill .ic { width: 15px; height: 15px; }
.deal-alert { text-align: center; margin: 26px 0 0; }
.alert-form .ai-note { margin: 0; text-align: left; }

/* ---------- Blog ---------- */
.blog-cats { justify-content: center; margin: 28px 0 26px; }
.blog-cats a.opt { text-decoration: none; }
.post-feature .post-card.big { display: grid; grid-template-columns: 1.3fr 1fr; }
.post-feature .post-card.big .post-pic { height: 100%; min-height: 320px; }
.post-feature .post-card.big h3 { font-size: clamp(24px, 3vw, 34px); }
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 18px; margin-top: 18px; }
.post-card { display: flex; flex-direction: column; border-radius: 20px; overflow: hidden; background: #fff; border: 1px solid var(--line); transition: transform .25s, box-shadow .25s; }
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.post-card:hover h3 { color: var(--coral); }
.post-pic { height: 190px; background: var(--grad); overflow: hidden; }
.post-pic img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s; }
.post-card:hover .post-pic img { transform: scale(1.05); }
.post-text { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; justify-content: center; }
.post-text h3 { margin: 0; font-size: 19px; line-height: 1.3; transition: color .2s; }
.post-text p { margin: 0; color: var(--ink-2); }
.post-text small { color: var(--muted); font-size: 13px; }
.post-cat { align-self: flex-start; font-size: 12px; font-weight: 800; color: var(--teal-dark); background: var(--teal-soft); padding: 4px 10px; border-radius: 999px; }
.post-title { font-size: clamp(34px, 5.2vw, 66px); max-width: 900px; line-height: 1.05; }
.post-layout { display: grid; grid-template-columns: minmax(0, 1fr) 280px; gap: 48px; margin-top: 36px; align-items: start; }
.post { max-width: 740px; font-size: 17px; line-height: 1.75; color: var(--ink-2); }
.post h2 { font-size: 28px; margin: 38px 0 10px; color: var(--ink); scroll-margin-top: 90px; }
.post .lead-l { font-size: 20px; color: var(--ink); }
.post-cta { margin: 40px 0 10px; padding: 26px; border-radius: 22px; background: var(--coral-soft); }
.post-cta h3 { margin: 0 0 6px; font-size: 22px; }
.post-cta p { margin: 0 0 16px; }
.post-side { position: sticky; top: 90px; display: flex; flex-direction: column; gap: 14px; }
.side-box { padding: 18px; border-radius: 18px; background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.side-box ol { margin: 0; padding-left: 18px; font-size: 14px; display: flex; flex-direction: column; gap: 6px; }
.side-box a:not(.btn):hover { color: var(--coral); }
.side-box .btn { justify-content: flex-start; padding: 10px 16px; font-size: 14px; }
.signup { margin: 56px 0 10px; padding: 34px; border-radius: 28px; background: linear-gradient(120deg, var(--teal-soft), var(--coral-soft)); display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; }
.signup h2 { margin: 0 0 6px; font-size: clamp(24px, 3vw, 32px); }
.signup p { margin: 0; color: var(--ink-2); }
.signup-form { display: flex; flex-wrap: wrap; gap: 10px; }
.signup-form input { flex: 1 1 220px; font: inherit; padding: 13px 18px; border-radius: 999px; border: 1px solid var(--line-strong); background: #fff; outline: 0; }
.signup-form input:focus { border-color: var(--teal); box-shadow: var(--glow); }
.signup-msg { flex-basis: 100%; margin: 0; font-size: 14px; font-weight: 600; min-height: 1.4em; }
.signup-msg.ok { color: var(--teal-dark); }
.signup-msg.err { color: #b91c1c; }
@media (max-width: 900px) {
  .post-layout, .signup, .post-feature .post-card.big { grid-template-columns: 1fr; }
  .post-side { position: static; }
  .post-feature .post-card.big .post-pic { min-height: 220px; }
}
@media (max-width: 1100px) { .nav-links { gap: 20px; font-size: 14px; } }
.home-signup { padding: 0; } .home-signup .signup { margin: 0; } .signup a { color: var(--teal-dark); font-weight: 700; }
.post section { padding: 0; }

/* ---------- Landing pages: trip types, flight planner, hotel finder, sample trips ---------- */
.prompt-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 14px; }
.prompt-card { display: flex; flex-direction: column; gap: 6px; padding: 20px; border-radius: 18px; background: #fff; border: 1px solid var(--line); transition: transform .2s, box-shadow .2s, border-color .2s; }
.prompt-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--coral); }
.prompt-card b { font-size: 17px; color: var(--ink); }
.prompt-card span { font-size: 14px; color: var(--ink-2); flex: 1; }
.prompt-card em { font-style: normal; font-size: 13px; font-weight: 700; color: var(--coral); display: inline-flex; align-items: center; gap: 6px; margin-top: 6px; }
.prompt-card .pc-ic { flex: none; width: 44px; height: 44px; border-radius: 14px; display: grid; place-items: center; color: var(--coral); background: var(--coral-soft); margin-bottom: 4px; }
.prompt-card .pc-ic .ic { width: 22px; height: 22px; }
.center-row { justify-content: center; margin-top: 24px; }
.type-grid { margin-top: 40px; }
.sample-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.sample-card { border-radius: 20px; overflow: hidden; background: #fff; border: 1px solid var(--line); display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.sample-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.sample-card:hover b { color: var(--coral); }
.sample-pic { position: relative; height: 170px; background: var(--grad); }
.sample-pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.sample-pic span { position: absolute; left: 12px; top: 12px; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 800; background: rgba(255, 255, 255, .92); }
.sample-text { padding: 14px 16px 18px; display: flex; flex-direction: column; gap: 4px; }
.sample-text small { font-size: 12px; font-weight: 700; color: var(--teal-dark); text-transform: uppercase; letter-spacing: .03em; }
.sample-text b { font-size: 17px; line-height: 1.3; transition: color .2s; }
.sample-tags { display: flex; gap: 6px; margin-top: 6px; }
.sample-tags i { font-style: normal; font-size: 12px; font-weight: 700; color: var(--ink-2); background: var(--bg-2); border: 1px solid var(--line); border-radius: 999px; padding: 2px 9px; text-transform: capitalize; }
.section-title p a { color: var(--teal-dark); font-weight: 700; }
.ph-hero.tall .dest-cta-row { justify-content: center; }

/* ---------- About / legal / contact ---------- */
.legal { max-width: 820px; padding-top: 40px; padding-bottom: 40px; }
.legal-head h1 { font-family: "Fraunces", Georgia, serif; font-size: clamp(38px, 6vw, 60px); margin: 10px 0 12px; }
.legal section h2 { font-size: 22px; margin: 34px 0 8px; }
.legal section p, .legal section li { color: var(--ink-2); }
.legal a { color: var(--teal-dark); font-weight: 600; }
.contact-form { margin: 24px 0 14px; }
.contact-form textarea, .hotel-ask textarea { font: inherit; font-size: 15px; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: 12px; resize: vertical; outline: 0; }
.contact-form textarea:focus, .hotel-ask textarea:focus { border-color: var(--teal); box-shadow: var(--glow); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.composer .hint a { color: inherit; text-decoration: underline; }
.legal section { padding: 0; }

/* ---------- Site footer ---------- */
footer.site-footer { display: block; padding: 60px 0 28px; }
.site-footer .wrap { display: block; }
.f-top { display: grid; grid-template-columns: 1.6fr repeat(4, 1fr); gap: 32px; }
.f-brand p { margin: 14px 0 0; max-width: 300px; line-height: 1.6; }
.f-privacy { display: flex; gap: 8px; align-items: flex-start; font-size: 13px; color: var(--teal-dark); font-weight: 600; }
.f-privacy .ic { margin-top: 2px; }
.f-col { display: flex; flex-direction: column; gap: 10px; }
.f-col b { color: var(--ink); font-size: 15px; margin-bottom: 4px; }
.f-col a, .f-legal a { transition: color .2s; }
.f-col a:hover, .f-legal a:hover { color: var(--coral); }
.f-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); }
.f-social { display: flex; align-items: center; gap: 8px; }
.f-social span { margin-right: 6px; }
.f-social a { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: var(--ink-2); background: #fff; border: 1px solid var(--line); transition: color .2s, border-color .2s; }
.f-social a:hover { color: var(--coral); border-color: var(--coral); }
.f-legal { display: flex; gap: 20px; align-items: center; }
@media (max-width: 960px) { .f-top { grid-template-columns: 1fr 1fr; } .f-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .f-top { gap: 26px 16px; } }

/* ---------- Homepage additions ---------- */
.trust-strip { padding: 0; margin-top: -34px; position: relative; z-index: 3; }
.trust { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); overflow: hidden; }
.trust-item { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 12px; align-items: center; padding: 18px 20px; border-right: 1px solid var(--line); }
.trust-item:last-child { border-right: 0; }
.trust-ic { grid-row: span 2; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; color: var(--coral); background: var(--coral-soft); }
.trust-item b { font-size: 20px; line-height: 1.1; color: var(--ink); }
.trust-item small { color: var(--muted); font-size: 13px; }
@media (max-width: 900px) { .trust { grid-template-columns: repeat(2, 1fr); } .trust-item { border-bottom: 1px solid var(--line); } .trust-item:nth-child(2n) { border-right: 0; } .trust-item:last-child { grid-column: 1 / -1; border-bottom: 0; } }
.trips.six { grid-template-columns: repeat(3, 1fr); }
.trips.six .trip { min-height: 300px; }
@media (max-width: 900px) { .trips.six { grid-template-columns: 1fr 1fr; } }
.t-luxury { --g: #7c6cf2; } .t-group { --g: #0e9f9a; }
.more-types { text-align: center; margin: 22px 0 0; color: var(--muted); }
.more-types a, .section-title p a { color: var(--teal-dark); font-weight: 700; }
.feature { display: flex; flex-direction: column; }
.feature p { flex: 1; }
.f-try { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-weight: 800; font-size: 14px; color: var(--coral); }
.f-try .ic { width: 15px; height: 15px; transition: transform .2s; }
.f-try:hover .ic { transform: translateX(4px); }
.deal-band { padding-top: 0; }
.deal-boxes { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.deal-box { padding: 28px; border-radius: 24px; background: linear-gradient(135deg, var(--coral-soft), #fff 70%); border: 1px solid var(--line); display: flex; flex-direction: column; gap: 10px; }
.deal-box + .deal-box { background: linear-gradient(135deg, var(--teal-soft), #fff 70%); }
.deal-box h3 { margin: 4px 0 0; font-size: 22px; }
.deal-box p { margin: 0; color: var(--ink-2); flex: 1; }
.deal-box-ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; color: #fff; background: var(--coral); }
.deal-box + .deal-box .deal-box-ic { background: var(--teal); }
.deal-box-ic .ic { width: 22px; height: 22px; }
.deal-box-row { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 6px; }
.deal-box-row input { flex: 1 1 200px; font: inherit; padding: 12px 16px; border-radius: 999px; border: 1px solid var(--line-strong); outline: 0; background: #fff; }
.deal-box-row input:focus { border-color: var(--teal); box-shadow: var(--glow); }
.deal-box .btn.ghost { align-self: flex-start; }
@media (max-width: 800px) { .deal-boxes { grid-template-columns: 1fr; } }

/* Sources under fact-checked answers */
.sources { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-top: 14px; padding-top: 12px; border-top: 1px dashed var(--line-strong); }
.sources-title { font-size: 12px; font-weight: 800; color: var(--teal-dark); margin-right: 4px; }
.sources-title::before { content: "✓ "; }
.sources a { font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; background: var(--teal-soft); color: var(--teal-dark) !important; max-width: 220px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.sources a:hover { background: var(--teal); color: #fff !important; }
.tool-sec { padding-top: 30px; } .tool-box { max-width: 860px; margin: 0 auto; } .tool-box h3 { margin: 0 0 6px; } .tool-box .deal-box-row input[type=month] { flex: 0 1 170px; }

/* ---------- Search ---------- */
.nav-search { width: 40px; height: 40px; border-radius: 50%; display: grid !important; place-items: center; color: var(--ink-2); border: 1px solid var(--line); background: #fff; }
.nav-search:hover { color: var(--coral) !important; border-color: var(--coral); }
.nav.over .nav-search { background: rgba(255, 255, 255, .15); border-color: rgba(255, 255, 255, .4); color: #fff; }
.search-page { max-width: 860px; padding-top: 40px; padding-bottom: 60px; min-height: 60vh; }
.search-page h1 { font-family: "Fraunces", Georgia, serif; font-size: clamp(34px, 5vw, 52px); margin: 0 0 18px; }
.search-form { display: flex; align-items: center; gap: 10px; padding: 8px 8px 8px 18px; border-radius: 999px; background: #fff; border: 1px solid var(--line-strong); box-shadow: var(--shadow); }
.search-form:focus-within { border-color: var(--teal); box-shadow: var(--glow); }
.search-form > .ic { color: var(--muted); width: 20px; height: 20px; }
.search-form input { flex: 1; min-width: 0; border: 0; outline: 0; font: inherit; font-size: 17px; background: transparent; }
.search-count { color: var(--muted); margin: 20px 4px 12px; }
.search-results { display: flex; flex-direction: column; gap: 8px; }
.sr { display: flex; gap: 14px; align-items: center; padding: 10px; border-radius: 16px; background: #fff; border: 1px solid var(--line); transition: border-color .2s, box-shadow .2s; }
.sr:hover { border-color: var(--coral); box-shadow: var(--shadow-sm); }
.sr-pic { flex: none; width: 72px; height: 56px; border-radius: 12px; overflow: hidden; display: grid; place-items: center; color: var(--coral); background: var(--coral-soft); }
.sr-pic img { width: 100%; height: 100%; object-fit: cover; }
.sr-text { display: flex; flex-direction: column; min-width: 0; }
.sr-text small { font-size: 11px; font-weight: 800; color: var(--teal-dark); text-transform: uppercase; letter-spacing: .04em; }
.sr-text b { font-size: 16px; color: var(--ink); }
.sr-text span { font-size: 13px; color: var(--muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.search-ideas { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.search-ask a { color: var(--teal-dark); font-weight: 700; }

/* ---------- Tools: budget calculator and packing list ---------- */
.tool-form { margin-top: -50px; }
.tool-form .opts { margin: 4px 0 8px; }
.tool-form .opt .ic { width: 15px; height: 15px; }
.tool-form select { font: inherit; font-size: 15px; padding: 12px 14px; border: 1px solid var(--line-strong); border-radius: 12px; background: #fff; }
.calc-out { border-top: 1px solid var(--line); padding-top: 18px; display: flex; flex-direction: column; gap: 16px; }
.calc-total small { display: block; color: var(--muted); font-weight: 600; }
.calc-total b { display: block; font-size: 44px; color: var(--coral); line-height: 1.1; }
.calc-total span { color: var(--ink-2); }
.calc-bars { display: flex; flex-direction: column; gap: 8px; }
.calc-bar { display: grid; grid-template-columns: 130px 1fr 80px; gap: 10px; align-items: center; font-size: 14px; }
.calc-bar i { height: 10px; border-radius: 99px; background: linear-gradient(90deg, var(--teal), var(--sky)); }
.calc-bar b { text-align: right; }
.pack-tools { display: flex; gap: 8px; justify-content: flex-end; max-width: 720px; margin: 14px auto 0; }
.pack-list { max-width: 720px; margin: 14px auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pack-group { padding: 18px; border-radius: 18px; background: #fff; border: 1px solid var(--line); break-inside: avoid; }
.pack-group h3 { margin: 0 0 8px; font-size: 17px; }
.pack-item { display: flex; gap: 10px; align-items: flex-start; padding: 5px 0; cursor: pointer; font-size: 15px; }
.pack-item input { margin-top: 4px; accent-color: var(--teal); width: 16px; height: 16px; }
.pack-item input:checked + span { text-decoration: line-through; color: var(--muted); }
@media (max-width: 640px) { .pack-list { grid-template-columns: 1fr; } .calc-bar { grid-template-columns: 100px 1fr 70px; } }
@media print { .nav, footer, .ph-hero, .tool-form, .pack-tools, #faq, .site-footer { display: none !important; } .pack-list { grid-template-columns: 1fr 1fr; } body { background: #fff; } }

/* ---------- Stats dashboard ---------- */
.stats { padding-top: 30px; padding-bottom: 60px; }
.stats h1 { font-family: "Fraunces", Georgia, serif; margin: 0 0 4px; }
.stats .facts { margin: 18px 0; }
.stats-range { display: flex; gap: 8px; margin-top: 14px; }
.chip.on { border-color: var(--coral); color: var(--coral); }
.stats-chart { display: flex; align-items: flex-end; gap: 3px; height: 200px; padding: 10px; border-radius: 16px; background: #fff; border: 1px solid var(--line); }
.stats-col { flex: 1; height: 100%; position: relative; }
.stats-col i, .stats-col b { position: absolute; bottom: 0; left: 0; right: 0; border-radius: 4px 4px 0 0; }
.stats-col i { background: var(--coral-soft); border-top: 2px solid var(--coral); }
.stats-col b { background: var(--teal); left: 25%; right: 25%; }
.stats-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.stats-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.stats-table td { padding: 8px 6px; border-bottom: 1px solid var(--line); }
.stats-table td:last-child { text-align: right; font-weight: 700; }
@media (max-width: 800px) { .stats-cols { grid-template-columns: 1fr; } }

/* Guess the City game */
.guess { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; margin-top: -50px; position: relative; z-index: 2; }
.guess-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; font-size: 15px; }
.guess-top span { background: var(--coral-soft); color: var(--coral-dark); font-weight: 700; padding: 6px 12px; border-radius: 999px; }
.guess-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.guess-grid[hidden] { display: none; }
.guess-photo { margin: 0; }
.guess-photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; background: var(--bg-2); display: block; }
.guess-photo figcaption { font-size: 12px; color: var(--faint); margin-top: 6px; min-height: 1em; }
.guess-map-box { display: flex; flex-direction: column; gap: 10px; }
.guess-map { width: 100%; aspect-ratio: 4 / 3; border-radius: 14px; overflow: hidden; cursor: crosshair; background: #aad3df; }
.guess-hint { margin: 0; font-size: 14px; color: var(--muted); min-height: 1.4em; }
.guess-actions .btn { width: 100%; justify-content: center; }
.guess-actions .btn:disabled { opacity: .5; cursor: not-allowed; }
.guess-result:empty { display: none; }
.guess-result { margin-top: 18px; display: flex; flex-direction: column; gap: 14px; }
.guess-answer { display: flex; align-items: center; gap: 14px; background: var(--teal-soft); border-radius: 14px; padding: 14px 16px; }
.guess-answer div { display: flex; flex-direction: column; flex: 1; }
.guess-answer span:not(.guess-emoji) { color: var(--ink-2); font-size: 14px; }
.guess-emoji { font-size: 30px; }
.guess-points { font-size: 22px; color: var(--teal-dark); }
.guess-end { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 10px 0; }
.guess-end small { color: var(--muted); }
.guess-total { font-size: 40px; font-family: "Plus Jakarta Sans", sans-serif; }
.guess-squares { font-size: 26px; letter-spacing: 2px; }
.guess-stats { display: flex; gap: 18px; color: var(--ink-2); font-weight: 600; flex-wrap: wrap; justify-content: center; }
.guess-list { text-align: left; color: var(--ink-2); padding-left: 22px; margin: 4px 0; }
.guess-list li { margin: 4px 0; }
.guess-end .dest-cta-row { justify-content: center; }
@media (max-width: 760px) { .guess-grid { grid-template-columns: 1fr; } .guess { padding: 14px; } }
.hotel-ask h2 { margin: 0; font-size: 22px; }
.hotel-ask .btn { align-self: flex-start; }
.author-box { display: flex; gap: 16px; align-items: center; background: var(--bg-2); border: 1px solid var(--line); border-radius: 16px; padding: 16px 18px; margin: 24px 0 10px; }
.author-box p { margin: 2px 0 0; color: var(--ink-2); font-size: 14px; }
.author-pic { flex: none; width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; background: var(--coral); color: #fff; }
.author-pic .ic { width: 26px; height: 26px; }
.byline-link { color: inherit; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Rich chat answers: steps, sections, place cards, map ---------- */
.chat-body { flex: 1; min-height: 0; display: flex; }
.chat-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.chat-map { display: none; position: relative; background: #e8eef0; }
.chat-map-box { position: absolute; inset: 0; }
.map-bar { position: absolute; z-index: 500; top: 12px; left: 12px; right: 12px; display: flex; justify-content: space-between; gap: 10px; pointer-events: none; }
.map-bar > * { pointer-events: auto; }
.map-modes { display: flex; background: rgba(31, 41, 51, .55); backdrop-filter: blur(6px); border-radius: 12px; padding: 4px; }
.map-modes button { border: 0; background: none; color: #fff; font: 600 14px "Plus Jakarta Sans", sans-serif; padding: 8px 14px; border-radius: 9px; cursor: pointer; }
.map-modes button.on { background: #fff; color: var(--ink); }
.map-x { width: 40px; height: 40px; border: 0; border-radius: 12px; background: #fff; box-shadow: var(--shadow-sm); cursor: pointer; display: grid; place-items: center; }
.map-x .ic { width: 18px; height: 18px; }
.map-fab { position: fixed; z-index: 30; right: 16px; bottom: 190px; display: flex; align-items: center; gap: 8px; border: 0; border-radius: 999px; padding: 12px 18px; background: var(--ink); color: #fff; font: 700 15px "Plus Jakarta Sans", sans-serif; box-shadow: var(--shadow-lg); cursor: pointer; }
.map-fab .ic { width: 18px; height: 18px; }
.map-fab span:not(:empty) { background: var(--coral-btn); border-radius: 999px; padding: 1px 8px; font-size: 13px; }
.map-pop { display: flex; flex-direction: column; gap: 6px; font-family: "Plus Jakarta Sans", sans-serif; }
.map-pop button { border: 0; background: var(--teal-soft); color: var(--teal-dark); font-weight: 700; padding: 6px 10px; border-radius: 8px; cursor: pointer; }
@media (min-width: 1100px) {
  body.has-map .chat-map { display: block; flex: 0 0 46%; border-left: 1px solid var(--line); }
  body.has-map .chat .wrap, body.has-map .composer .wrap { max-width: 760px; }
}
@media (max-width: 1099px) {
  body.map-open .chat-map { display: block; position: fixed; inset: 0; z-index: 60; }
  body.map-open .map-fab { display: none; }
}
body:not(.has-map):not(.map-open) .map-only { display: none; }

/* Progress steps */
.steps { position: relative; background: var(--bg-2); border: 1px solid var(--line); border-radius: 16px; padding: 10px 48px 10px 14px; margin-bottom: 14px; }
.steps-list { display: flex; flex-direction: column; gap: 4px; }
.steps.folded .pstep:not(:first-child) { display: none; }
.steps-toggle { position: absolute; top: 12px; right: 10px; width: 30px; height: 30px; border: 0; background: none; color: var(--muted); cursor: pointer; border-radius: 8px; display: grid; place-items: center; }
.steps-toggle:hover { background: #fff; }
.steps-toggle .ic { width: 18px; height: 18px; transition: transform .2s; transform: rotate(180deg); }
.steps.folded .steps-toggle .ic { transform: none; }
.pstep { display: flex; align-items: center; gap: 12px; padding: 6px 0; font-size: 15px; color: var(--muted); }
.pstep-ic { position: relative; flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--c); box-shadow: 0 0 0 3px color-mix(in srgb, var(--c) 18%, transparent); }
.pstep-ic .ic { width: 15px; height: 15px; }
.pstep:not(.done) .pstep-ic::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid transparent; border-top-color: var(--c); animation: spin .9s linear infinite; }
.pstep:not(.done) .pstep-text { background: linear-gradient(90deg, var(--ink-2) 0%, var(--ink-2) 40%, var(--faint) 50%, var(--ink-2) 60%, var(--ink-2) 100%); background-size: 250% 100%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 1.8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: -150% 0; } }

/* Section tabs and big section titles */
.sec-nav { position: sticky; top: -28px; z-index: 5; display: flex; gap: 8px; overflow-x: auto; padding: 8px; margin: -4px -6px 12px; background: rgba(255, 255, 255, .92); backdrop-filter: blur(8px); border: 1px solid var(--line); border-radius: 999px; scrollbar-width: none; }
.sec-tab { flex: none; display: flex; align-items: center; gap: 8px; border: 1px solid transparent; background: none; border-radius: 999px; padding: 6px 14px 6px 6px; font: 600 14px "Plus Jakarta Sans", sans-serif; color: var(--ink-2); cursor: pointer; }
.sec-tab:hover, .sec-tab.on { border-color: var(--c); background: color-mix(in srgb, var(--c) 8%, #fff); }
.sec-tab-ic { width: 24px; height: 24px; border-radius: 50%; background: var(--c); color: #fff; display: grid; place-items: center; }
.sec-tab-ic .ic { width: 13px; height: 13px; }
.sec-box { margin: 18px 0 8px; scroll-margin-top: 70px; }
.sec-title { list-style: none; display: flex; align-items: center; gap: 12px; cursor: pointer; font: 800 26px "Plus Jakarta Sans", sans-serif; color: var(--c); margin-bottom: 12px; }
.sec-title::-webkit-details-marker { display: none; }
.sec-title::before { content: ""; border: 6px solid transparent; border-top: 8px solid var(--ink); border-bottom: 0; margin-right: 2px; transition: transform .2s; }
.sec-box:not([open]) > .sec-title::before { transform: rotate(-90deg); }
.sec-ic { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--c); box-shadow: 0 6px 16px color-mix(in srgb, var(--c) 35%, transparent); }
.sec-ic .ic { width: 19px; height: 19px; }
.sec-city { font-size: 14px; font-weight: 600; color: var(--muted); }
.places-intro { margin: 0 0 12px; color: var(--ink-2); }

/* Place cards */
.place-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.place { display: flex; flex-direction: column; gap: 10px; background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--c); border-radius: 16px; padding: 14px; transition: box-shadow .2s, transform .2s; }
.place:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.place.flash-card, .hotel.flash-card { animation: cardFlash 1.4s ease; }
@keyframes cardFlash { 0%, 60% { box-shadow: 0 0 0 4px color-mix(in srgb, var(--c, #ff5a3c) 45%, transparent); } 100% { box-shadow: none; } }
.place-head { display: flex; gap: 10px; align-items: center; }
.place-ic { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--c); }
.place-ic .ic { width: 17px; height: 17px; }
.place-titles { display: flex; flex-direction: column; min-width: 0; }
.place-name { font-size: 16px; line-height: 1.25; }
.place-sub { font-size: 13px; color: var(--muted); }
.place-why { margin: 0; font-size: 14px; color: var(--ink-2); line-height: 1.5; }
.place-hl { display: flex; flex-wrap: wrap; gap: 6px; }
.place-hl span { font-size: 12px; font-weight: 600; padding: 4px 9px; border-radius: 999px; background: color-mix(in srgb, var(--c) 10%, #fff); color: var(--ink-2); }
.place-facts { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 4px; font-size: 13px; color: var(--ink-2); }
.place-facts li { display: flex; gap: 8px; align-items: flex-start; }
.place-facts .ic { flex: none; width: 15px; height: 15px; margin-top: 2px; color: var(--c); }
.place-tip { margin: 0; font-size: 13px; background: var(--bg-2); border-radius: 10px; padding: 8px 10px; color: var(--ink-2); }
.place-foot { margin-top: auto; display: flex; flex-wrap: wrap; gap: 6px; }
.place-btn, .msg.assistant a.place-btn { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line-strong); background: #fff; color: var(--ink-2); border-radius: 999px; padding: 6px 11px; font: 600 13px "Plus Jakarta Sans", sans-serif; text-decoration: none; cursor: pointer; }
.place-btn .ic { width: 14px; height: 14px; }
.place-btn:hover { border-color: var(--c); }
.msg.assistant a.place-btn.strong { background: var(--c); border-color: var(--c); color: #fff; }
.h-map { white-space: nowrap; flex: none; border: 1px solid var(--line-strong); background: #fff; border-radius: 999px; padding: 6px 11px; font: 600 13px "Plus Jakarta Sans", sans-serif; cursor: pointer; margin-left: auto; margin-right: 6px; }

/* Copy / edit under the user's messages */
.msg-actions { align-self: flex-end; display: flex; gap: 4px; margin-top: -10px; }
.msg-actions button { width: 30px; height: 30px; border: 0; background: none; color: var(--muted); border-radius: 8px; cursor: pointer; display: grid; place-items: center; }
.msg-actions button:hover { background: #fff; color: var(--ink); }
.msg-actions .ic { width: 16px; height: 16px; }

/* Tools menu in the composer */
.tools-menu { position: relative; flex: none; margin-right: auto; }
.tool-dots { display: inline-flex; margin-left: 2px; }
.tool-dots i { width: 10px; height: 10px; border-radius: 50%; border: 2px solid #fff; margin-left: -3px; }
.tools-pop { position: absolute; bottom: calc(100% + 10px); left: 0; z-index: 40; min-width: 230px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); padding: 10px; display: flex; flex-direction: column; gap: 2px; }
.tools-pop b { font-size: 12px; color: var(--muted); padding: 4px 8px; text-transform: uppercase; letter-spacing: .04em; }
.tools-pop label { display: flex; align-items: center; gap: 10px; padding: 8px; border-radius: 10px; cursor: pointer; font-weight: 600; }
.tools-pop label:hover { background: var(--bg-2); }
.tools-pop input { margin-left: auto; width: 18px; height: 18px; accent-color: var(--coral); }
.tp-ic { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--c); color: #fff; }
.tp-ic .ic { width: 14px; height: 14px; }
@media (max-width: 640px) { .sec-title { font-size: 21px; } .place-grid { grid-template-columns: 1fr; } .tools-pop { left: auto; right: -60px; } }

/* ---------- Trip builder: photo cards, tiles, scroll arrows ---------- */
.panel h3 small { font-size: 12px; font-weight: 600; color: var(--faint); }
.big-opts .opt { display: inline-flex; align-items: center; gap: 8px; padding: 11px 18px; font-size: 15px; }
.big-opts .opt .ic { width: 18px; height: 18px; color: var(--violet); }
.builder .opt.on { color: #fff; background: linear-gradient(135deg, #a78bfa, #8b5cf6); border-color: transparent; box-shadow: 0 8px 20px rgba(139, 92, 246, .3); }
.builder .opt.on .ic { color: #fff; }
.hs { position: relative; }
.hs > .pcards, .hs > .atiles, .hs > .tiles { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 2px 8px; }
.hs > *::-webkit-scrollbar { display: none; }
.hs-arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 0; background: #fff; box-shadow: var(--shadow); cursor: pointer; display: grid; place-items: center; color: var(--ink); }
.hs-arrow.left { left: -10px; }
.hs-arrow.right { right: -10px; }
.hs-arrow .ic { width: 20px; height: 20px; }
.hs-arrow[hidden] { display: none; }
.pcard { position: relative; flex: 0 0 168px; height: 200px; border: 0; padding: 0; border-radius: 20px; overflow: hidden; cursor: pointer; scroll-snap-align: start; background: var(--bg-2); box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; }
.pcard img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.pcard:hover img { transform: scale(1.06); }
.pcard span { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 46px 12px 12px; text-align: left; color: #fff; font: 800 15px/1.2 "Plus Jakarta Sans", sans-serif; background: linear-gradient(transparent, rgba(0, 0, 0, .7)); }
.pcard i { position: absolute; right: 10px; bottom: 10px; width: 28px; height: 28px; border-radius: 50%; background: rgba(255, 255, 255, .35); border: 2px solid rgba(255, 255, 255, .8); }
.pcard i::after { content: ""; position: absolute; left: 8px; top: 4px; width: 6px; height: 11px; border: solid #fff; border-width: 0 2.5px 2.5px 0; transform: rotate(45deg); }
.pcard.on { box-shadow: 0 0 0 3px var(--violet), var(--shadow); }
.pcard.on i { background: var(--violet); border-color: #fff; }
.atile { flex: 0 0 118px; display: flex; flex-direction: column; align-items: center; gap: 8px; padding: 16px 8px; border-radius: 16px; border: 1px solid var(--line-strong); background: #fff; cursor: pointer; font: 600 13px "Plus Jakarta Sans", sans-serif; color: var(--ink-2); scroll-snap-align: start; transition: all .2s; }
.atile .ic { width: 26px; height: 26px; }
.atile:hover { border-color: #fdba74; }
.atile.on { background: #fff4ec; border-color: #fb923c; color: #ea580c; }
.tiles .card-opt { flex: 0 0 150px; scroll-snap-align: start; background: color-mix(in srgb, var(--c) 13%, #fff); border-color: transparent; }
.tiles .card-opt.on { border-color: var(--c); background: color-mix(in srgb, var(--c) 22%, #fff); }
@media (max-width: 640px) { .pcard { flex-basis: 140px; height: 170px; } .hs-arrow { display: none; } }

/* Chat answers sit on the page like iMean: a logo next to them, no white card. */
.chat-page .msg.assistant { position: relative; background: none; border: 0; box-shadow: none; padding: 4px 0 0 52px; }
.chat-page .msg.assistant::before { content: ""; position: absolute; left: 0; top: 0; width: 38px; height: 38px; border-radius: 50%; background: radial-gradient(circle at 30% 30%, #ffb27a, #ff5a3c 70%); box-shadow: 0 6px 16px rgba(255, 90, 60, .35); }
.chat-page .msg.assistant::after { content: ""; position: absolute; left: 9px; top: 9px; width: 20px; height: 20px; background: #fff; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17.8 19.2 16 11l3.5-3.5C21 6 21.5 4 21 3c-1-.5-3 0-4.5 1.5L13 8 4.8 6.2c-.5-.1-.9.1-1.1.5l-.3.5c-.2.5-.1 1 .3 1.3L9 12l-2 3H4l-1 1 3 2 2 3 1-1v-3l3-2 3.5 5.3c.3.4.8.5 1.3.3l.5-.2c.4-.3.6-.7.5-1.2z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17.8 19.2 16 11l3.5-3.5C21 6 21.5 4 21 3c-1-.5-3 0-4.5 1.5L13 8 4.8 6.2c-.5-.1-.9.1-1.1.5l-.3.5c-.2.5-.1 1 .3 1.3L9 12l-2 3H4l-1 1 3 2 2 3 1-1v-3l3-2 3.5 5.3c.3.4.8.5 1.3.3l.5-.2c.4-.3.6-.7.5-1.2z'/%3E%3C/svg%3E") center / contain no-repeat; }
.chat-page .msg.assistant > .md { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 14px 18px; }
.chat-page .msg.assistant > .sec-box .md, .chat-page .msg.assistant > .steps + .md { margin-top: 4px; }
.steps { background: #f6f6f7; border: 0; border-radius: 18px; padding: 12px 52px 12px 18px; }
.pstep { font-size: 16px; color: #9ca3af; padding: 8px 0; }
.pstep-ic { width: 32px; height: 32px; background: linear-gradient(135deg, color-mix(in srgb, var(--c) 70%, #fff), var(--c)); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c) 20%, #fff); }
@media (max-width: 640px) { .chat-page .msg.assistant { padding: 46px 0 0; } }

/* Currency menu in the top bar */
.cur-menu { position: relative; }
.cur-btn { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line-strong); background: #fff; color: var(--ink); border-radius: 999px; padding: 8px 12px; font: 700 14px "Plus Jakarta Sans", sans-serif; cursor: pointer; }
.cur-btn:hover { border-color: var(--coral); }
.nav.over .cur-btn { background: rgba(255, 255, 255, .15); border-color: rgba(255, 255, 255, .4); color: #fff; }
.cur-pop { position: absolute; right: 0; top: calc(100% + 10px); z-index: 60; width: 290px; background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); padding: 10px; }
.cur-pop > p { margin: 4px 8px 8px; font-size: 12px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: .04em; }
.cur-pop .cur-note { text-transform: none; letter-spacing: 0; font-weight: 500; line-height: 1.4; margin-top: 10px; }
.cur-list { max-height: 320px; overflow-y: auto; display: flex; flex-direction: column; }
.cur-list button { display: grid; grid-template-columns: 26px 46px 1fr; align-items: center; gap: 6px; border: 0; background: none; text-align: left; padding: 8px; border-radius: 10px; cursor: pointer; font: 600 14px "Plus Jakarta Sans", sans-serif; color: var(--ink); }
.cur-list button:hover { background: var(--bg-2); }
.cur-list button.on { background: var(--coral-soft); color: var(--coral-dark); }
.cur-list small { color: var(--muted); font-weight: 500; }
@media (max-width: 760px) { .cur-btn { padding: 7px 10px; } .cur-pop { right: -60px; } }
.nav .wrap > .cur-menu { margin-left: auto; margin-right: 10px; }

/* Account: top bar link and My trips page */
.nav-acc { display: inline-flex; align-items: center; gap: 6px; }
.nav-acc .ic { width: 18px; height: 18px; }
.nav-actions .nav-acc { font-weight: 600; font-size: 14px; color: var(--ink-2); margin-right: 6px; }
@media (max-width: 760px) { .nav-links a.nav-acc { display: inline-flex; } .nav-acc span { display: none; } }
.form-title { margin: 0; font-size: 22px; }
.acc-items { display: flex; flex-direction: column; gap: 10px; }
.acc-item { display: flex; align-items: center; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; }
.acc-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; color: var(--ink); text-decoration: none; }
a.acc-main:hover b { color: var(--coral); }
.acc-kind { font-size: 12px; font-weight: 700; color: var(--teal-dark); text-transform: uppercase; letter-spacing: .04em; }
.acc-main small { color: var(--muted); }
.acc-x { flex: none; border: 1px solid var(--line-strong); background: #fff; border-radius: 999px; padding: 7px 14px; font: 600 13px "Plus Jakarta Sans", sans-serif; color: var(--ink-2); cursor: pointer; text-decoration: none; }
.acc-x:hover { border-color: #ef4444; color: #b91c1c; }
.btn.ghost.danger { color: #b91c1c; }
.account .dsec h2 { display: flex; align-items: center; gap: 10px; }
.account .dsec h2 .ic { width: 22px; height: 22px; color: var(--coral); }
.nav-links .lang-sw { font-weight: 800; font-size: 13px; border: 1px solid var(--line-strong); border-radius: 8px; padding: 4px 8px; }
@media (max-width: 760px) { .nav-links a.lang-sw { display: inline-block; } }

/* Top bar: never wrap words, and make room when the window (or the language) is tight */
.nav .wrap { gap: 20px; }
.nav .logo { flex: none; }
.nav-links a, .nav-links .cur-btn { white-space: nowrap; }
@media (max-width: 1360px) { .nav-links { gap: 18px; font-size: 14px; } .nav-acc span { display: none; } }
@media (max-width: 1180px) { .nav-links a[href="/blog"], .nav-links a[href="/itineraries"] { display: none; } }
@media (max-width: 960px) { .nav-links a[href="/hotel-finder"], .nav-links a[href="/deals"] { display: none; } }
@media (max-width: 760px) {
  .nav .wrap { gap: 10px; }
  .nav-links { gap: 8px; }
  .nav-links a.nav-search, .nav-links a.nav-acc { display: none; }
  .nav .btn { padding: 9px 13px; font-size: 13px; }
  .cur-btn { padding: 6px 9px; font-size: 13px; }
  .cur-btn span { display: none; }
  .nav-links .lang-sw { padding: 3px 6px; }
}
@media (max-width: 400px) { .nav .logo { font-size: 0; gap: 0; } }

/* Text for screen readers only */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
