/* ==========================================================================
   RESTAURANTS KIT - RESPONSIVE & MOBILE-FIRST STYLES
   Breakpoints: 1200px, 1024px, 768px, 480px
   ========================================================================== */

/* --------------------------------------------------------------------------
   Desktop & Large Screens (max-width: 1200px)
   -------------------------------------------------------------------------- */
@media (max-width: 1200px) {
  .package-cards-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
  }

  .pack-card:nth-child(n+5) {
    grid-column: span 1;
  }

  .why-cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .why-card:nth-child(4) {
    grid-column: 1 / 2;
  }

  .why-card:nth-child(5) {
    grid-column: 2 / 3;
  }

  .final-banner-grid {
    grid-template-columns: 1fr 1.3fr 1fr;
    gap: 20px;
  }
}

/* --------------------------------------------------------------------------
   Tablet Landscape & Medium Screens (max-width: 1024px)
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
  :root {
    --header-height: 72px;
  }

  .section-padding {
    padding-block: 70px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-content {
    text-align: center;
  }

  .hero-eyebrow {
    margin-inline: auto;
  }

  .hero-description {
    margin-inline: auto;
  }

  .hero-cta-group {
    justify-content: center;
  }

  .hero-trust-bar {
    justify-content: center;
  }

  .hero-visual {
    max-width: 650px;
    margin-inline: auto;
    width: 100%;
  }

  .multi-angle-grid,
  .comparison-grid,
  .social-grid,
  .recipes-showcase-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .screens-composition {
    order: -1;
  }

  .offer-features-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .final-banner-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .sizzling-dish-wrap {
    margin: 0 auto;
  }

  .brush-sticker-wrap {
    margin-top: 10px;
  }
}

/* --------------------------------------------------------------------------
   Tablet Portrait & Large Mobile (max-width: 768px)
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  .top-bar,
  .fire-badge {
    display: none !important;
  }

  /* Navigation */
  .mobile-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background: #0d0f15;
    border-bottom: 2px solid var(--border-gold);
    flex-direction: column;
    padding: 24px;
    gap: 18px;
    transform: translateY(-150%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.35s ease;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
    z-index: 995;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-actions .nav-cta-btn {
    display: none;
  }

  /* 7 Package Cards */
  .package-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .pack-card:last-child {
    grid-column: span 2;
  }

  /* Why Cards */
  .why-cards-grid {
    grid-template-columns: 1fr 1fr;
    gap: 14px;
  }

  .why-card:last-child {
    grid-column: span 2;
  }

  .why-card:nth-child(4) {
    grid-column: span 1;
  }

  .why-card:nth-child(5) {
    grid-column: span 1;
  }

  /* Hero adjustments */
  .hero-title {
    font-size: 2.1rem;
  }

  .tv-screen-media {
    height: 240px;
  }

  .hero-pointer-badge {
    position: static;
    margin: 14px auto 0;
    justify-content: center;
    width: fit-content;
  }

  /* Screen composition */
  .screen-main-tv {
    width: 90%;
    height: 200px;
  }

  .screen-totem-kiosk {
    width: 85px;
    height: 160px;
    left: 10px;
  }

  .screen-tablet-menu {
    width: 110px;
    height: 80px;
    right: 10px;
  }

  .angle-features-list {
    grid-template-columns: 1fr;
  }

  /* Pricing Box */
  .pricing-box {
    padding: 30px 20px;
  }

  .timer-boxes {
    gap: 8px;
  }

  .timer-box {
    min-width: 50px;
    padding: 6px 4px;
  }

  .timer-num {
    font-size: 1.35rem;
  }

  /* Trust Strip */
  .trust-strip-container {
    justify-content: center;
    text-align: center;
  }

  /* Sticky Bottom Bar on Mobile */
  .mobile-sticky-order-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  .mobile-order-btn {
    flex: 1;
    padding: 12px 18px;
    font-size: 0.98rem;
  }

  .mobile-price-tag {
    display: flex;
    flex-direction: column;
    text-align: right;
  }

  .mobile-price-tag span:first-child {
    font-size: 0.72rem;
    color: var(--text-secondary);
  }

  .mobile-price-tag span:last-child {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--gold-primary);
  }

  /* Offset body padding bottom for sticky bar */
  body {
    padding-bottom: 65px;
  }

  .floating-whatsapp {
    bottom: 80px;
    right: 18px;
    width: 52px;
    height: 52px;
  }

  .social-proof-toast {
    left: 14px;
    right: 14px;
    bottom: 80px;
  }
}

/* --------------------------------------------------------------------------
   Small Mobile Devices (max-width: 480px)
   -------------------------------------------------------------------------- */
@media (max-width: 480px) {
  .section-padding {
    padding-block: 55px;
  }

  .hero-title {
    font-size: 1.85rem;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
  }

  .btn-gold,
  .btn-gold-outline {
    width: 100%;
  }

  .package-cards-grid {
    grid-template-columns: 1fr;
  }

  .pack-card:last-child {
    grid-column: span 1;
  }

  .why-cards-grid {
    grid-template-columns: 1fr;
  }

  .why-card:last-child,
  .why-card:nth-child(4),
  .why-card:nth-child(5) {
    grid-column: span 1;
  }

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

  .phone-mockup-large {
    width: 250px;
    height: 480px;
  }

  .book-3d-large {
    width: 220px;
    height: 310px;
  }
}
