/* Pet Travel Planner — site-wide promotion (2026-10-21, Ugur: "far more
 * prominent"). External file on purpose: the site CSP hash-allowlists inline
 * blocks, so nothing here may live in an inline <style>. Shared by the
 * homepage, the /fly-with-your-dog/ guide pages, the airline pages and
 * /privacy/. Selectors are deliberately a notch more specific than the
 * homepage's Butternut variant sheets (bb-*.css, injected later at runtime). */

/* ---------- Homepage nav: highlighted "Plan a pet trip" ---------- */
.nav .nav-links a.nav-links-plan {
  opacity: 1;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #1D3A5F;
  font-weight: 800;
}
.nav-links-plan .pp-plane,
.btn-plan .pp-plane,
.pp-band-btn .pp-plane,
.pp-sticky-link .pp-plane,
.nav-plan .pp-plane,
.footer-plan .pp-plane,
.footer-plan-btn .pp-plane { width: 16px; height: 16px; flex: none; }
@media (min-width: 861px) {
  .nav .nav-links { align-items: center; }
  .nav .nav-links a.nav-links-plan {
    background: #FF7B54;
    padding: 10px 18px;
    border-radius: 999px;
    box-shadow: 0 6px 16px rgba(255, 123, 84, 0.35);
    line-height: 1.1;
  }
  .nav .nav-links a.nav-links-plan:hover { background: #ff6a3c; }
}
@media (max-width: 860px) {
  .nav .nav-links a.nav-links-plan {
    order: -1;
    margin: 10px 0 8px;
    justify-content: center;
    background: #FF7B54;
    border-radius: 999px;
    border-bottom: 0 !important;
    box-shadow: 0 8px 18px rgba(255, 123, 84, 0.3);
  }
}

/* ---------- Homepage hero: second button = planner ---------- */
.hero-buttons .btn.btn-plan {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #1D3A5F;
  color: #FFFFFF;
  border: 0;
  box-shadow: 0 8px 18px rgba(29, 58, 95, 0.28);
}
.hero-buttons .btn.btn-plan .pp-plane { color: #FFD44D; }
.hero-buttons .btn.btn-plan:hover { background: #16304f; }

/* ---------- Homepage band right after the hero ---------- */
.pp-band { position: relative; z-index: 6; background: #FFFFFF; padding: 6px 16px 26px; }
.pp-band-inner {
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 18px;
  padding: 18px 18px 18px 18px;
  border-radius: 22px;
  background: linear-gradient(135deg, #E6F4FF 0%, #F4FAFF 55%, #FFF3CF 100%);
  border: 1.5px solid rgba(29, 58, 95, 0.1);
  box-shadow: 0 10px 26px rgba(29, 58, 95, 0.08);
}
.pp-band-icon {
  flex: none;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: #FFFFFF;
  color: #FF7B54;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(29, 58, 95, 0.1);
}
.pp-band-icon svg { width: 24px; height: 24px; }
.pp-band-text { flex: 1 1 220px; min-width: 0; }
@media (max-width: 860px) {
  .pp-band-inner { align-items: flex-start; }
  .pp-band-icon { width: 40px; height: 40px; margin-top: 2px; }
  .pp-band-icon svg { width: 20px; height: 20px; }
  .pp-band-text { flex: 1 1 0; }
}
.pp-band-kicker {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #1D3A5F;
  background: #FFD44D;
  padding: 3px 10px;
  border-radius: 999px;
  margin: 0 0 6px;
}
.pp-band-title {
  font-family: 'DM Serif Display', Georgia, serif;
  font-weight: 400;
  font-size: 21px;
  line-height: 1.2;
  color: #1D3A5F;
  margin: 0 0 4px;
}
.pp-band-sub { font-size: 13.5px; line-height: 1.5; color: #1D3A5F; opacity: 0.8; margin: 0; }
.pp-band-btn {
  flex: 1 1 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 50px;
  padding: 13px 24px;
  border-radius: 999px;
  background: #FF7B54;
  color: #1D3A5F;
  font-weight: 800;
  font-size: 15px;
  white-space: nowrap;
  box-shadow: 0 8px 18px rgba(255, 123, 84, 0.35);
}
.pp-band-btn:hover { background: #ff6a3c; }
@media (min-width: 861px) {
  .pp-band { padding: 10px 48px 40px; }
  .pp-band-inner { padding: 22px 26px; gap: 22px; flex-wrap: nowrap; }
  .pp-band-icon { width: 58px; height: 58px; }
  .pp-band-icon svg { width: 28px; height: 28px; }
  .pp-band-title { font-size: 26px; }
  .pp-band-sub { font-size: 15px; }
  .pp-band-btn { flex: none; font-size: 16px; padding: 16px 30px; }
}

/* ---------- Homepage footer ---------- */
.cl-footer-links a.footer-plan { color: #FFD44D; font-weight: 800; display: inline-flex; align-items: center; gap: 5px; }
.cl-footer-work { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.footer-plan-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  white-space: nowrap;
  color: #1D3A5F;
  background: #FFD44D;
  padding: 13px 26px;
  border-radius: 999px;
  box-shadow: 0 8px 20px rgba(255, 212, 77, 0.3);
}
.footer-plan-btn:hover { background: #ffcb1f; }

/* ---------- Guide / airline / privacy pages ---------- */
.nav .nav-plan {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  padding: 0 16px;
  border-radius: 999px;
  background: #FF7B54;
  color: #1D3A5F;
  font-weight: 800;
  font-size: 13.5px;
  white-space: nowrap;
  box-shadow: 0 6px 16px rgba(255, 123, 84, 0.3);
}
.nav .nav-plan:hover { background: #ff6a3c; }
.nav .nav-right { display: flex; align-items: center; gap: 14px; }
@media (max-width: 560px) {
  /* Breadcrumb right under the header already links back to the guide —
     keep the back link as a 44px icon target, text for screen readers. */
  .nav .nav-back { min-width: 44px; min-height: 44px; justify-content: center; }
  .nav .nav-back .nav-back-text {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
  }
  .nav .nav-right { gap: 4px; }
  .nav .nav-plan { padding: 0 14px; font-size: 13px; }
}
.footer-links a.footer-plan { color: #FFD44D; font-weight: 800; display: inline-flex; align-items: center; gap: 5px; }
.footer-links { flex-wrap: wrap; }

/* ---------- Sticky mobile CTA (built by /js/planner-promo.js) ---------- */
.pp-sticky {
  position: fixed;
  left: 10px;
  right: 10px;
  bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  z-index: 80;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 5px;
  border-radius: 999px;
  background: #1D3A5F;
  box-shadow: 0 10px 28px rgba(29, 58, 95, 0.32);
  transform: translateY(calc(100% + 24px + env(safe-area-inset-bottom, 0px)));
  transition: transform 0.28s cubic-bezier(.22, .8, .3, 1), visibility 0s linear 0.28s;
  visibility: hidden;
}
.pp-sticky.is-visible { transform: translateY(0); visibility: visible; transition: transform 0.28s cubic-bezier(.22, .8, .3, 1); }
.pp-sticky-link {
  flex: 1;
  min-width: 0;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 999px;
  background: #FF7B54;
  color: #1D3A5F;
  font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 800;
  font-size: 15px;
  white-space: nowrap;
  text-decoration: none;
}
.pp-sticky-x {
  flex: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #FFFFFF;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}
.pp-sticky-x:focus-visible, .pp-sticky-link:focus-visible { outline: 3px solid #FFD44D; outline-offset: 2px; }
html.pp-sticky-on body { padding-bottom: calc(68px + env(safe-area-inset-bottom, 0px)); }
body.nav-open .pp-sticky { visibility: hidden; }
@media (min-width: 861px) {
  .pp-sticky { display: none; }
  html.pp-sticky-on body { padding-bottom: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .pp-sticky, .pp-sticky.is-visible { transition: none; }
}
@media print { .pp-sticky, .pp-band { display: none; } }

/* 2026-10-22 — label centring contract for every planner promo button
   (same rule as the planner's own buttons): the label stays centred even
   when a button is stretched or its text wraps. */
.nav .nav-links a.nav-links-plan,
.hero-buttons .btn.btn-plan,
.pp-band-btn,
.footer-plan-btn,
.sc-statement-cta,
.sd-cta { justify-content: center; text-align: center; }
