/* ==========================================================================
   NZ Nutrition Landing Page — Figma-matched styles
   ========================================================================== */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-heading);
  background: var(--color-bg-gradient);
  color: var(--color-dark);
  line-height: 1.2;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.hidden {
  display: none !important;
}

.container {
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 0 24px;
}

.container--narrow {
  max-width: 1375px;
}

.section {
  padding: 80px 0;
}

/* ---- Header ---- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.header-inner {
  max-width: 1920px;
  margin: 0 auto;
  padding: 20px 160px;
  min-height: 148px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-link {
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 18px;
  line-height: 1.2;
  color: var(--color-navy);
  transition: color 0.2s;
}

.nav-link:hover {
  color: var(--color-green);
}

.logo img {
  width: 146px;
  height: auto;
}

.header-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 16px;
}

.btn-whatsapp-nav {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 167px;
  padding: 16px 36px;
  background: var(--color-green);
  color: var(--color-white);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.2;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-btn);
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-whatsapp-nav:hover {
  transform: translateY(-1px);
  box-shadow: 0px 18px 40px rgba(47, 107, 28, 0.28);
}

.btn-whatsapp-nav img {
  flex-shrink: 0;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 4px;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--color-navy);
  transition: transform 0.3s, opacity 0.3s;
}

.mobile-nav {
  position: fixed;
  top: 95px;
  left: 0;
  width: 100%;
  height: 0;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(12px);
  z-index: 99;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  overflow: hidden;
  transition: height 0.3s ease;
}

.mobile-nav.active {
  height: calc(100vh - 95px);
}

.mobile-link {
  font-size: 22px;
  font-weight: 600;
  color: var(--color-navy);
}

.mobile-cta {
  margin-top: 12px;
}

/* ---- Hero ---- */
.hero {
  margin-top: 148px;
  min-height: 809px;
  background: url('assets/images/hero-bg-3ad1f3.png') center / cover no-repeat;
  display: flex;
  align-items: center;
}

.hero-inner {
  max-width: 1920px;
  margin: 0 auto;
  width: 100%;
  padding: 100px 1035px 105px 160px;
}

.hero-content {
  max-width: 728px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-text {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.hero-tag {
  font-weight: 500;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: 0.0709em;
  color: var(--color-green);
}

.hero-title {
  font-weight: 600;
  font-size: 82px;
  line-height: 80.36px;
  letter-spacing: -0.05em;
  color: var(--color-navy);
  max-width: 695px;
}

.hero-subtitle {
  font-weight: 400;
  font-size: 21px;
  line-height: 33.6px;
  color: var(--color-dark-muted);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.2;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary {
  width: 199px;
  height: 55px;
  background: var(--color-green);
  color: var(--color-white);
  box-shadow: var(--shadow-btn);
}

.btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0px 18px 40px rgba(47, 107, 28, 0.28);
}

.btn-outline {
  width: 139px;
  height: 57px;
  background: var(--color-white);
  color: var(--color-navy);
  border: 1px solid #d9e4d2;
  font-family: var(--font-body);
  font-weight: 700;
}

.btn-outline:hover {
  background: var(--color-badge-bg);
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.stat-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 20px;
  background: var(--color-white);
  border-radius: 63px;
}

.stat-pill:first-child {
  min-width: 216px;
}

.stat-value {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 24px;
  line-height: 1.2;
  color: var(--color-green);
}

.stat-label {
  font-weight: 400;
  font-size: 16px;
  line-height: 1.2;
  color: var(--color-dark);
}

/* ---- Cards ---- */
.card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
}

/* ---- About ---- */
.about-section {
  padding-top: 0;
}

.about-card {
  padding: 60px 41px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 17px;
  min-height: 280px;
}

.about-card-text {
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: center;
}

.about-card-text h2 {
  font-weight: 700;
  font-size: 48px;
  line-height: 44.1px;
  color: var(--color-navy);
}

.about-card-text p {
  font-weight: 400;
  font-size: 16px;
  line-height: 1.2;
  color: var(--color-dark);
}

.cert-badges {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.cert-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 144px;
  height: 59px;
  background: var(--color-badge-bg);
  border-radius: var(--radius-badge);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.2;
  text-align: center;
  color: var(--color-green);
}

/* ---- Section Headers ---- */
.section-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  margin-bottom: 50px;
  text-align: center;
}

