@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes bob { 0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); } 50% { transform: translateY(-10px) rotate(var(--r, 0deg)); } }
@keyframes drift { 0% { transform: translateX(-10px); } 50% { transform: translateX(10px); } 100% { transform: translateX(-10px); } }

* { box-sizing: border-box; }

body {
  overflow-x: hidden;
  margin: 0;
  background: #FBF1DE;
  font-family: 'Nunito', sans-serif;
  color: #2B2A28;
}

a { color: #E1573C; }
a:hover { color: #C7452C; }

.calc-btn:focus-visible,
.faq-q:focus-visible,
.coverage-arrow:focus-visible,
.coverage-scroll:focus-visible {
  outline: 3px solid #2B2A28;
  outline-offset: 2px;
}

.stamp-sticker { animation: bob 4.2s ease-in-out infinite; }
.stamp-drift { animation: drift 14s ease-in-out infinite; }

.coverage-scroll { scrollbar-width: none; -ms-overflow-style: none; }
.coverage-scroll::-webkit-scrollbar { display: none; }
/* Scroll-snap fights the auto-scroll's tiny per-tick increments (the browser
   keeps pulling scrollLeft back toward the nearest snap point), so snap is
   only turned on while a person is actually driving the scroll themselves. */
.coverage-scroll { scroll-snap-type: none; }
.coverage-scroll.user-active { scroll-snap-type: x proximity; }

.calc-btn { all: unset; cursor: pointer; font-weight: 700; font-size: 13px; padding: 10px 16px; border-radius: 999px; background: #F3EADA; color: #2B2A28; }
.calc-btn.active { background: #E1573C; color: #fff; }

.faq-item { border-bottom: 2px solid #ece2cd; }
.faq-q { all: unset; cursor: pointer; display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 18px 4px; font-family: 'Baloo 2', sans-serif; font-weight: 700; font-size: 17px; box-sizing: border-box; }
.faq-arrow { flex: none; width: 30px; height: 30px; border-radius: 50%; background: #F3EADA; display: flex; align-items: center; justify-content: center; transition: transform 0.15s; }
.faq-arrow.open { transform: rotate(180deg); }
.faq-answer { padding: 0 4px 18px; margin: 0; font-size: 14px; font-weight: 600; opacity: 0.8; max-width: 660px; display: none; }
.faq-answer.open { display: block; }

.coverage-arrow { all: unset; cursor: pointer; position: absolute; top: 50%; transform: translateY(-50%); width: 38px; height: 38px; border-radius: 50%; background: #2B2A28; color: #FBF1DE; display: flex; align-items: center; justify-content: center; box-shadow: 0 3px 8px rgba(0,0,0,0.15); }
.coverage-arrow-left { left: -8px; }
.coverage-arrow-right { right: -8px; }

.sticky-bar { position: fixed; left: 0; right: 0; bottom: 0; background: #fff; border-top: 2px solid #2B2A28; box-shadow: 0 -4px 16px rgba(0,0,0,0.08); z-index: 50; transform: translateY(100%); transition: transform 0.2s ease; }
.sticky-bar.visible { transform: translateY(0); }

/* Checkout consent modal */
.checkout-modal-overlay { position: fixed; inset: 0; background: rgba(43,42,40,0.55); display: flex; align-items: center; justify-content: center; padding: 20px; z-index: 200; }
.checkout-modal { background: #FBF1DE; border-radius: 22px; padding: 28px; max-width: 420px; width: 100%; box-shadow: 0 12px 0 rgba(0,0,0,0.12); font-family: 'Nunito', sans-serif; color: #2B2A28; }
.checkout-modal h3 { font-family: 'Baloo 2', sans-serif; font-weight: 700; font-size: 22px; margin: 0 0 10px; }
.checkout-modal p { font-size: 14px; font-weight: 600; opacity: 0.8; margin: 0 0 18px; line-height: 1.5; }
.checkout-modal-check { display: flex; gap: 10px; align-items: flex-start; cursor: pointer; margin-bottom: 22px; }
.checkout-modal-check input { margin-top: 3px; flex: none; width: 17px; height: 17px; accent-color: #E1573C; }
.checkout-modal-check span { font-size: 13px; font-weight: 600; line-height: 1.5; opacity: 0.85; }
.checkout-modal-check a { color: #2B2A28; text-decoration: underline; }
.checkout-modal-actions { display: flex; gap: 10px; justify-content: flex-end; }
.checkout-modal-cancel { all: unset; cursor: pointer; font-weight: 700; font-size: 14px; padding: 12px 18px; border-radius: 999px; color: #2B2A28; }
.checkout-modal-confirm { all: unset; cursor: pointer; text-align: center; font-weight: 700; font-size: 14px; padding: 12px 20px; border-radius: 999px; background: #E1573C; color: #fff; }
.checkout-modal-confirm:disabled { background: #e7ddc9; color: #a39d8c; cursor: not-allowed; }

/* Repeated inline-style patterns extracted into reusable classes (2026-08-22 cleanup) */
.net-chip { display: inline-flex; gap: 4px; align-items: center; background: #F3EADA; font-size: 11px; font-weight: 700; padding: 4px 9px; border-radius: 999px; }
.net-chip-tag { opacity: 0.5; font-size: 9px; }
.cov-card { flex: none; scroll-snap-align: start; width: 190px; background: #fff; border-radius: 18px; padding: 14px; }
.cov-card-title { font-family: 'Baloo 2', sans-serif; font-weight: 700; font-size: 14px; margin-bottom: 8px; }
.cov-card-tags { display: flex; flex-wrap: wrap; gap: 5px; }
.ticker-item { font-family: 'Baloo 2', sans-serif; font-weight: 700; font-size: 15px; text-transform: uppercase; letter-spacing: 0.03em; color: #FBF1DE; opacity: 0.85; }
.ticker-sep { opacity: 0.4; margin-left: 24px; }
.check-row { display: flex; gap: 8px; align-items: center; font-size: 13px; font-weight: 700; }
.flex-none { flex: none; }
.footer-link { text-decoration: none; color: #2B2A28; }
.section-wrap { max-width: 1180px; margin: 0 auto; padding: 64px 24px; }
.dest-card { background: #fff; border-radius: 22px; overflow: hidden; box-shadow: 0 5px 0 rgba(0,0,0,0.06); }
.dest-card-imgwrap { aspect-ratio: 3/4; background: repeating-linear-gradient(45deg, #e7ddc9, #e7ddc9 8px, #efe6d3 8px, #efe6d3 16px); overflow: hidden; }
.dest-card-img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dest-card-body { padding: 16px; }
.plan-label { font-size: 12px; font-weight: 700; opacity: 0.6; }
.kicker-sm { font-size: 12px; font-weight: 700; opacity: 0.5; }
.dest-card-city { font-family: 'Baloo 2', sans-serif; font-weight: 700; font-size: 18px; margin: 2px 0 6px; }
.faq-hint { font-size: 13px; font-weight: 600; opacity: 0.75; margin: 0; }
.plan-eyebrow { font-family: 'Baloo 2', sans-serif; font-weight: 700; font-size: 15px; opacity: 0.7; }
.baseline-row { display: flex; align-items: baseline; gap: 6px; }
.plan-gb-num { font-family: 'Baloo 2', sans-serif; font-weight: 800; font-size: 48px; }
.plan-gb-unit { font-size: 20px; font-weight: 700; opacity: 0.6; }
.plan-desc { font-size: 14px; font-weight: 600; opacity: 0.75; min-height: 42px; margin: 0; }
.baseline-row-mt { display: flex; align-items: baseline; gap: 6px; margin-top: 6px; }
.plan-price { font-family: 'Baloo 2', sans-serif; font-weight: 800; font-size: 30px; }
.plan-features { display: flex; flex-direction: column; gap: 8px; margin-top: 8px; }
.plan-cta { text-decoration: none; text-align: center; background: #2B2A28; color: #FBF1DE; font-weight: 700; font-size: 15px; padding: 14px; border-radius: 999px; margin-top: 14px; }
.section-tint { background: linear-gradient(180deg, #F3EADA 0%, #ECE0C8 100%); }
.center-mb36 { text-align: center; margin-bottom: 36px; }

@media (max-width: 760px) {
  .nav-links { display: none !important; }
  /* position:fixed rather than sticky - the page wrapper below has
     overflow:hidden (to clip the decorative floating badges), which breaks
     position:sticky even though nothing is actually being clipped vertically. */
  .site-header { flex-wrap: wrap; gap: 12px !important; padding: 16px !important; position: fixed !important; top: 0 !important; left: 0 !important; right: 0 !important; z-index: 40 !important; background: #FBF1DE !important; box-shadow: 0 2px 8px rgba(0,0,0,0.06); box-sizing: border-box; }
  body > div { padding-top: 76px !important; }
  .site-header a[href="#plans"] { font-size: 13px !important; padding: 10px 16px !important; }

  .hero-inner { padding: 32px 20px 60px !important; }
  .hero-badge { font-size: 24px !important; padding: 10px 24px !important; }
  .hero-kicker { font-size: 11px !important; padding: 6px 14px !important; }
  .hero-h1 { font-size: 46px !important; margin: 16px auto 12px !important; -webkit-text-stroke: 2px #fff !important; max-width: 100% !important; }
  .hero-sub { font-size: 15px !important; }
  .hero-ctas { flex-direction: column !important; }
  .hero-ctas a { width: 100% !important; box-sizing: border-box; text-align: center; }
  .h-fr { left: -16px !important; top: 6px !important; }
  .h-fr .stamp-sticker { width: 68px !important; height: 68px !important; font-size: 30px !important; }
  .h-crown { right: -16px !important; top: 30px !important; }
  .h-crown .stamp-sticker { width: 60px !important; height: 60px !important; font-size: 27px !important; }
  .h-train { left: 4px !important; top: 160px !important; }
  .h-train .stamp-sticker { width: 42px !important; height: 42px !important; font-size: 19px !important; }
  .h-it { right: 4px !important; top: 180px !important; }
  .h-it .stamp-sticker { width: 40px !important; height: 40px !important; font-size: 18px !important; }
  .h-croissant, .h-alps, .h-map, .h-plane { display: none !important; }

  .sec-pad { padding: 40px 20px !important; }
  .sec-h2 { font-size: 26px !important; }

  .grid-2, .footer-grid { grid-template-columns: 1fr !important; }
  .grid-3 { grid-template-columns: 1fr !important; }
  .networks-grid { grid-template-columns: repeat(2, 1fr) !important; }
  .calc-grid { grid-template-columns: 1fr !important; gap: 24px !important; padding: 40px 20px !important; }
  .calc-grid > div:last-child { padding: 20px !important; }

  .plans-grid { display: flex !important; overflow-x: auto !important; gap: 14px !important; scroll-snap-type: x mandatory !important; padding: 18px 20px 10px !important; margin: 0 -20px !important; }
  .plan-card { flex: 0 0 80% !important; scroll-snap-align: center !important; }

  /* Destinations and guides scroll horizontally on mobile too, instead of
     fully stacking - keeps the page shorter and mirrors the plans-grid pattern. */
  .grid-4, #guides .grid-3 {
    display: flex !important;
    overflow-x: auto !important;
    gap: 14px !important;
    scroll-snap-type: x mandatory !important;
    padding: 4px 4px 10px !important;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .grid-4::-webkit-scrollbar, #guides .grid-3::-webkit-scrollbar { display: none; }
  .grid-4 > div { flex: 0 0 62% !important; scroll-snap-align: start !important; }
  #guides .grid-3 > a { flex: 0 0 85% !important; scroll-snap-align: center !important; }

  .coverage-arrow { display: none !important; }
  .coverage-card { width: 148px !important; }

  .closing-banner { flex-direction: column !important; text-align: center !important; }
  .closing-banner a { width: 100%; box-sizing: border-box; text-align: center; }

  .footer-legal { flex-direction: column !important; text-align: center !important; gap: 12px !important; }

  .sticky-inner { padding: 12px 16px !important; gap: 10px !important; }
  .sticky-plan { font-size: 13px !important; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 46vw; }
  .sticky-from { display: none !important; }
  #sticky-cta { font-size: 13px !important; padding: 11px 18px !important; }
}

/* Tablet: phones get the full-width stack above, but tablets have room for
   side-by-side columns - stacking everything to 1fr there just wastes the
   width and makes tall cards (like the destination photos) scroll forever. */
@media (min-width: 600px) and (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr !important; row-gap: 32px !important; }

  .grid-4 {
    display: flex !important;
    overflow-x: auto !important;
    gap: 16px !important;
    scroll-snap-type: x mandatory !important;
    padding: 4px 4px 10px !important;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .grid-4::-webkit-scrollbar { display: none; }
  .grid-4 > div { flex: 0 0 45% !important; scroll-snap-align: start !important; }

  .networks-grid { grid-template-columns: repeat(3, 1fr) !important; }
}
