@media (max-width: 1440px) {
  .hero {
    padding-left: 42px;
    padding-right: 42px;
  }

  .hero-content {
    width: min(1180px, 100%);
  }
}

@media (max-width: 1440px) and (max-height: 900px) {
  .hero {
    min-height: 100svh;
    padding: 110px 42px 64px;
    display: flex;
    align-items: center;
  }

  .hero-content {
    width: min(1180px, 100%);
    margin: 0 auto;
    padding-top: 0;
  }

  .process-bar {
    display: none;
  }

  .hero-kicker {
    margin-bottom: 16px;
    font-size: 0.72rem;
    letter-spacing: 6px;
  }

  .hero h1 {
    font-size: clamp(3.1rem, 6vw, 6.1rem);
    line-height: 0.92;
    margin-bottom: 18px;
    max-width: 540px;
  }

  .divider {
    margin-bottom: 18px;
  }

  .hero-content p {
    max-width: 430px;
    font-size: 0.98rem;
    line-height: 1.55;
    margin-bottom: 24px;
  }

  .btn {
    min-height: 54px;
    padding: 0 22px;
  }
}

@media (max-width: 1200px) {
  .process-bar {
    display: none;
  }

  .hero {
    padding-bottom: 70px;
  }
}

@media (max-width: 1100px) {
  .navbar {
    width: calc(100% - 32px);
    height: 72px;
    padding: 0 20px;
  }

  .logo {
    height: 72px;
  }

  .logo img {
    height: 96px;
  }

  .nav-links {
    gap: 2px;
  }

  .nav-links a {
    padding: 10px 12px;
    font-size: 0.88rem;
  }

  .nav-book {
    padding: 14px 18px;
  }

  .menu-layout,
  .event-booking-layout {
    grid-template-columns: 1fr;
  }

  .order-summary,
  .estimate-panel {
    position: static;
  }

  .estimate-panel {
    order: -1;
  }

  .menu-preview-grid,
  .preview-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .menu-page-card img {
    height: 460px;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 50px;
  }
}

@media (max-width: 1024px) {
  .hero {
    min-height: auto;
    padding: 130px 32px 80px;
    align-items: flex-start;

    background:
      linear-gradient(
        90deg,
        rgba(5, 5, 4, 0.96) 0%,
        rgba(5, 5, 4, 0.82) 45%,
        rgba(5, 5, 4, 0.42) 100%
      ),
      linear-gradient(
        180deg,
        rgba(5, 5, 4, 0.25) 0%,
        rgba(5, 5, 4, 0.85) 100%
      ),
      url("../images/hero.png");

    background-size: cover;
    background-position: center;
  }

  .hero-content {
    width: 100%;
    padding-top: 0;
  }

  .hero h1 {
    font-size: clamp(3.4rem, 10vw, 5.4rem);
    max-width: 620px;
  }

  .process-bar {
    display: none;
  }
}

@media (max-width: 950px) {
  .event-hero,
  .event-form-section {
    padding-left: 24px;
    padding-right: 24px;
  }

  .form-grid,
  .menu-grid {
    grid-template-columns: 1fr;
  }

  .dessert-card {
    grid-column: span 1;
    grid-template-columns: 1fr;
  }

  .dessert-card h4 {
    grid-column: span 1;
  }

  .submit-panel {
    flex-direction: column;
    align-items: flex-start;
  }

  .submit-panel button {
    width: 100%;
  }
}

@media (max-width: 900px) {
  .navbar {
    align-items: center;
  }

  .nav-links,
  .nav-book {
    display: none;
  }

  .hero-buttons,
  .hero-actions {
    flex-direction: column;
  }

  .page-container {
    width: calc(100% - 40px);
  }

  .btn,
  .btn-primary,
  .btn-secondary {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .services-section,
  .preview-section,
  .menu-preview,
  .about-preview,
  .home-cta,
  .menu-builder,
  .about-section {
    padding: 80px 20px;
  }

  .package-grid,
  .preview-grid,
  .menu-preview-grid,
  .food-grid,
  .about-story,
  .about-highlights {
    grid-template-columns: 1fr;
  }

  .package-card.featured {
    transform: none;
  }

  .about-image {
    min-height: 360px;
  }

  .about-content {
    padding: 28px;
  }

  .footer {
    flex-direction: column;
    padding: 30px 20px;
    text-align: center;
  }
}

@media (max-width: 820px) {
  .navbar {
    top: 14px;
    width: calc(100% - 20px);
    height: 66px;
    padding: 0 18px;
    border-radius: 20px;
  }

  .logo {
    height: 66px;
  }

  .logo img {
    height: 82px;
  }
}

@media (max-width: 760px) {
  .category-title {
    align-items: flex-start;
    flex-direction: column;
  }

  .food-card {
    min-height: auto;
  }

  .preview-section,
  .menu-preview,
  .about-preview,
  .home-cta {
    padding: 80px 20px;
  }

  .preview-grid,
  .menu-preview-grid {
    grid-template-columns: 1fr;
  }

  .section-heading {
    margin-bottom: 34px;
  }

  .menu-preview-grid {
    margin-top: 38px;
  }

  .menu-page-card img {
    height: 380px;
  }

  .footer {
    padding: 70px 0 28px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
  }
}

@media (max-width: 650px) {
  .menu-preview {
    padding: 80px 22px;
  }

  .menu-preview-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .menu-page-card img {
    height: 480px;
  }
}

@media (max-width: 640px) {
  .hero {
    min-height: auto;
    padding: 120px 22px 64px;

    background:
      linear-gradient(
        180deg,
        rgba(5, 5, 4, 0.86) 0%,
        rgba(5, 5, 4, 0.72) 45%,
        rgba(5, 5, 4, 0.94) 100%
      ),
      url("../images/hero.png");

    background-size: cover;
    background-position: center;
  }

  .hero-kicker {
    gap: 12px;
    letter-spacing: 4px;
    font-size: 0.68rem;
    margin-bottom: 18px;
  }

  .hero-kicker span {
    flex-basis: 36px;
    width: 36px;
  }

  .hero h1 {
    font-size: clamp(3rem, 16vw, 4.4rem);
    line-height: 0.92;
    letter-spacing: -2.5px;
    max-width: 100%;
  }

  .hero h1::first-letter {
    letter-spacing: -3px;
  }

  .hero-content p {
    font-size: 0.98rem;
    line-height: 1.6;
    max-width: 100%;
  }

  .hero-buttons {
    width: 100%;
    gap: 14px;
  }

  .btn {
    width: 100%;
    min-width: 0;
    min-height: 56px;
  }
}

@media (max-width: 600px) {
  .event-hero {
    min-height: 62vh;
    padding-top: 130px;
  }

  .form-card {
    padding: 24px;
    border-radius: 24px;
  }

  .form-card-header {
    flex-direction: column;
  }
}

@media (max-width: 520px) {
  .hero h1 {
    letter-spacing: -2px;
  }

  .process-item {
    align-items: flex-start;
  }

  .process-icon {
    flex: 0 0 64px;
    width: 64px;
    height: 64px;
    font-size: 1.4rem;
  }

  .logo img {
    height: 72px;
  }
}
