/*
  style.css — Gafman Food
  Cleanup changelog:
  - Removed unused variables: --deep-green-2, --deep-green-3, --cream-2, --mint-2
  - Added --gradient-dark shared gradient used by suppliers, products section, and footer
  - Now using --radius-md and --radius-lg everywhere instead of raw 18px / 22px literals
  - Replaced hardcoded colors (#102826, #777f7b, #17312d, #112b27) with design tokens
  - Removed no-op declarations: border-top: none on .section--cream / .section--dark, margin-top: 0 on .features
  - Merged duplicate .kicker / .section-kicker selector pair into a single .kicker rule
  - Removed Font Awesome stylesheet (icon replaced with inline SVG in HTML)
*/

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

:root {
  --deep-green:     #0b3b34;
  --cream:          #f7f4ef;
  --white:          #ffffff;
  --text:           #122926;
  --muted:          #6d736f;
  --mint:           #dcefed;
  --accent-green:   #66b8b2;
  --blue-accent:    #89b4cf;
  --border-soft:    rgba(17, 43, 39, 0.07);
  --shadow-sm:      0 10px 24px rgba(17, 24, 22, 0.04);
  --shadow-md:      0 18px 42px rgba(18, 29, 26, 0.08);
  --shadow-lg:      0 22px 50px rgba(8, 27, 24, 0.16);
  --radius-xl:      30px;
  --radius-lg:      22px;
  --radius-md:      18px;

  /* Shared dark gradient — used by .suppliers-wrap, .section--dark, and .footer */
  --gradient-dark: linear-gradient(135deg, #062f2a 0%, #0b3b34 55%, #123f38 100%);
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  background: var(--cream);
  color: var(--text);
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

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

/* ─── Layout ─────────────────────────────────────────────────────────────── */

.page-width {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}

.section {
  padding: 96px 0;
  position: relative;
}

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

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

/* ─── Brand ──────────────────────────────────────────────────────────────── */

.brand {
  font-family: "Cormorant Garamond", serif;
  font-size: 38px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.brand--light,
.brand--footer {
  color: var(--white);
}

/* ─── Hero ───────────────────────────────────────────────────────────────── */

.hero {
  min-height: 100vh;
  position: relative;
  color: var(--white);
  background:
    linear-gradient(
      90deg,
      rgba(6, 47, 42, 0.95) 0%,
      rgba(6, 47, 42, 0.85) 18%,
      rgba(6, 47, 42, 0.55) 35%,
      rgba(6, 47, 42, 0.15) 55%,
      rgba(6, 47, 42, 0.02) 75%
    ),
    url("assets/hero-cheese-bg.png") right center / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(6, 47, 42, 0.08), rgba(6, 47, 42, 0.12));
  pointer-events: none;
}

.hero__nav-wrap {
  padding-top: 20px;
  position: relative;
  z-index: 3;
}

/* ─── Navbar ─────────────────────────────────────────────────────────────── */

.navbar {
  min-height: 72px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.92);
  font-size: 15px;
  font-weight: 500;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-links a:hover {
  opacity: 1;
  transform: translateY(-1px);
}

.portal-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.12);
  cursor: pointer;
  padding: 0;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  margin: 5px auto;
  transition: 0.25s ease;
}

.menu-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ─── Hero panel ─────────────────────────────────────────────────────────── */

.hero__panel {
  min-height: calc(100vh - 92px);
  display: flex;
  align-items: center;
  position: relative;
  z-index: 2;
}

.hero__inner {
  display: flex;
  align-items: center;
  min-height: inherit;
}

.hero__content {
  max-width: 640px;
  transform: translateY(-34px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 9px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 22px;
}

.hero__content h1 {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(64px, 7vw, 92px);
  line-height: 0.95;
  margin: 0 0 24px;
  font-weight: 600;
  max-width: 10.5ch;
  text-wrap: balance;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.22);
}

.hero__content h1 span {
  display: block;
  font-style: italic;
  color: var(--accent-green);
}

.hero__content p {
  margin: 0 0 28px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
  line-height: 1.7;
  max-width: 32rem;
}

/* ─── Button ─────────────────────────────────────────────────────────────── */

.button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--mint);
  color: var(--deep-green);
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 700;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
  transform: translateY(-1px);
  box-shadow: 0 16px 26px rgba(0, 0, 0, 0.14);
}

.button i[data-lucide] {
  width: 18px;
  height: 18px;
  stroke-width: 2.2;
}

/* ─── Story ──────────────────────────────────────────────────────────────── */

.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(0, 1.04fr);
  gap: 56px;
  align-items: stretch;
}

.story-image {
  display: flex;
}

