/* ==========================================================================
   Leftover sections (no Figma frames): Comparison, Still deciding, FAQ, Final CTA
   Ports of veeza-site/src/components/sections/{Comparison,StillDeciding,Faq,FinalCta}.tsx,
   restyled to the language of the designed sections:
   - section rhythm 120px (64px mobile), like Destinations / Human review
   - headings STIX Two Text 40/40, -0.9px, #0F172A (32/34 on mobile)
   - tags = the tile pills (11px medium, radius 4, #CBD5FF @60% / #5C65C6)
   - small labels = destination-pass labels (11px medium, 0.55px tracking, muted)
   - cards = white, 1px #EEE4EC, radius 12, shadow 0 2px 6px rgba(31,26,20,.04)
   - quiz stubs = destination-pass stubs (2px dashed #E1D7E7, notches, ink gradient)
   - big cream panels = radius 24 like the WhatsApp card
   Behaviour: js/leftover.js
   ========================================================================== */

/* ---------- Shared ------------------------------------------------------ */
.lo-section { padding-top: 64px; }
.lo-section--last { padding-bottom: 64px; }
@media (min-width: 48rem) {
  .lo-section { padding-top: 120px; }
  .lo-section--last { padding-bottom: 120px; }
}

.lo-head { display: flex; max-width: 820px; flex-direction: column; align-items: flex-start; }

