/* ============================================
   Mīti Brand System — Global Styles
   ============================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,wght@0,400;0,500;0,600;0,700;1,400&family=Khand:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,400;0,500;0,600;0,700;1,400&display=swap');

/* ---- CSS Custom Properties ---- */
:root {
  /* Brand colours */
  --green-dark: #1E3A2B;
  --green-mid: #5A7C5E;
  --green-light: #A8C5A0;
  --gold: #D4A843;
  --gold-hover: #c49a38;
  --cream: #FAF7F2;
  --cream-alt: #FAF9F5;
  --white: #ffffff;
  --black: #2C2C2C;
  --grey: #666666;
  --grey-light: #999999;

  /* Typography */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Spacing */
  --section-padding: 100px 0;
  --container-width: 1140px;
  --container-padding: 0 24px;

  /* Transitions */
  --transition: 0.3s ease;
}

/* ---- Reset & Base ---- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--black);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

/* ---- Container ---- */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: var(--container-padding);
}

/* ---- Typography ---- */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  line-height: 1.2;
  color: var(--green-dark);
}

h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.1rem; }

p {
  margin-bottom: 1rem;
  color: var(--black);
}

.section-label {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--green-mid);
  margin-bottom: 12px;
}

.section-intro {
  font-size: 1.1rem;
  color: var(--grey);
  max-width: 640px;
  line-height: 1.8;
}

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 28px;
  border-radius: 6px;
  cursor: pointer;
  transition: var(--transition);
  border: none;
}

.btn-gold {
  background: var(--gold);
  color: var(--green-dark);
}

.btn-gold:hover {
  background: var(--gold-hover);
  transform: translateY(-1px);
}

.btn-outline {
  background: transparent;
  color: var(--green-dark);
  border: 2px solid var(--green-dark);
}

.btn-outline:hover {
  background: var(--green-dark);
  color: var(--white);
}

.btn-white {
  background: var(--white);
  color: var(--green-dark);
}

.btn-white:hover {
  background: var(--cream);
}

/* ============================================
   Navigation
   ============================================ */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(30, 58, 43, 0.97);
  backdrop-filter: blur(10px);
  padding: 0 24px;
}

.nav-inner {
  max-width: var(--container-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-logo {
  font-family: 'Khand', sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: #ffffff !important;
  letter-spacing: 1px;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.nav-logo:hover {
  color: var(--gold) !important;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 0.3px;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--white);
}

.nav-links .btn-gold {
  padding: 8px 20px;
  font-size: 0.85rem;
}

/* Mobile hamburger */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  margin: 5px 0;
  transition: var(--transition);
}

/* ============================================
   Hero Section
   ============================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-size: 140%;
  background-position: calc(100% + 600px) center;
  background-color: var(--green-dark);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: none;
  z-index: 1;
}

.hero-overlay::before {
  background: rgba(30, 58, 43, 0.6) !important;
}

.hero-overlay h1 {
  color: #ffffff !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4) !important;
}

.hero-overlay .hero-text {
  color: rgba(255, 255, 255, 0.95) !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3) !important;
}

.hero .container {
  position: relative;
  z-index: 2;
  padding-left: 240px;
}

.hero h1 {
  color: var(--green-dark);
  margin-bottom: 8px;
  white-space: nowrap;
}

.hero h1 .accent {
  display: block;
  color: var(--gold);
}

.hero-text {
  color: var(--grey);
  font-size: 1.15rem;
  max-width: 560px;
  line-height: 1.8;
  margin-bottom: 32px;
}

.hero-badges {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 240px;
  margin-left: 0;
  position: relative;
  right: -355px;
}

.hero-badges img {
  height: 150px;
  width: 150px;
  object-fit: cover;
  border-radius: 50%;
  opacity: 0.95;
}

/* ============================================
   Content Sections
   ============================================ */
.section {
  padding: var(--section-padding);
}

.media-logos-wrapper {
  overflow: hidden;
  margin-bottom: 48px;
  padding: 20px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.media-logos-track {
  display: flex;
  align-items: center;
  gap: 48px;
  width: max-content;
  animation: scroll-logos 30s linear infinite;
}

.media-logos-track img {
  height: 40px;
}

@keyframes scroll-logos {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.section-bee {
  position: relative;
  background-image: url('../images/bee-bg-web.jpg');
  background-size: cover;
  background-position: center;
}

.section-bee::before {
  content: '';
  position: absolute;
  inset: 0;
  background: none;
  z-index: 0;
}

.section-bee .container {
  position: relative;
  z-index: 1;
}

.section-cream {
  background: var(--cream);
}

.section-made {
  position: relative;
  background-image: url('../images/made-bg.jpg');
  background-size: 100%;
  background-position: center;
  background-repeat: no-repeat;
}

.section-made::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0);
  z-index: 0;
}

.section-made .container {
  position: relative;
  z-index: 1;
}

.section-green {
  background: var(--green-dark);
  color: var(--white);
}

.section-green h2,
.section-green h3,
.section-green h4 {
  color: var(--white);
}

.section-green p {
  color: rgba(255, 255, 255, 0.85);
}

.section-green .section-label {
  color: var(--green-light);
}

/* Two-column layout */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

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

/* ---- Stat Cards ---- */
.stat {
  text-align: center;
  padding: 32px 24px;
}

.stat-value {
  font-family: var(--font-heading);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--green-dark);
  margin-bottom: 8px;
}