.section-tag {
  font-weight: 700;
  font-size: 22px;
  line-height: 1.2;
  color: var(--color-green);
}

.section-tag--light {
  color: var(--color-green-light);
  letter-spacing: 0.0709em;
}

.section-title {
  font-weight: 700;
  font-size: 52px;
  line-height: 44.1px;
  color: var(--color-navy);
}

.section-title--blue {
  color: var(--color-blue-dark);
}

.section-title--white {
  color: var(--color-white);
}

/* ---- Category Grid ---- */
.category-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 31px 29px;
}

.category-card {
  background: var(--color-white);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-card);
  padding: 30px 28px;
  min-height: 219px;
  display: flex;
  flex-direction: column;
  gap: 25px;
  transition: box-shadow 0.2s, transform 0.2s;
}

.category-card:hover {
  box-shadow: var(--shadow-card-lg);
  transform: translateY(-2px);
}

.category-card-top {
  display: flex;
  align-items: center;
  gap: 16px;
}

.category-icon {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-size: 42px;
  flex-shrink: 0;
}

.category-icon--fruit { background: rgba(241, 95, 95, 0.18); }
.category-icon--vegetable { background: rgba(104, 168, 50, 0.18); }
.category-icon--herbs { background: rgba(47, 125, 50, 0.18); }
.category-icon--dairy { background: rgba(224, 179, 74, 0.18); }
.category-icon--tea,
.category-icon--freeze { background: rgba(139, 90, 43, 0.18); }
.category-icon--other { background: rgba(39, 90, 159, 0.18); }

.category-card--solo {
  max-width: 439px;
}

.category-info h3 {
  font-weight: 700;
  font-size: 28px;
  line-height: 1.2;
  color: var(--color-blue-dark);
  margin-bottom: 10px;
}

.category-info p {
  font-weight: 600;
  font-size: 18px;
  line-height: 1.2;
  color: var(--color-text-muted);
}

.btn-view-list {
  align-self: flex-start;
  width: 128px;
  height: 38px;
  background: var(--color-badge-bg-alt);
  border-radius: 72px;
  font-weight: 700;
  font-size: 15px;
  text-transform: uppercase;
  color: var(--color-green);
  transition: background 0.2s;
}

.btn-view-list:hover {
  background: var(--color-badge-bg);
}

/* ---- Product List Tabs ---- */
.product-list-section {
  padding-top: 0;
}