.lo-tag {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: 4px;
  background: rgba(203, 213, 255, 0.6);
  white-space: nowrap;
  font-size: 11px;
  font-weight: 500;
  line-height: normal;
  color: var(--color-tag, #5c65c6);
}
.lo-head .lo-tag { margin-bottom: 17px; }

.lo-title {
  font-size: 32px;
  line-height: 34px;
  letter-spacing: -0.9px;
  color: #0f172a;
}
@media (min-width: 48rem) { .lo-title { font-size: 40px; line-height: 40px; } }

.lo-lead {
  margin-top: 15px;
  font-size: 16px;
  line-height: 22px;
  color: var(--color-body, #2e2538);
}

.lo-label {
  font-size: 11px;
  font-weight: 500;
  line-height: normal;
  letter-spacing: 0.55px;
  text-transform: uppercase;
  color: var(--color-muted, #8c8197);
}

.lo-card {
  border: 1px solid var(--color-border, #eee4ec);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 2px 6px 0 rgba(31, 26, 20, 0.04);
}

.lo-panel { border-radius: 12px; background: var(--color-cream, #fbf7f2); padding: 24px; }
@media (min-width: 48rem) { .lo-panel { padding: 32px; } }
.lo-panel__title { font-size: 16px; font-weight: 600; color: var(--color-ink, #231a2e); }
.lo-panel__heading { margin-top: 12px; font-size: 24px; line-height: 1.2; color: var(--color-ink, #231a2e); }
.lo-panel__text { margin-top: 8px; max-width: 460px; font-size: 15px; line-height: 1.55; color: var(--color-body, #2e2538); }

.lo-small { font-size: 14px; line-height: 1.5; color: var(--color-body, #2e2538); }

.lo-link {
  font-weight: 500;
  color: var(--color-ink, #231a2e);
  text-decoration: underline;
  text-decoration-color: var(--color-dash, #d9cfe0);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.2s;
}
.lo-link:hover { text-decoration-color: var(--color-ink, #231a2e); }

.lo-arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  font-size: 15px;
  font-weight: 500;
  color: var(--color-ink, #231a2e);
  text-decoration: underline;
  text-decoration-color: var(--color-dash, #d9cfe0);
  text-underline-offset: 4px;
  transition: text-decoration-color 0.2s;
}
.lo-arrow-link:hover { text-decoration-color: var(--color-ink, #231a2e); }
.lo-arrow-link svg { width: 16px; height: 16px; transition: transform 0.3s; }
.lo-arrow-link:hover svg { transform: translateX(2px); }

.lo-ico { flex: none; width: 20px; height: 20px; margin-top: 2px; }
.lo-muted { color: var(--color-muted, #8c8197); }

/* WhatsApp button — same shape as the WhatsApp card button (Figma 19:5949), filled */
.lo-wa-btn {
  display: inline-flex;
  height: 36px;
  align-items: center;
  gap: 8px;
  padding: 0 14px;
  border-radius: 8px;
  background: var(--color-whatsapp, #059669);
  white-space: nowrap;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.25px;
  color: #fff;
  transition: opacity 0.3s;
}
.lo-wa-btn:hover { opacity: 0.9; }

/* ---------- Comparison -------------------------------------------------- */
.lo-compare { margin-top: 40px; overflow: hidden; }
@media (min-width: 48rem) { .lo-compare { margin-top: 48px; } }

.lo-compare__head { display: none; }
.lo-compare__head > div { padding: 20px 28px; }
.lo-compare__head h3 { font-size: 22px; line-height: 1.25; color: var(--color-ink, #231a2e); }
.lo-compare__head h3.lo-muted { color: var(--color-muted, #8c8197); }

.lo-compare__row { display: grid; grid-template-columns: 1fr; border-top: 1px solid var(--color-border, #eee4ec); }
.lo-compare__row:first-child { border-top: 0; }
.lo-compare__row dt { padding: 20px 20px 12px; }
.lo-compare__row dd { display: flex; gap: 12px; font-size: 16px; line-height: 1.5; }
.lo-compare__row dd.lo-compare__veeza {
  margin: 0 20px;
  padding: 14px 16px;
  border-radius: 10px;
  background: var(--color-cream, #fbf7f2);
  color: var(--color-ink, #231a2e);
}
.lo-compare__row dd.lo-compare__diy { padding: 12px 20px 20px; color: var(--color-muted, #8c8197); }
.lo-compare__tag {
  display: block;
  margin-bottom: 2px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.55px;
  text-transform: uppercase;
  color: var(--color-muted, #8c8197);
}
.lo-compare__diy .lo-compare__tag { color: var(--color-light, #bdb3c6); }

@media (min-width: 48rem) {
  .lo-compare__head { display: grid; grid-template-columns: 220px 1fr 1fr; }
  .lo-compare__head > .lo-compare__veeza { background: var(--color-cream, #fbf7f2); }
  .lo-compare__row { grid-template-columns: 220px 1fr 1fr; }
  .lo-compare__row:first-child { border-top: 1px solid var(--color-border, #eee4ec); }
  .lo-compare__row dt { padding: 26px 28px 24px; }
  .lo-compare__row dd.lo-compare__veeza { margin: 0; padding: 24px 28px; border-radius: 0; }
  .lo-compare__row dd.lo-compare__diy { padding: 24px 28px; }
  .lo-compare__tag { display: none; }
}

.lo-wrong { display: grid; gap: 24px; margin-top: 20px; }
@media (min-width: 48rem) { .lo-wrong { grid-template-columns: 1fr auto; align-items: end; gap: 40px; } }
.lo-wrong__list { display: grid; gap: 12px 40px; margin-top: 16px; }
@media (min-width: 40rem) { .lo-wrong__list { grid-template-columns: 1fr 1fr; } }
.lo-wrong__list li {
  display: flex;
  gap: 12px;
  font-size: 15px;
  line-height: 1.5;
  color: var(--color-body, #2e2538);
}
.lo-wrong__list li::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  margin-top: 9px;
  border-radius: 999px;
  background: var(--color-light, #bdb3c6);
}
.lo-wrong__links { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }

/* ---------- Still deciding ---------------------------------------------- */
.lo-quizzes { display: grid; gap: 20px; margin-top: 40px; }
@media (min-width: 48rem) { .lo-quizzes { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 48px; } }
@media (min-width: 64rem) { .lo-quizzes { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.lo-quiz {
  position: relative;
  display: flex;
  height: 100%;
  min-height: 236px;
  overflow: hidden;
  transition: box-shadow 0.3s cubic-bezier(0.22, 1, 0.36, 1), transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.lo-quiz:hover {
  transform: translateY(-2px);
  box-shadow: 0 2px 6px 0 rgba(31, 26, 20, 0.04), 0 20px 40px -16px rgba(35, 26, 46, 0.16);
}
.lo-quiz:focus-visible { outline: 2px solid var(--color-passport, #2663eb); outline-offset: 2px; }

.lo-quiz__body { display: flex; flex: 1 1 0%; flex-direction: column; padding: 20px; }
@media (min-width: 48rem) { .lo-quiz__body { padding: 24px; } }
.lo-quiz__meta { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.lo-quiz__meta .lo-label { color: var(--color-light, #bdb3c6); }
.lo-quiz__title { margin-top: 20px; font-size: 22px; line-height: 1.18; color: var(--color-ink, #231a2e); }
.lo-quiz__text { margin-top: 8px; font-size: 15px; line-height: 1.5; color: var(--color-body, #2e2538); }

/* Ticket stub, matching the destination passes */
.lo-quiz__stub { position: relative; flex: none; width: 116px; border-left: 2px dashed #e1d7e7; }
@media (min-width: 40rem) { .lo-quiz__stub { width: 136px; } }
.lo-quiz__stub img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}
.lo-quiz:hover .lo-quiz__stub img { transform: scale(1.03); }
.lo-quiz__stub::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(35, 26, 46, 0) 30%, rgba(35, 26, 46, 0.92) 82%);
}
.lo-notch {
  position: absolute;
  z-index: 2;
  left: -11px;
  width: 20px;
  height: 20px;
  border: 1px solid var(--color-border, #eee4ec);
  border-radius: 999px;
  background: #fff;
}
.lo-notch--top { top: -10px; }
.lo-notch--bottom { bottom: -10px; }
.lo-quiz__cta {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: 16px;
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 0 8px;
  text-align: center;
  font-size: 13.5px;
  font-weight: 500;
  line-height: 1.25;
  color: #fff;
}
.lo-quiz__cta svg { width: 16px; height: 16px; transition: transform 0.3s; }
.lo-quiz:hover .lo-quiz__cta svg { transform: translateX(2px); }

.lo-vault { display: flex; flex-direction: column; margin-top: 20px; }
.lo-vault__foot { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding-top: 20px; }
.lo-vault__note { display: flex; align-items: center; gap: 8px; font-size: 13px; line-height: 1.4; color: var(--color-muted, #8c8197); }
.lo-vault__note svg { flex: none; }
.lo-vault__note .lo-link { font-weight: 400; color: inherit; text-decoration-color: currentColor; text-underline-offset: 2px; }
.lo-vault__note .lo-link:hover { color: var(--color-ink, #231a2e); }

/* ---------- FAQ --------------------------------------------------------- */
.lo-faq { display: grid; gap: 40px; }
@media (min-width: 64rem) {
  .lo-faq { grid-template-columns: minmax(0, 380px) minmax(0, 1fr); gap: 80px; }
  .lo-faq__aside { position: sticky; top: 112px; align-self: start; }
}
.lo-faq__aside .lo-title { margin-top: 17px; }

.lo-faq__contact { border-radius: 12px; background: var(--color-cream, #fbf7f2); padding: 24px; }
.lo-faq__contact .lo-small { margin-top: 16px; }
.lo-faq__contact--desktop { display: none; margin-top: 32px; }
@media (min-width: 64rem) {
  .lo-faq__contact--desktop { display: block; }
  .lo-faq__contact--mobile { display: none; }
}

.lo-faq__groups { display: flex; flex-direction: column; gap: 32px; }
.lo-faq__group .lo-label { margin-bottom: 12px; }
.lo-faq__item + .lo-faq__item { border-top: 1px solid var(--color-border, #eee4ec); }

.lo-faq__q {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px;
  text-align: left;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--color-ink, #231a2e);
  cursor: pointer;
  transition: background-color 0.2s;
}
.lo-faq__item:first-child .lo-faq__q { border-radius: 11px 11px 0 0; }
.lo-faq__q:hover { background: rgba(251, 247, 242, 0.6); }
.lo-faq__q:focus-visible { outline: 2px solid var(--color-passport, #2663eb); outline-offset: -2px; }
@media (min-width: 48rem) { .lo-faq__q { padding: 20px 24px; font-size: 17px; } }

.lo-plus {
  display: grid;
  flex: none;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid var(--color-border, #eee4ec);
  border-radius: 999px;
  background: #fff;
  color: var(--color-ink, #231a2e);
  transition: background-color 0.3s, border-color 0.3s, color 0.3s;
}
.lo-plus svg { width: 12px; height: 12px; transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1); }
.lo-faq__q[aria-expanded="true"] .lo-plus { border-color: var(--color-ink, #231a2e); background: var(--color-ink, #231a2e); color: #fff; }
.lo-faq__q[aria-expanded="true"] .lo-plus svg { transform: rotate(45deg); }

/* Answer: grid-rows 0fr ↔ 1fr gives a smooth height animation (400ms, EASE).
   Closed answers are inert + visibility:hidden (after the close animation) so they are not tabbable. */
.lo-faq__a {
  display: grid;
  grid-template-rows: 1fr;
  opacity: 1;
  transition:
    grid-template-rows 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s linear 0s;
}
.lo-faq__a.is-closed {
  grid-template-rows: 0fr;
  opacity: 0;
  visibility: hidden;
  transition:
    grid-template-rows 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.4s cubic-bezier(0.22, 1, 0.36, 1),
    visibility 0s linear 0.4s;
}
.lo-faq__a > div { min-height: 0; overflow: hidden; }
.lo-faq__a p { max-width: 640px; padding: 0 20px 24px; font-size: 15px; line-height: 1.6; color: var(--color-body, #2e2538); }
@media (min-width: 48rem) { .lo-faq__a p { padding: 0 24px 24px; } }
.lo-faq.no-anim .lo-faq__a { transition: none; }

/* ---------- Final CTA --------------------------------------------------- */
.lo-final {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: var(--color-cream, #fbf7f2);
  padding: 56px 24px;
  text-align: center;
}
@media (min-width: 48rem) { .lo-final { padding: 80px 48px; } }

.lo-final__tiles { display: flex; width: fit-content; margin: 0 auto 32px; align-items: flex-end; justify-content: center; }
.lo-final__tile {
  position: relative;
  width: 60px;
  height: 76px;
  overflow: hidden;
  border: 3px solid #fff;
  border-radius: 10px;
  box-shadow: 0 8px 20px -8px rgba(35, 26, 46, 0.25);
}
.lo-final__tile + .lo-final__tile { margin-left: -12px; }
@media (min-width: 48rem) { .lo-final__tile { width: 72px; height: 92px; } }
.lo-final__tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lo-final__tile--1 { transform: translateY(8px) rotate(-8deg); }
.lo-final__tile--2 { transform: rotate(-3deg); }
.lo-final__tile--3 { transform: rotate(3deg); }
.lo-final__tile--4 { transform: translateY(8px) rotate(8deg); }

/* Closing headline: between the hero (60/58) and section titles (40/40) */
.lo-final__title {
  max-width: 760px;
  margin: 20px auto 0;
  font-size: 34px;
  line-height: 36px;
  letter-spacing: -1px;
  color: #0f172a;
}
@media (min-width: 48rem) { .lo-final__title { font-size: 52px; line-height: 54px; letter-spacing: -1.6px; } }
.lo-final__lead { max-width: 520px; margin-left: auto; margin-right: auto; }

.lo-final__actions { display: flex; margin-top: 32px; flex-direction: column; align-items: center; gap: 16px; }
/* Primary pill from the header/hero (.pill-btn--primary), at CTA size */
.lo-final .lo-final__btn {
  display: inline-flex;
  height: 44px;
  gap: 8px;
  padding: 0 22px;
  border-radius: 43px;
  font-size: 16px;
}
.lo-final__btn svg { transition: transform 0.3s; }
.lo-final__btn:hover svg { transform: translateX(2px); }
.lo-final__wa {
  display: inline-block;
  max-width: 300px;
  font-size: 15px;
  font-weight: 500;
  color: var(--color-whatsapp, #059669);
  text-decoration: underline;
  text-decoration-color: rgba(5, 150, 105, 0.3);
  text-underline-offset: 4px;
}
.lo-final__wa:hover { text-decoration-color: var(--color-whatsapp, #059669); }
.lo-final__wa img { display: inline-block; margin-right: 6px; vertical-align: -5px; } /* icon flows with the text when it wraps */
@media (min-width: 40rem) { .lo-final__wa { max-width: none; } }

.lo-final__divider {
  max-width: 720px;
  margin: 40px auto 0;
  padding-top: 24px;
  border-top: 1px solid var(--color-border, #eee4ec);
}
.lo-final__points {
  display: flex;
  width: fit-content;
  margin: 0 auto;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  text-align: left;
  font-size: 14px;
  color: var(--color-body, #2e2538);
}
@media (min-width: 40rem) { .lo-final__points { flex-direction: row; justify-content: center; align-items: center; gap: 32px; } }
.lo-final__points li { display: flex; align-items: flex-start; gap: 8px; }
@media (min-width: 40rem) { .lo-final__points li { align-items: center; } }
.lo-final__points svg { flex: none; margin-top: 1px; }
@media (min-width: 40rem) { .lo-final__points svg { margin-top: 0; } }