.stat-desc {
  font-size: 0.85rem;
  color: var(--grey);
  line-height: 1.6;
}

.section-green .stat-label {
  color: var(--white);
}

.section-green .stat-desc {
  color: rgba(255, 255, 255, 0.7);
}

/* ---- Card styles ---- */
.card {
  background: var(--white);
  border-radius: 12px;
  padding: 36px 28px;
  transition: var(--transition);
}

.card:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

/* ---- Ingredient grid ---- */
.section-bee .section-label,
.section-bee h2,
.section-bee .section-intro {
  position: relative;
  z-index: 1;
}

.section-bee-heading {
  display: inline-block;
  background: rgba(255, 255, 255, 0.9);
  padding: 16px 32px;
  border-radius: 12px;
  margin-bottom: 8px;
}

.ingredient-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 24px;
  text-align: center;
  align-items: start;
}

.ingredient-item {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 12px;
  padding: 20px 12px;
}

.ingredient-item img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto 12px;
}

.ingredient-item h4 {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.ingredient-item p {
  font-size: 0.8rem;
  color: var(--grey);
}

/* ---- Ingredients Layout ---- */
.ingredients-layout {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}

.ingredients-left {
  flex: 0 0 35%;
  display: flex;
  align-items: center;
  min-height: 100%;
}

.ingredients-right {
  flex: 0 0 60%;
}

.ingredients-top-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-auto-rows: 1fr;
  gap: 12px;
  margin-bottom: 12px;
  align-items: stretch;
}

.ingredients-top-row .section-bee-heading {
  flex: 1;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ingredients-top-row .nip-panel {
  padding: 16px 32px;
  max-width: none;
  height: 100%;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.ingredients-top-row .section-bee-heading {
  height: 100%;
}

.ingredients-top-row {
  align-items: stretch;
}

.ingredients-top-row .nip-compact .nip-table {
  font-size: 0.62rem;
  margin-top: 4px;
}

.ingredients-top-row .nip-compact .nip-table thead th,
.ingredients-top-row .nip-compact .nip-table tbody td {
  padding: 2px 6px;
}

.ingredients-top-row .nip-compact .nip-title {
  font-size: 0.7rem;
  margin-bottom: 2px;
}

.ingredients-top-row .nip-compact .nip-servings {
  font-size: 0.65rem;
  margin-bottom: 6px;
}

.ingredient-grid-compact {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  text-align: center;
  margin-bottom: 16px;
}

.ingredient-item-sm {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 10px;
  padding: 12px 8px;
}

.ingredient-item-sm img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto 6px;
  display: block;
}

.ingredient-item-sm h4 {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.ingredient-item-sm p {
  font-size: 0.65rem;
  color: var(--grey);
}

.nip-compact {
  max-width: 100%;
}

.nip-compact .nip-title {
  font-size: 0.75rem;
}

.nip-compact .nip-servings {
  font-size: 0.7rem;
}

.nip-compact .nip-table {
  font-size: 0.7rem;
}

.nip-compact .nip-table thead th {
  font-size: 0.65rem;
}

/* ---- NIP Table ---- */
.nip-wrapper {
  display: flex;
  justify-content: center;
}

.nip-panel {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 12px;
  padding: 28px 32px;
  max-width: 420px;
  width: 100%;
  text-align: left;
}

.nip-title {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--green-dark);
}

.nip-servings {
  font-size: 0.8rem;
  color: var(--black);
  margin-bottom: 2px;
}

.nip-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8rem;
  margin-top: 12px;
}

.nip-table thead th {
  font-weight: 600;
  text-align: right;
  padding: 6px 8px;
  border-bottom: 1px solid var(--green-dark);
  font-size: 0.75rem;
}

.nip-table thead th:first-child {
  text-align: left;
}

.nip-table tbody td {
  padding: 5px 8px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.nip-table tbody td:first-child {
  text-align: left;
  font-weight: 500;
}

.nip-table tbody td:nth-child(2),
.nip-table tbody td:nth-child(3) {
  text-align: right;
}

.nip-table .nip-indent td:first-child {
  padding-left: 16px;
  font-weight: 400;
  color: var(--grey);
}

/* ---- Awards row ---- */
.awards-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}

