/* ============================================================
   Pizza Chena — responsive.css
   Breakpoints: 1024 · 960 · 900 · 768 · 680 · 620 · 560 · 460
   Desktop-first; layered on top of style.css
   ============================================================ */

/* ------------------------------------------------------------
   ≤ 1024px — tablet landscape / small laptop: nav collapses
   ------------------------------------------------------------ */
@media (max-width: 1024px) {
  .nav {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .header-inner {
    min-height: 72px;
    gap: 1rem;
  }

  :root {
    --header-h: 72px;
  }

  .brand__mark {
    width: 38px;
    height: 38px;
  }

  .brand__chena {
    font-size: 1.5rem;
  }

  .why__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials__grid {
    grid-template-columns: 1fr 1fr;
  }

  .t-card:nth-child(3) {
    grid-column: 1 / -1;
  }
}

/* ------------------------------------------------------------
   ≤ 960px — tablet portrait: big two-column layouts stack
   ------------------------------------------------------------ */
@media (max-width: 960px) {
  .story__grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }

  .story__media {
    max-width: 560px;
    margin-inline: auto;
  }

  .location__grid {
    grid-template-columns: 1fr;
    gap: 2.8rem;
  }

  .location__map iframe {
    height: 380px;
  }

  .reservation__grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .featured .feature-row,
  .featured .feature-row:nth-child(even) {
    grid-template-columns: 1fr;
    grid-template-areas: "media" "body";
    gap: 2.2rem;
    margin-block-end: 4.5rem;
  }

  .feature-row__num {
    top: -2rem;
  }

  .feature-row__body {
    padding-top: 0;
  }
}

/* ------------------------------------------------------------
   ≤ 900px — gallery and menu tighten
   ------------------------------------------------------------ */
@media (max-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 175px;
  }

  .g-item:nth-child(1),
  .g-item:nth-child(7) {
    grid-column: span 2;
  }

  .g-item:nth-child(4) {
    grid-row: span 2;
  }

  .menu-grid {
    grid-template-columns: repeat(auto-fill, minmax(224px, 1fr));
    gap: 1.2rem;
  }
}

/* ------------------------------------------------------------
   ≤ 768px — mobile large
   ------------------------------------------------------------ */
@media (max-width: 768px) {
  .section__head {
    margin-block-end: 2.2rem;
  }

  .hero {
    min-height: 92svh;
  }

  .hero__text {
    font-size: 1.05rem;
  }

  .hero__badges li {
    font-size: 0.64rem;
    padding: 0.5em 1em;
  }

  .menu-filters {
    justify-content: center;
    gap: 0.5rem;
  }

  .filter-btn {
    padding: 0.6em 1.2em;
    font-size: 0.7rem;
  }

  .hours__table th,
  .hours__table td {
    padding: 0.85rem 0.7rem;
    font-size: 0.92rem;
  }

  .lightbox__close,
  .lightbox__nav {
    width: 44px;
    height: 44px;
  }

  .lightbox__stage img {
    max-height: 68vh;
  }
}

/* ------------------------------------------------------------
   ≤ 680px — testimonials single column
   ------------------------------------------------------------ */
@media (max-width: 680px) {
  .testimonials__grid {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }

  .t-card {
    padding: 1.9rem 1.6rem 1.7rem;
  }
}

/* ------------------------------------------------------------
   ≤ 620px — mobile small: announcement bar and forms simplify
   ------------------------------------------------------------ */
@media (max-width: 620px) {
  .announce {
    font-size: 0.6rem;
    letter-spacing: 0.12em;
  }

  .announce__inner {
    gap: 0.35rem 0.8rem;
  }

  .announce__dot {
    display: none;
  }

  .form__row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .contact__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .contact__actions .btn {
    width: 100%;
  }

  .hours__status {
    margin-top: 1.2rem;
  }

  .footer__bar-inner {
    flex-direction: column;
    text-align: center;
    gap: 0.6rem;
  }
}

/* ------------------------------------------------------------
   ≤ 560px — single-column everything
   ------------------------------------------------------------ */
@media (max-width: 560px) {
  .why__grid {
    grid-template-columns: 1fr;
    gap: 1.1rem;
  }

  .footer__grid {
    grid-template-columns: 1fr;
    gap: 2.2rem;
  }

  .gallery-grid {
    grid-auto-rows: 150px;
    gap: 0.6rem;
  }

  .spin-badge {
    width: 104px;
    height: 104px;
    top: -1.6rem;
    inset-inline-end: 0.6rem;
  }

  .story__fig--sub {
    border-width: 5px;
  }

  .menu-grid {
    grid-template-columns: 1fr;
  }

  .lang-btn__label,
  .lang-btn__chev {
    display: none;
  }

  .lang-btn {
    padding: 0.62em 0.85em;
  }
}

/* ------------------------------------------------------------
   ≤ 460px — smallest phones: full-width CTAs
   ------------------------------------------------------------ */
@media (max-width: 460px) {
  .hero__ctas {
    flex-direction: column;
    align-items: stretch;
    gap: 0.8rem;
  }

  .hero__ctas .btn {
    width: 100%;
  }

  .hero__scroll {
    display: none;
  }

  .quick-chip {
    flex: 1 1 100%;
    justify-content: center;
  }
}

/* very short landscape screens */
@media (max-height: 600px) {
  .hero {
    min-height: 560px;
  }

  .hero__scroll {
    display: none;
  }
}
