/* ============================================================
   SLC Eats — Mobile / Responsive
   Linked after styles.css on every page
   ============================================================ */

/* ── Hamburger toggle (hidden on desktop) ── */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-direction: column;
  gap: 5px;
  z-index: 60;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--slc-paper);
  transition: transform 200ms, opacity 200ms;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ── Tablet (≤ 1024px) ── */
@media (max-width: 1024px) {
  .site-nav { padding: 14px 24px; }
  .site-nav .phone { display: none; }
  .section { padding: 64px 40px; }
  .hero-c { padding: 64px 40px 90px; }
  .news { padding: 48px 40px; }
  .site-footer { padding: 48px 40px 20px; }
  .book-wrap { padding: 56px 40px; }
  .about-cols { padding: 56px 40px; }

  .stops { grid-template-columns: repeat(2, 1fr); }
  .howto { grid-template-columns: repeat(2, 1fr); gap: 32px; }
  .tests { grid-template-columns: repeat(2, 1fr); }
  .site-footer { grid-template-columns: 1fr 1fr; }
  .site-footer small { grid-column: 1 / -1; }
}

/* ── Mobile (≤ 768px) ── */
@media (max-width: 768px) {

  /* Prevent ANY element from causing horizontal scroll */
  html, body { overflow-x: hidden; max-width: 100%; }
  .section, .hero-c, .news, .site-footer, .book-wrap, .about-cols, .about-hero { overflow-x: hidden; }

  /* Nav — hamburger */
  /* Nav is fixed so it stays at top; when open it expands to fill the screen.
     The ul becomes a normal in-flow child (no nested position:fixed) so iOS
     tap events reach the links reliably. */
  body { padding-top: 72px; }
  .site-nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    padding: 12px 20px;
    flex-wrap: wrap;
    align-content: flex-start;
    overflow: hidden;
    height: 72px;
    transition: height 250ms ease;
  }
  .site-nav.open { height: 100dvh; }
  .site-nav .brand { flex: 1; }
  .site-nav .brand .wm { font-size: 18px; }
  .site-nav ul {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: calc(100dvh - 72px);
    gap: 24px;
    padding: 40px 24px;
    list-style: none;
    margin: 0;
  }
  .site-nav ul a {
    font-size: 36px;
    letter-spacing: 2px;
    padding: 8px 0;
    display: block;
  }
  .site-nav ul a::after { bottom: 0; height: 4px; }
  .site-nav.open ul { display: flex; }
  .site-nav .phone { display: none; }
  .nav-toggle { display: flex; }

  /* Hero */
  .hero-c { padding: 48px 20px 72px; }
  .hero-c .eyebrow { font-size: 10px; }
  .hero-c .sub { font-size: 15px; }
  .hero-c .cta-row { flex-direction: column; gap: 10px; }
  .hero-c .cta-row .btn { text-align: center; justify-content: center; }

  /* Sections */
  .section { padding: 48px 20px; }
  .wrap { padding: 0; }
  .kicker { margin-bottom: 28px; }

  /* Stops: 1 col */
  .stops { grid-template-columns: 1fr !important; gap: 16px; width: 100%; }
  .stop { min-width: 0; }

  /* How it works: 2 col on mobile, big numbers scaled down */
  .howto { grid-template-columns: 1fr 1fr !important; gap: 20px; width: 100%; }
  .howto .step { min-width: 0; }
  .howto .step .bignum { font-size: 64px; }

  /* Testimonials: 1 col */
  .tests { grid-template-columns: 1fr; gap: 32px; }
  .test::before { font-size: 80px; top: -20px; }

  /* Gifts: 1 col */
  .gifts-grid { grid-template-columns: 1fr; gap: 28px; }
  .gift-card { aspect-ratio: auto; padding: 24px; min-height: 180px; }
  .gc-amt { font-size: 56px; }

  /* FAQ */
  .faq summary { font-size: 17px; }

  /* Contact: 1 col */
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-info h2 { font-size: 36px; }
  .contact-map { aspect-ratio: 4/3; }

  /* Newsletter */
  .news { padding: 48px 20px; }
  .news form { flex-direction: column; gap: 10px; }
  .news input, .news .btn-signup { width: 100%; max-width: 100%; }
  .news .btn-signup { padding: 14px; font-size: 14px; }

  /* Footer: 2 col */
  .site-footer { grid-template-columns: 1fr 1fr; padding: 40px 20px 20px; gap: 24px; }
  .site-footer > div:first-child { grid-column: 1 / -1; }
  .site-footer .brand img { height: 64px; }
  .ft-wm { font-size: 24px; }
  .site-footer small { grid-column: 1 / -1; }

  /* Buttons */
  .btn { font-size: 13px; padding: 13px 18px; }

  /* Tours page */
  .tour-row {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 24px 0;
  }
  .trow-art { aspect-ratio: 3/1; max-height: 120px; }
  .trow-art .bign { font-size: 80px; }
  .actions { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
  .price { font-size: 36px; }

  /* About page */
  .about-hero { padding: 56px 20px; }
  .about-hero h1 { font-size: clamp(48px, 14vw, 96px); letter-spacing: -2px; }
  .about-cols { grid-template-columns: 1fr; padding: 48px 20px; gap: 32px; }
  .pull .q { font-size: 22px; }

  /* Book page */
  .book-wrap { padding: 40px 20px; }
  .book-grid { grid-template-columns: 1fr; gap: 32px; }
  .row2 { grid-template-columns: 1fr; gap: 0; }
  .book-form { padding: 24px 20px; box-shadow: 8px 8px 0 var(--slc-red); }
}

/* ── Small phones (≤ 480px) ── */
@media (max-width: 480px) {
  .site-footer { grid-template-columns: 1fr; }
  .hero-c .lede { letter-spacing: -1px; }
  .kicker { letter-spacing: -0.5px; }
}