.award-item {
  text-align: center;
}

.award-item img {
  height: 80px;
  width: auto;
  margin: 0 auto 12px;
}

.award-item p {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--grey);
}

/* ---- News cards ---- */
.news-card {
  background: var(--white);
  border-radius: 12px;
  padding: 28px 24px;
  border: 1px solid rgba(90, 124, 94, 0.1);
  transition: var(--transition);
}

.news-card:hover {
  border-color: var(--green-mid);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
}

a.news-card {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.news-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--green-mid);
  margin-bottom: 12px;
}

.news-card h3 {
  margin-bottom: 12px;
}

.news-card p {
  font-size: 0.9rem;
  color: var(--grey);
}

.news-meta {
  font-size: 0.8rem;
  color: var(--grey-light);
  margin-top: 16px;
}

/* ============================================
   CTA Banner
   ============================================ */
.cta-banner {
  background: var(--green-dark);
  padding: 80px 0;
  text-align: center;
}

.cta-banner h2 {
  color: var(--white);
  margin-bottom: 16px;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.8);
  max-width: 540px;
  margin: 0 auto 32px;
}

/* ============================================
   Footer
   ============================================ */
.site-footer {
  background: var(--black);
  color: rgba(255, 255, 255, 0.6);
  padding: 60px 0 32px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand img {
  height: 28px;
  margin-bottom: 16px;
}

.footer-logo-text {
  font-family: 'Khand', sans-serif;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  display: block;
  margin-bottom: 16px;
  letter-spacing: 1px;
}

.footer-brand p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
}

.footer-nav h4 {
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

.footer-nav ul {
  list-style: none;
}

.footer-nav ul li {
  margin-bottom: 10px;
}

.footer-nav ul a {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-nav ul a:hover {
  color: var(--white);
}

.footer-social {
  display: flex;
  gap: 16px;
  margin-top: 16px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--gold);
}

.footer-social img {
  width: 16px;
  height: 16px;
  filter: brightness(0) invert(1);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.4);
  text-align: center;
}

/* ============================================
   Page-specific: Buy Now
   ============================================ */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--white);
  border: 2px solid rgba(90, 124, 94, 0.15);
  border-radius: 12px;
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition);
}

.pricing-card.featured {
  border-color: var(--gold);
  transform: scale(1.03);
}

.pricing-card:hover {
  border-color: var(--green-mid);
}

.pricing-qty {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--green-dark);
}

.pricing-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--gold);
  margin: 8px 0;
}

.pricing-unit {
  font-size: 0.85rem;
  color: var(--grey);
  margin-bottom: 20px;
}

/* ============================================
   Page-specific: Contact
   ============================================ */
.contact-form {
  max-width: 560px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--black);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid rgba(90, 124, 94, 0.2);
  border-radius: 6px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--black);
  background: var(--white);
  transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--green-mid);
  box-shadow: 0 0 0 3px rgba(90, 124, 94, 0.1);
}

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

/* ============================================
   Responsive — tablets, phones, small phones
   The hero + "What is Mīti" sections on index.html use absolute positioning
   with calc(50% - Xpx) offsets and fixed translateX() values that overflow
   narrow viewports. These overrides use !important on purpose to defeat the
   inline styles; HTML edits would be cleaner but CSS-only keeps the 5 pages
   in sync through the one shared stylesheet.
   ============================================ */

