/* ===== P4F WOW layer ===== */

/* runway scroll progress */
.runway {
  position: fixed; top: 0; left: 0; right: 0; height: 5px; z-index: 60;
  background: repeating-linear-gradient(90deg, rgba(31,159,214,0.25) 0 18px, transparent 18px 30px);
}
.runway-plane {
  position: absolute; top: -9px; left: 0; width: 24px; height: 24px;
  color: var(--brand); rotate: 90deg;
  transition: left 0.15s linear;
  filter: drop-shadow(0 2px 4px rgba(31,159,214,0.5));
}
.runway-plane svg { width: 100%; height: 100%; }

/* hero quick board */
.quick-board {
  display: flex; gap: 10px; width: min(540px, 100%);
  background: rgba(255,255,255,0.85); border: 1.5px solid var(--line);
  border-radius: 999px; padding: 7px;
  box-shadow: var(--shadow-lift);
  backdrop-filter: blur(10px);
}
.quick-board input {
  flex: 1; min-width: 0; border: none; background: none;
  font-family: var(--font-body); font-weight: 700; font-size: 1.05rem;
  padding: 10px 10px 10px 18px; color: var(--ink);
}
.quick-board input:focus { outline: none; }
.quick-board input::placeholder { color: var(--ink-soft); opacity: 0.7; }
.quick-board .btn { flex: none; white-space: nowrap; }
.quick-hint { font-size: 0.88rem; font-weight: 700; color: var(--ink-soft); margin-top: -6px; }