.product-list-card {
  padding: 40px 41px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.product-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.product-tab {
  padding: 15px 40px;
  height: 49px;
  border-radius: 200px;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.2;
  text-align: center;
  color: var(--color-green);
  background: var(--color-tab-inactive);
  transition: background 0.2s, color 0.2s;
  white-space: nowrap;
}

.product-tab:hover {
  background: rgba(47, 107, 28, 0.25);
}

.product-tab.active {
  background: var(--color-navy);
  color: var(--color-white);
}

.product-columns {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.product-column {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.product-item {
  padding: 15px 40px;
  height: 49px;
  display: flex;
  align-items: center;
  background: var(--color-tab-inactive-bg);
  border-radius: 200px;
  font-weight: 600;
  font-size: 16px;
  line-height: 1.2;
  color: var(--color-dark);
  white-space: nowrap;
}

/* ---- Manufacturing Flow ---- */
.manufacturing-section {
  padding: 0;
}

.manufacturing-card {
  background: var(--color-blue-dark);
  border: 1px solid var(--color-green);
  box-shadow: var(--shadow-card);
  padding: 60px 41px;
}

.manufacturing-card .section-header {
  margin-bottom: 40px;
}

.flow-timeline {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  max-width: 1308px;
  margin: 0 auto;
  min-height: 103px;
}

.flow-line {
  position: absolute;
  bottom: 24px;
  left: 21px;
  right: 116px;
  height: 0;
  border-top: 2px dashed var(--color-white);
  z-index: 0;
}

.flow-steps {
  display: flex;
  gap: 17px;
  flex: 1;
  z-index: 1;
}

.flow-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 183px;
  position: relative;
  padding-top: 24px;
}

.flow-icon-wrap {
  width: 44px;
  height: 44px;
  background: var(--color-white);
  border: 1px solid var(--color-blue-dark);
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.flow-icon {
  width: 32px;
  height: 32px;
  display: block;
}

.flow-label {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 183px;
  height: 51px;
  background: var(--color-badge-bg);
  border-radius: var(--radius-badge);
  font-weight: 600;
  font-size: 22px;
  line-height: 1.2;
  text-align: center;
  color: var(--color-green);
  margin-top: 29px;
}

.flow-logo {
  width: 116px;
  height: auto;
  flex-shrink: 0;
  align-self: flex-start;
  z-index: 1;
}

/* ---- Why Choose ---- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.why-card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card-sm);
  padding: 30px 20px;
  box-shadow: var(--shadow-card-lg);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.why-card h3 {
  font-weight: 700;
  font-size: 22px;
  line-height: 1.2;
  color: var(--color-navy);
}

.why-card p {
  font-weight: 400;
  font-size: 16px;
  line-height: 1.2;
  color: var(--color-dark);
}

.why-grid .why-card:nth-child(3) {
  padding: 30px 19px;
}

/* ---- CTA Banner ---- */
.cta-section {
  padding: 40px 0;
}

.why-section .section-tag {
  letter-spacing: 0.0709em;
}

.cta-banner {
  background: var(--color-green);
  border-radius: var(--radius-card-sm);
  padding: 37px 86px 50px 57px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 47px;
  min-height: 180px;
  max-width: 1330px;
  margin: 0 auto;
}

.cta-content h2 {
  font-weight: 700;
  font-size: 42px;
  line-height: 1.2;
  color: var(--color-white);
  margin-bottom: 17px;
}

.cta-content p {
  font-weight: 700;
  font-size: 22px;
  line-height: 1.2;
  color: var(--color-cta-subtext);
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: 167px;
  padding: 16px 36px;
  background: var(--color-white);
  border-radius: var(--radius-pill);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.2;
  color: var(--color-green);
  flex-shrink: 0;
  box-shadow: var(--shadow-btn);
  transition: transform 0.2s;
}

.btn-whatsapp img {
  flex-shrink: 0;
}

.btn-whatsapp:hover {
  transform: scale(1.03);
}

/* ---- Contact ---- */
.contact-section {
  background: var(--color-bg-gradient);
  padding-bottom: 100px;
}

.contact-layout {
  display: flex;
  gap: 157px;
  align-items: flex-start;
}

.contact-info {
  flex: 0 0 654px;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.contact-info .section-tag {
  letter-spacing: 0.0709em;
  text-align: left;
}

.contact-info .section-title {
  text-align: left;
  font-size: 52px;
  line-height: 44.1px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.contact-details p {
  font-weight: 400;
  font-size: 18px;
  line-height: 1.2;
  color: var(--color-dark);
}

.contact-logo {
  width: 520px;
  max-width: 100%;
  margin-top: 20px;
  opacity: 0.95;
}

.contact-form-wrap {
  flex: 1;
  min-width: 0;
}

.contact-form {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card-sm);
  padding: 27px;
  box-shadow: var(--shadow-card-lg);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  background: var(--color-white);
  border: 1px solid var(--color-border-input);
  border-radius: var(--radius-input);
  padding: 17px;
  font-family: var(--font-heading);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.2;
  color: var(--color-dark);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--color-placeholder);
}

.form-field select {
  color: var(--color-dark);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23757575' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 17px center;
  padding-right: 40px;
}

.form-field select:invalid {
  color: var(--color-placeholder);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--color-green);
  box-shadow: 0 0 0 3px rgba(47, 107, 28, 0.12);
}

.form-field textarea {
  min-height: 120px;
  resize: vertical;
}

.btn-submit {
  width: 100%;
  height: 55px;
  background: var(--color-green);
  color: var(--color-white);
  border-radius: var(--radius-btn);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.2;
  margin-top: 6px;
  transition: background 0.2s, transform 0.2s;
}

.btn-submit:hover {
  background: #265a16;
  transform: translateY(-1px);
}

.contact-success {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-card-sm);
  padding: 60px 27px;
  box-shadow: var(--shadow-card-lg);
  text-align: center;
}

.success-icon {
  width: 60px;
  height: 60px;
  background: var(--color-badge-bg);
  color: var(--color-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  margin: 0 auto 20px;
}

.contact-success h3 {
  font-size: 28px;
  color: var(--color-navy);
  margin-bottom: 8px;
}

.contact-success p {
  font-size: 16px;
  color: var(--color-dark);
}

/* ---- Decorative ---- */
.decorative-circle {
  position: fixed;
  bottom: -200px;
  left: -192px;
  width: 520px;
  height: 520px;
  background: var(--color-decorative);
  opacity: 0.6;
  border-radius: 50%;
  pointer-events: none;
  z-index: -1;
}

/* ---- Responsive ---- */
@media (max-width: 1400px) {
  .header-inner {
    padding: 20px 60px;
  }

  .hero-inner {
    padding: 80px 60px 80px 60px;
  }

  .hero-title {
    font-size: 64px;
    line-height: 1.05;
  }

  .contact-layout {
    gap: 60px;
  }

  .contact-info {
    flex: 0 0 45%;
  }
}

@media (max-width: 1200px) {
  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .flow-steps {
    flex-wrap: wrap;
    justify-content: center;
  }

  .flow-line {
    display: none;
  }

  .flow-timeline {
    flex-direction: column;
    align-items: center;
  }

  .flow-logo {
    align-self: center;
    margin-top: 20px;
  }
}

@media (max-width: 992px) {
  .header-inner {
    padding: 16px 24px;
    grid-template-columns: auto 1fr auto;
  }

  .nav-menu {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .logo {
    justify-self: center;
  }

  .header-actions .btn-whatsapp-nav {
    display: none;
  }

  .hero {
    margin-top: 95px;
    min-height: auto;
  }

  .hero-inner {
    padding: 60px 24px;
  }

  .hero-title {
    font-size: 48px;
    line-height: 1.1;
  }

  .contact-layout {
    flex-direction: column;
  }

  .contact-info {
    flex: none;
    width: 100%;
  }

  .contact-logo {
    width: 100%;
    max-width: 400px;
  }

  .cta-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 32px 28px;
  }

  .cta-content h2 {
    font-size: 32px;
  }

  .cta-content p {
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 60px 0;
  }

  .hero-title {
    font-size: 36px;
  }

  .hero-tag {
    font-size: 16px;
  }

  .hero-subtitle {
    font-size: 18px;
    line-height: 1.5;
  }

  .about-card-text h2,
  .section-title {
    font-size: 36px;
    line-height: 1.15;
  }

  .category-grid,
  .why-grid,
  .product-columns {
    grid-template-columns: 1fr;
  }

  .product-tabs {
    flex-direction: column;
  }

  .product-tab {
    width: 100%;
  }

  .product-item {
    white-space: normal;
    height: auto;
    min-height: 49px;
  }

  .flow-step {
    width: 140px;
  }

  .flow-label {
    width: 140px;
    font-size: 18px;
  }

  .cert-badges {
    gap: 12px;
  }

  .cert-badge {
    width: 120px;
    height: 50px;
    font-size: 14px;
  }
}