/* ---- Tablet + below: collapse the absolute-positioned hero + image overlays ---- */
@media (max-width: 900px) {
  :root {
    --section-padding: 72px 0;
  }

  /* Hero — flow content naturally instead of absolute overlay card */
  .hero {
    min-height: auto !important;
    background-size: cover !important;
    background-position: center center !important;
  }
  .hero .container {
    padding: 96px 20px 48px !important;
    display: block !important;
    flex-wrap: nowrap !important;
  }
  .hero .container > div:first-of-type {
    position: static !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    transform: none !important;
    width: 100% !important;
    padding: 24px !important;
    border-radius: 10px !important;
    background: rgba(255, 255, 255, 0.94) !important;
  }
  /* Kill the right-side spacer (forces 760px of empty space on mobile) */
  .hero .container > div[aria-hidden="true"] {
    display: none !important;
  }
  .hero h1 {
    white-space: normal !important;
  }
  .hero h1 .accent {
    display: block;
    margin-top: 4px;
  }
  .hero-text {
    font-size: 1rem !important;
  }
  .hero .container img[alt*="Award"],
  .hero .container img[alt*="Fieldays"] {
    height: 92px !important;
    width: 92px !important;
  }

  /* "What is Mīti" section — image + copy were absolute-positioned; stack them */
  .section-cream[style*="padding: 0"] {
    padding: 0 !important;
    min-height: auto !important;
  }
  .section-cream > div[style*="position: absolute"] {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    width: 100% !important;
    height: 260px !important;
  }
  .section-cream .container {
    display: block !important;
    min-height: 0 !important;
    padding: 40px 20px !important;
  }
  .section-cream .container > div[style*="translateX"] {
    transform: none !important;
    width: 100% !important;
  }
  .section-cream .container > div[style*="width: min(500px"] {
    transform: none !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  /* Ingredients — stack left/right blocks, collapse the 2-col top row */
  .ingredients-layout {
    flex-direction: column !important;
    gap: 24px !important;
  }
  .ingredients-left,
  .ingredients-right {
    flex: 1 1 100% !important;
    width: 100% !important;
  }
  .ingredients-top-row {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  /* Science-banner headline sized down */
  .section-green h2[style*="font-size: 2rem"] {
    font-size: 1.5rem !important;
  }
}

/* ---- Phone (≤768) — stacking, mobile nav, badge sizes ---- */
@media (max-width: 768px) {
  :root {
    --section-padding: 56px 0;
  }

  .container {
    padding: 0 20px;
  }

  .grid-2 {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 320px;
  }

  /* Inline-styled stat grids on science/about pages */
  .card [style*="grid-template-columns: repeat(4"] {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 16px !important;
  }
  .card [style*="grid-template-columns: repeat(3"] {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  /* Mobile nav — hamburger reveals slide-down menu */
  .site-nav {
    padding: 0 20px;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--green-dark);
    flex-direction: column;
    align-items: stretch;
    padding: 20px 24px 28px;
    gap: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }
  .nav-links.open {
    display: flex;
  }
  .nav-links a {
    font-size: 1rem;
    padding: 6px 0;
  }
  .nav-links .btn-gold {
    text-align: center;
    padding: 12px 20px;
    margin-top: 4px;
  }
  .nav-toggle {
    display: block;
  }

  /* Hero — tighten padding + CTA row */
  .hero .container {
    padding: 88px 16px 40px !important;
  }
  .hero .container > div:first-of-type > div[style*="flex-direction: row"] {
    gap: 10px !important;
    margin-top: 20px !important;
  }
  .hero .container img[alt*="Award"],
  .hero .container img[alt*="Fieldays"] {
    height: 78px !important;
    width: 78px !important;
  }
  .hero .container > div:first-of-type > div[style*="flex-wrap: wrap"] {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
  }

  /* Legacy hero-badges pattern (other pages) */
  .hero-badges {
    gap: 12px;
    right: auto !important;
    margin-top: 24px !important;
  }
  .hero-badges img {
    height: 110px;
    width: 110px;
  }

  .awards-row {
    gap: 20px;
  }

  /* Ingredients — 3 → 2 cols */
  .ingredient-grid,
  .ingredient-grid-compact {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 10px !important;
  }

  /* CTA banner — buttons stack full-width */
  .cta-banner .btn {
    width: 100%;
    max-width: 280px;
    text-align: center;
  }

  .news-card h3 {
    font-size: 1.05rem !important;
  }

  .footer-logo-text {
    font-size: 2rem !important;
  }
}

/* ---- Small phone (≤480) — tightest sizing + single-col ingredients ---- */
@media (max-width: 480px) {
  .hero .container {
    padding: 84px 14px 32px !important;
  }
  .hero h1 {
    font-size: clamp(1.75rem, 7.5vw, 2.2rem) !important;
  }
  .hero .container img[alt*="Award"],
  .hero .container img[alt*="Fieldays"] {
    height: 68px !important;
    width: 68px !important;
  }

  .ingredient-grid,
  .ingredient-grid-compact {
    grid-template-columns: 1fr !important;
  }

  /* Ingredient rows — horizontal layout when one per row */
  .ingredient-item-sm {
    display: flex !important;
    align-items: center;
    gap: 12px;
    text-align: left !important;
    padding: 10px 12px !important;
  }
  .ingredient-item-sm img {
    width: 48px !important;
    height: 48px !important;
    margin: 0 !important;
    flex-shrink: 0;
  }
  .ingredient-item-sm h4,
  .ingredient-item-sm p {
    font-size: 0.8rem !important;
  }

  /* Inline stat grids on science page → single column */
  .card [style*="grid-template-columns: repeat(4"],
  .card [style*="grid-template-columns: repeat(3"] {
    grid-template-columns: 1fr !important;
  }

  .section-label {
    font-size: 0.7rem;
    letter-spacing: 1.5px;
  }
}
