/* ── Non-Food page ── */

.non-food-page {
  background: var(--cream);
}

/* ── Hero ── */
.nf-hero {
  position: relative;
  min-height: clamp(520px, 49vw, 941px);
  margin: 16px;
  padding: 20px 16px 64px;
  border-radius: 24px;
  color: #fff;
  overflow: hidden;
  animation: hero-in 0.9s var(--ease) both;
  background:
    linear-gradient(0deg, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    linear-gradient(180deg, rgba(108, 122, 63, 0.56) 24.53%, rgba(156, 154, 116, 0.56) 100%),
    url(../assets/non-food-1.jpg) center / cover no-repeat;
}

.nf-hero-inner {
  position: relative;
  z-index: 2;
  min-height: clamp(480px, 45vw, 860px);
  display: flex;
  flex-direction: column;
}

.non-food-page .nfb-head .hero-nav-list {
  background: var(--cream);
}

.non-food-page .hero-nav .nav-link.active {
  color: var(--olive) !important;
}

.nf-hero-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  width: 100%;
  max-width: min(1632px, 100%);
  margin: auto 0 0;
  padding: clamp(32px, 8vw, 80px) clamp(5px, 4vw, 0px) clamp(40px, 6vw, 40px);
}

.nf-hero-title {
  font-family: "Lato", sans-serif;
  font-weight: 800;
  font-size: clamp(2.75rem, 4.4vw, 5.25rem);
  line-height: 1.4;
  color: var(--cream);
  margin: 0;
}

.nf-hero-lead {
  font-family: "Lato", sans-serif;
  font-weight: 600;
  font-size: clamp(1.05rem, 1.8vw, 2.125rem);
  line-height: 1.18;
  color: var(--cream);
  margin: 0;
}

/* ── Main layout ── */
.nf-main {
  padding: clamp(28px, 4vw, 44px) clamp(12px, 2vw, 24px) clamp(64px, 8vw, 120px);
}

/* ── Intro ── */
.nf-intro {
  padding-bottom: clamp(40px, 5vw, 64px);
}

.nf-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 18px;
  margin-bottom: clamp(20px, 3vw, 32px);
  border: 1px solid var(--copper);
  border-radius: 12px;
  background: rgba(166, 122, 86, 0.64);
  font-family: "Lato", sans-serif;
  font-weight: 600;
  font-size: clamp(1.75rem, 2.5vw, 3rem);
  line-height: 1.4;
  color: var(--cream);
}

.nf-intro-title {
  font-family: "Lato", sans-serif;
  font-weight: 600;
  font-size: clamp(1.75rem, 3.2vw, 3.875rem);
  line-height: 1.4;
  color: #000;
  margin: 0 0 clamp(16px, 2vw, 24px);
  max-width: 1476px;
}

.nf-intro-lead {
  font-family: "Lato", sans-serif;
  font-weight: 400;
  font-size: clamp(1rem, 1.6vw, 1.875rem);
  line-height: 1.5;
  color: var(--slate);
  margin: 0;
  max-width: 1168px;
}

/* ── Service cards ── */
.nf-services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 5vw, 102px);
}

.nf-service-card {
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 3vw, 44px);
}

.nf-service-media {
  width: 100%;
  aspect-ratio: 1;
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
}

.nf-service-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.nf-service-body {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.nf-service-title {
  font-family: "Lato", sans-serif;
  font-weight: 700;
  font-size: clamp(1.25rem, 1.7vw, 2.01rem);
  line-height: 1.41;
  color: #000;
  margin: 0;
}

.nf-service-desc {
  font-family: "Lato", sans-serif;
  font-weight: 400;
  font-size: clamp(1rem, 1.6vw, 1.885rem);
  line-height: 1.41;
  color: var(--slate);
  margin: 0;
}

.nf-learn-more {
  font-family: "Lato", sans-serif;
  font-weight: 400;
  font-size: clamp(0.9rem, 1.05vw, 1.26rem);
  line-height: 1.41;
  text-decoration: underline;
  color: var(--olive);
  transition: opacity 0.2s ease;
}

.nf-learn-more:hover {
  color: var(--olive);
  opacity: 0.75;
}

/* ── Responsive ── */
@media (max-width: 1199.98px) {
  .nf-services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(24px, 4vw, 48px);
  }

  .nf-service-card:last-child {
    grid-column: 1 / -1;
    max-width: calc(50% - clamp(12px, 2vw, 24px));
    justify-self: center;
  }
}

@media (max-width: 1199.98px) {
  .non-food-page .navbar-toggler .navbar-toggler-icon {
    filter: invert(1);
  }

  .non-food-page .sedna_head {
    flex-wrap: nowrap;
    justify-content: flex-start;
  }

  .non-food-page .hero-logo {
    margin: 0 !important;
  }

  .non-food-page .btn-contact-hero {
    width: auto;
    max-width: none;
    margin: 0 0 0 auto !important;
    text-align: center;
  }
}

@media (max-width: 991.98px) {
  .nf-hero {
    margin: 12px;
    min-height: auto;
    padding-bottom: 48px;
  }

  .nf-hero-inner {
    min-height: auto;
  }

  .nf-hero-copy {
    padding-top: 24px;
    padding-bottom: 32px;
  }
}

@media (max-width: 767.98px) {
  .nf-services-grid {
    grid-template-columns: 1fr;
    max-width: 517px;
    margin-inline: auto;
  }

  .nf-service-card:last-child {
    grid-column: auto;
    max-width: none;
  }
}

@media (max-width: 575.98px) {
  .nf-hero {
    margin: 8px;
    border-radius: 20px;
  }

  .nf-service-body {
    gap: 16px;
  }
}

@media (min-width: 1600px) {
  .nf-hero-title {
    font-size: 5.25rem;
  }

  .nf-hero-lead {
    font-size: 2.125rem;
    line-height: 1.18;
  }
}