.story-image img {
  width: 100%;
  height: 100%;
  min-height: 640px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.story-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  max-width: 540px;
}

/* ─── Kicker (unified — was duplicate .kicker + .section-kicker) ──────────── */

.kicker {
  display: inline-block;
  margin-bottom: 12px;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #6c8f88;
  font-weight: 700;
}

.kicker--light {
  color: rgba(255, 255, 255, 0.72);
}

/* ─── Section headings ───────────────────────────────────────────────────── */

.story-content h2,
.suppliers-head h2,
.quality__heading h2,
.section-line-title h2 {
  margin: 0 0 18px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(36px, 4vw, 52px);
  line-height: 1.02;
}

/* On light backgrounds these headings use the dark text token */
.story-content h2,
.quality__heading h2 {
  color: var(--text);
}

.lead {
  margin: 0 0 16px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(24px, 2.3vw, 34px);
  line-height: 1.18;
  color: var(--deep-green);
}

.sub {
  margin: 0 0 30px;
  font-size: 15px;
  line-height: 1.72;
  color: var(--muted);
}

/* ─── Stats ──────────────────────────────────────────────────────────────── */

.stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 16px;
}

.stats div {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 16px;
  box-shadow: var(--shadow-sm);
}

.stats strong {
  display: block;
  margin-bottom: 6px;
  font-size: 17px;
  line-height: 1.1;
  color: var(--deep-green);
}

.stats span {
  display: block;
  font-size: 13px;
  line-height: 1.5;
  color: var(--muted);
}

/* ─── Features ───────────────────────────────────────────────────────────── */

.features {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.feature {
  background: var(--white);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.feature h3 {
  margin: 0 0 8px;
  font-size: 20px;
  line-height: 1.15;
  color: var(--deep-green);
}

.feature p {
  margin: 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

/* ─── Suppliers ──────────────────────────────────────────────────────────── */

.suppliers {
  padding-top: 0;
  padding-bottom: 90px;
}

.suppliers-wrap {
  border-radius: var(--radius-xl);
  background: var(--gradient-dark);
  padding: 34px;
  box-shadow: var(--shadow-lg);
}

.suppliers-head {
  max-width: 760px;
  margin-bottom: 28px;
}

.suppliers-head h2 {
  color: var(--white);
}

.suppliers-head p {
  margin: 0;
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.82);
}

.suppliers-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.supplier-item {
  display: grid;
  grid-template-columns: 150px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  min-height: 180px;
  background: rgba(255, 255, 255, 0.96);
  border-radius: var(--radius-lg);
  padding: 18px;
  box-shadow: 0 12px 28px rgba(9, 18, 17, 0.12);
}

.supplier-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 118px;
  border-radius: var(--radius-md);
  background: linear-gradient(180deg, var(--white), #f5f7f6);
  padding: 16px;
}

.supplier-logo img {
  width: 100%;
  max-width: 120px;
  max-height: 90px;
  object-fit: contain;
}

.supplier-info h3 {
  margin: 0 0 8px;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: 28px;
  line-height: 1.05;
  color: var(--deep-green);
}

.supplier-info p {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
}

.supplier-info a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(189, 236, 235, 0.7);
  color: #2f6770;
  font-size: 13px;
  font-weight: 700;
}

/* ─── Products ───────────────────────────────────────────────────────────── */

.products__heading {
  margin-bottom: 28px;
}

.products__heading p {
  margin: 6px 0 0;
  font-size: 18px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.84);
  max-width: 48rem;
}

.section-line-title {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 32px 0 22px;
}

.section-line-title h2 {
  color: var(--white);
  white-space: nowrap;
  margin: 0;
  font-size: clamp(30px, 3vw, 40px);
}

.section-line-title span {
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.2);
}

.products__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.product-card {
  background: rgba(255, 255, 255, 0.96);
  color: var(--text);
  padding: 22px;
  border-radius: var(--radius-md);
  box-shadow: 0 12px 28px rgba(9, 18, 17, 0.12);
}

.product-card h3 {
  margin: 0 0 12px;
  font-size: 24px;
  font-family: "Cormorant Garamond", serif;
}

.product-card ul {
  margin: 0;
  padding-left: 18px;
  line-height: 1.8;
}

.icon-badge {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(11, 59, 52, 0.08);
  color: var(--deep-green);
  margin-bottom: 14px;
}

.icon-badge i[data-lucide] {
  width: 24px;
  height: 24px;
  stroke-width: 2;
}

/* ─── Local product ──────────────────────────────────────────────────────── */

.local-product {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.95fr);
  gap: 28px;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  padding: 22px;
  border-radius: var(--radius-lg);
  margin-top: 18px;
}