/* ===== departure board ===== */
.departures { padding: 26px 20px 72px; }
.dep-inner {
  max-width: 1000px; margin: 0 auto;
  background: linear-gradient(160deg, #122334 0%, #0e1c2a 60%, #14283c 100%);
  border-radius: 28px; padding: 30px 34px 34px;
  border: 1px solid rgba(120, 190, 235, 0.18);
  box-shadow: 0 24px 60px rgba(13, 34, 52, 0.45), inset 0 1px 0 rgba(255,255,255,0.07);
  color: #dceaf5;
  font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
}
.dep-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.dep-title { font-family: var(--font-display); font-weight: 700; font-size: 1.35rem; letter-spacing: 0.14em; color: #fff; }
.dep-live { display: inline-flex; align-items: center; gap: 8px; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.2em; color: #7fe3c9; }
.dep-dot { width: 8px; height: 8px; border-radius: 50%; background: #2fd6a8; animation: pulse 1.4s ease-in-out infinite; }
.dep-cols { display: grid; grid-template-columns: 0.8fr 1.1fr 1fr 1.2fr; gap: 18px 26px; margin-bottom: 26px; }
.dep-cols em {
  display: block; font-style: normal; font-size: 0.64rem; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase; color: #6f8aa1; margin-bottom: 8px;
}
.flap { display: flex; flex-wrap: wrap; gap: 3px; }
.fc {
  position: relative; display: grid; place-items: center;
  width: 19px; height: 28px; border-radius: 4px;
  background: linear-gradient(180deg, #1e3550 0%, #16293c 48%, #122336 52%, #16293c 100%);
  color: #ffc46b; font-size: 0.92rem; font-weight: 700;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.09), 0 2px 3px rgba(0,0,0,0.35);
  overflow: hidden;
}
.fc::after { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: rgba(0,0,0,0.55); }
.fc.gap { background: none; box-shadow: none; width: 9px; }
.fc.gap::after { display: none; }
.fc.flip { animation: fcFlip 0.09s linear; }
@keyframes fcFlip { 0% { transform: scaleY(1); } 50% { transform: scaleY(0.15); filter: brightness(1.6); } 100% { transform: scaleY(1); } }
.flap.status .fc { color: #7fe3c9; }
.flap.status { animation: statusGlow 2.4s ease-in-out infinite; }
@keyframes statusGlow { 50% { filter: brightness(1.25); } }

.dep-count { text-align: center; padding: 6px 0 24px; border-top: 1px dashed rgba(120,190,235,0.2); }
.dep-count > em {
  display: block; font-style: normal; font-size: 0.66rem; font-weight: 700;
  letter-spacing: 0.24em; text-transform: uppercase; color: #6f8aa1; margin: 18px 0 12px;
}
.count-cells { display: flex; justify-content: center; align-items: center; gap: 10px; }
.count-cells i { font-style: normal; color: #44607a; font-size: 1.6rem; translate: 0 -10px; }
.cc { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.cc b {
  min-width: 86px; padding: 12px 10px; border-radius: 10px;
  background: linear-gradient(180deg, #1e3550 0%, #16293c 48%, #122336 52%, #16293c 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.09), 0 3px 6px rgba(0,0,0,0.35);
  font-size: 2rem; color: #ffc46b; text-align: center;
  font-variant-numeric: tabular-nums; position: relative;
}
.cc span { font-size: 0.62rem; font-weight: 700; letter-spacing: 0.22em; text-transform: uppercase; color: #6f8aa1; }

.dep-seats { border-top: 1px dashed rgba(120,190,235,0.2); padding-top: 22px; font-family: var(--font-body); }
.seat-text { font-size: 0.98rem; color: #b9cede; max-width: 640px; margin: 0 auto 14px; text-align: center; }
.seat-text strong { color: #ffc46b; }
.seat-bar { height: 14px; border-radius: 999px; background: rgba(255,255,255,0.08); overflow: hidden; }
.seat-bar span {
  display: block; height: 100%; width: 0; border-radius: 999px;
  background: linear-gradient(90deg, #ffc46b, #ff9b54);
  box-shadow: 0 0 14px rgba(255, 196, 107, 0.5);
  transition: width 1.4s cubic-bezier(0.22, 1, 0.36, 1);
}
.seat-nums { display: flex; justify-content: space-between; margin-top: 10px; font-size: 0.85rem; font-weight: 800; }
.seat-nums span:first-child { color: #b9cede; }
.seat-nums span:last-child { color: #ffc46b; }

/* ===== testimonials ===== */
.loveletters { padding: 10px 20px 80px; max-width: 1100px; margin: 0 auto; text-align: center; }
.loveletters h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 40px; }
.ll-grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); text-align: left; }
.ll-card {
  position: relative;
  background: var(--surface); border-radius: 24px; padding: 28px 26px 24px;
  box-shadow: var(--shadow);
  rotate: var(--rz, 0deg);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.ll-card:hover { transform: translateY(-6px) rotate(0deg); box-shadow: var(--shadow-lift); }
.ll-card::before {
  content: "\201C"; position: absolute; top: 6px; left: 18px;
  font-family: var(--font-display); font-size: 4.4rem; line-height: 1;
  color: color-mix(in srgb, var(--ac, #1f9fd6) 22%, transparent);
}
.ll-quote { font-size: 1.02rem; color: var(--ink); margin: 14px 0 18px; }
.ll-who { display: flex; align-items: center; gap: 12px; }
.ll-av { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; font-size: 1.4rem; background: color-mix(in srgb, var(--ac, #1f9fd6) 14%, #fff); border: 2px solid color-mix(in srgb, var(--ac, #1f9fd6) 35%, #fff); }
.ll-name { font-weight: 900; font-size: 0.95rem; }
.ll-meta { font-size: 0.78rem; color: var(--ink-soft); font-weight: 700; }
.ll-og {
  margin-left: auto;
  font-family: var(--font-display); font-weight: 700; font-size: 0.6rem; letter-spacing: 0.1em;
  color: #9a6b10; background: linear-gradient(120deg, #ffe9b8, #ffd884);
  padding: 4px 10px; border-radius: 999px; rotate: -6deg;
}

/* ===== FAQ ===== */
.faq { padding: 0 20px 80px; max-width: 720px; margin: 0 auto; text-align: center; }
.faq h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.8rem, 4vw, 2.6rem); margin-bottom: 30px; }
.faq-list { text-align: left; display: flex; flex-direction: column; gap: 12px; }
.faq-list details {
  background: var(--surface); border: 1.5px solid var(--line); border-radius: 18px;
  box-shadow: 0 3px 12px rgba(30, 60, 90, 0.06);
  overflow: hidden;
}
.faq-list summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  font-family: var(--font-display); font-weight: 600; font-size: 1.05rem;
  padding: 16px 20px;
}
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after {
  content: "+"; flex: none;
  width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--chip); color: var(--brand-dark);
  font-weight: 700; font-size: 1.1rem;
  transition: transform 0.25s ease, background 0.25s ease;
}
.faq-list details[open] summary::after { transform: rotate(45deg); background: var(--brand); color: #fff; }
.faq-list details p { padding: 0 20px 18px; color: var(--ink-soft); font-size: 0.97rem; }
.faq-list details[open] { border-color: rgba(31, 159, 214, 0.4); }

/* ===== last call ===== */
.lastcall { padding: 0 20px 90px; }
.lastcall-inner {
  max-width: 860px; margin: 0 auto; text-align: center;
  background: var(--grad); border-radius: 32px;
  padding: 56px 30px 50px; color: #fff;
  box-shadow: 0 24px 60px rgba(31, 159, 214, 0.4);
  position: relative; overflow: hidden;
}
.lastcall-inner::before, .lastcall-inner::after {
  content: ""; position: absolute; border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
}
.lastcall-inner::before { width: 220px; height: 220px; top: -90px; left: -70px; }
.lastcall-inner::after { width: 160px; height: 160px; bottom: -70px; right: -50px; }
.lastcall h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.9rem, 4.4vw, 2.9rem); margin-bottom: 10px; }
.lastcall p { font-size: 1.1rem; opacity: 0.92; margin-bottom: 26px; }
.lastcall .btn { background: #fff; color: var(--brand-dark); box-shadow: 0 10px 26px rgba(13, 50, 72, 0.35); }
.lastcall .btn:hover { box-shadow: 0 14px 32px rgba(13, 50, 72, 0.45); }

/* ===== live toast ===== */
.toast {
  position: fixed; left: 18px; bottom: 18px; z-index: 70;
  display: flex; align-items: center; gap: 12px;
  background: rgba(255, 255, 255, 0.96); border: 1.5px solid var(--line);
  border-radius: 18px; padding: 12px 14px;
  box-shadow: var(--shadow-lift);
  max-width: 320px;
  animation: toastIn 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
.toast.out { animation: toastOut 0.35s ease both; }
@keyframes toastIn { from { opacity: 0; transform: translateY(26px) scale(0.92); } to { opacity: 1; transform: none; } }
@keyframes toastOut { to { opacity: 0; transform: translateY(26px) scale(0.92); } }
.toast-emoji {
  flex: none; width: 40px; height: 40px; border-radius: 13px;
  display: grid; place-items: center; font-size: 1.3rem;
  background: var(--canvas);
}
.toast-text { font-size: 0.86rem; font-weight: 700; color: var(--ink); }
.toast-text b { color: var(--brand-dark); }
.toast-text small { display: block; font-size: 0.74rem; color: var(--ink-soft); font-weight: 700; }
.toast-x { flex: none; border: none; background: none; cursor: pointer; color: var(--ink-soft); font-size: 0.95rem; padding: 6px; border-radius: 8px; align-self: flex-start; }
.toast-x:hover { color: var(--pink); }

/* ===== sticky mobile CTA ===== */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 65;
  display: none; align-items: center; justify-content: space-between; gap: 12px;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.94);
  border-top: 1.5px solid var(--line);
  backdrop-filter: blur(12px);
  box-shadow: 0 -8px 30px rgba(30, 60, 90, 0.14);
  font-weight: 800; font-size: 0.9rem; color: var(--ink-soft);
  animation: toastIn 0.4s ease both;
}
.sticky-cta b { color: var(--orange); font-size: 1rem; }

@media (max-width: 880px) {
  .dep-cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  .sticky-cta:not([hidden]) { display: flex; }
  .toast { left: 12px; right: 12px; max-width: none; bottom: 78px; }
}
@media (max-width: 600px) {
  .quick-board { flex-direction: column; border-radius: 26px; padding: 10px; }
  .quick-board input { padding: 10px 12px; text-align: center; }
  .dep-inner { padding: 22px 18px 26px; }
  .dep-cols { grid-template-columns: 1fr; gap: 14px; }
  .cc b { min-width: 60px; font-size: 1.4rem; padding: 10px 6px; }
  .count-cells { gap: 6px; }
  .count-cells i { font-size: 1.2rem; }
  .fc { width: 16px; height: 24px; font-size: 0.78rem; }
}
@media (prefers-reduced-motion: reduce) {
  .toast { animation: none; }
  .seat-bar span { transition: none; }
}


/* hero background planes */
.hero { overflow: hidden; }
.hero-inner { position: relative; z-index: 1; }
.hero-plane {
  position: absolute; top: 8%; left: 0; z-index: 0;
  width: min(480px, 44vw); height: auto;
  opacity: 0.85;
  animation: flyX 26s linear infinite, flyBob 5.5s ease-in-out infinite;
  pointer-events: none;
}
.hero-plane.hp2 {
  top: 62%; width: min(260px, 26vw); opacity: 0.5;
  animation-duration: 42s, 7s; animation-delay: -21s, -2s;
}
@keyframes flyX { from { translate: -520px 0; } to { translate: calc(100vw + 520px) 0; } }
@keyframes flyBob { 0%, 100% { transform: translateY(0) rotate(1.5deg); } 50% { transform: translateY(-16px) rotate(-1.5deg); } }
@media (prefers-reduced-motion: reduce) { .hero-plane { display: none; } }

/* press strip */
.press { padding: 34px 20px 8px; text-align: center; }
.press-label { font-weight: 900; font-size: 0.74rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 16px; }
.press-row { display: flex; justify-content: center; align-items: center; gap: 16px; flex-wrap: wrap; }
.press-card {
  display: grid; place-items: center;
  min-width: 170px; min-height: 64px; padding: 12px 22px;
  background: var(--surface); border: 1.5px solid var(--line); border-radius: 16px;
  box-shadow: 0 3px 12px rgba(30, 60, 90, 0.06);
  text-decoration: none;
  font-family: var(--font-display); font-weight: 600; color: var(--ink-soft);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.press-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.press-card img { max-height: 34px; max-width: 180px; object-fit: contain; filter: grayscale(1) opacity(0.75); transition: filter 0.2s ease; }
.press-card:hover img { filter: none; }

/* shelters banner */
.shelters { padding: 0 20px 80px; }
.shelter-banner {
  max-width: 860px; margin: 0 auto;
  display: flex; align-items: center; gap: 20px;
  background: linear-gradient(120deg, #fff8ea, #eafaf6);
  border: 1.5px dashed rgba(22, 179, 158, 0.45);
  border-radius: 24px; padding: 22px 26px;
  box-shadow: 0 6px 20px rgba(22, 179, 158, 0.1);
}
.shelter-emoji { flex: none; width: 56px; height: 56px; border-radius: 18px; display: grid; place-items: center; font-size: 1.7rem; background: #fff; box-shadow: 0 4px 10px rgba(30, 60, 90, 0.1); }
.shelter-text { flex: 1; }
.shelter-text strong { font-family: var(--font-display); font-weight: 600; font-size: 1.12rem; display: block; margin-bottom: 2px; }
.shelter-text p { color: var(--ink-soft); font-size: 0.95rem; }
.shelter-banner .btn-ghost { flex: none; border-color: var(--teal); color: var(--teal); font-size: 0.9rem; }
.shelter-banner .btn-ghost:hover { background: rgba(22, 179, 158, 0.1); }

@media (max-width: 700px) {
  .shelter-banner { flex-direction: column; text-align: center; }
  .hero-plane { width: 56vw; }
  .hero-plane.hp2 { display: none; }
}