.local-product h3 {
  margin: 0 0 12px;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(28px, 2.6vw, 38px);
  color: var(--white);
}

.local-product p {
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.7;
}

.local-product__image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: var(--radius-md);
}

/* ─── Quality ────────────────────────────────────────────────────────────── */

.quality__heading {
  max-width: 760px;
  margin-bottom: 28px;
}

.quality__heading p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
  font-size: 17px;
}

.quality__icon {
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(11, 59, 52, 0.08);
  color: var(--deep-green);
  margin-bottom: 16px;
}

.quality__icon i[data-lucide] {
  width: 30px;
  height: 30px;
  stroke-width: 2;
}

.quality__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.quality-card {
  background: var(--white);
  padding: 22px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.quality-card h3 {
  margin: 0 0 10px;
  font-size: 22px;
  font-family: "Cormorant Garamond", serif;
}

.quality-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.quality-card__icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(11, 59, 52, 0.08);
  color: var(--deep-green);
  margin-bottom: 14px;
}

.quality-card__icon i[data-lucide] {
  width: 24px;
  height: 24px;
  stroke-width: 2;
}

/* ─── Footer ─────────────────────────────────────────────────────────────── */

.footer {
  background: var(--gradient-dark);
  color: var(--white);
  padding: 70px 0 50px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 0.85fr;
  gap: 40px;
}

.footer__brand .brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
}

.brand--footer i[data-lucide] {
  width: 26px;
  height: 26px;
  color: #2b7da0;
  stroke-width: 2;
}

.footer p {
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.7;
  max-width: 26rem;
}

.social-link {
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.16);
  color: var(--blue-accent);
  margin-top: 18px;
}

.footer h3 {
  margin: 0 0 18px;
  font-size: 15px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer__contact ul,
.footer__links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer__contact li,
.footer__links li {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.6;
}

.footer__contact i[data-lucide] {
  width: 20px;
  height: 20px;
  color: var(--white);
  flex: 0 0 auto;
  margin-top: 2px;
  stroke-width: 2;
}

.footer__links a {
  color: rgba(255, 255, 255, 0.9);
}

/* ─── Scroll reveal ──────────────────────────────────────────────────────── */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Responsive ─────────────────────────────────────────────────────────── */

@media (max-width: 1100px) {
  .story-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .story-content {
    max-width: none;
  }

  .suppliers-list,
  .quality__grid,
  .products__grid,
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }

  .local-product {
    grid-template-columns: 1fr;
  }

  .footer__links {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  .menu-toggle {
    display: inline-block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 78px;
    left: 20px;
    right: 20px;
    background: rgba(6, 47, 42, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 16px;
    z-index: 10;
  }

  .nav-links.is-open {
    display: flex;
  }

  .portal-link {
    justify-content: center;
  }

  .hero {
    background:
      linear-gradient(to top, rgba(6, 47, 42, 0.95), rgba(6, 47, 42, 0.7)),
      url("assets/hero-cheese-bg.png") center / cover no-repeat;
  }

  .hero__panel {
    min-height: auto;
    padding: 70px 0 92px;
  }

  .hero__content {
    transform: none;
    max-width: 100%;
  }

  .hero__content h1 {
    max-width: 8.5ch;
    font-size: clamp(50px, 12vw, 64px);
    line-height: 0.98;
  }

  .suppliers-list,
  .products__grid,
  .quality__grid,
  .footer__grid,
  .stats,
  .features {
    grid-template-columns: 1fr;
  }

  .story-image img {
    min-height: 0;
    height: 420px;
  }

  .supplier-item {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .suppliers-wrap {
    padding: 24px;
  }
}

@media (max-width: 560px) {
  .page-width {
    width: min(1200px, calc(100% - 28px));
  }

  .section {
    padding: 72px 0;
  }

  .brand {
    font-size: 26px;
  }

  .hero__content h1 {
    font-size: 52px;
  }

  .hero__content p,
  .products__heading p,
  .suppliers-head p,
  .quality__heading p {
    font-size: 16px;
  }

  .story-image img {
    height: 300px;
  }

  .suppliers-wrap {
    border-radius: var(--radius-lg);
    padding: 18px;
  }

  .supplier-item,
  .product-card,
  .quality-card,
  .feature {
    padding: 16px;
  }

  .supplier-info h3 {
    font-size: 24px;
  }

  .section-line-title {
    flex-wrap: wrap;
    gap: 10px;
  }

  .section-line-title span {
    width: 100%;
    flex-basis: 100%;
  }

  .local-product__image {
    height: 220px;
  }
}