/* ════════════════════════════════════════════════════════════
   FERMA PAGE — ferma.html
   ════════════════════════════════════════════════════════════ */

/* ── Active nav link ── */
.nav-active {
  color: var(--color-accent) !important;
}

/* ════ HERO ════ */
.fh-hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  padding-bottom: 10vh;
}

#fermaCanvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.fh-hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to top, rgba(12,11,9,0.88) 0%, rgba(12,11,9,0.35) 50%, rgba(12,11,9,0.45) 100%);
  z-index: 1;
}

.fh-hero__content {
  position: relative;
  z-index: 2;
  padding: 0 clamp(2rem, 6vw, 7rem);
  max-width: 760px;
}

.fh-hero__eyebrow {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 1.2rem;
  display: block;
}

.fh-hero__title {
  font-family: var(--font-disp);
  font-size: clamp(2.8rem, 7vw, 6rem);
  font-weight: 700;
  line-height: 1.05;
  color: #f2ede6;
  margin-bottom: 1.4rem;
}

.fh-hero__title em {
  font-style: italic;
  color: var(--color-accent);
}

.fh-hero__sub {
  font-family: var(--font-body);
  font-size: clamp(0.95rem, 1.4vw, 1.05rem);
  line-height: 1.8;
  color: rgba(242,237,230,0.65);
  margin-bottom: 2.4rem;
  max-width: 480px;
}

.fh-hero__cta {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  border-bottom: 1px solid rgba(200,169,110,0.4);
  padding-bottom: 4px;
  transition: border-color 0.25s, color 0.25s;
}

.fh-hero__cta:hover {
  color: #f2ede6;
  border-color: rgba(242,237,230,0.4);
}

.fh-hero__scroll {
  position: absolute;
  bottom: 32px;
  right: clamp(2rem, 4vw, 4rem);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.fh-hero__scroll-line {
  display: block;
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, transparent, var(--color-accent));
  animation: scrollPulse 2s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; transform: scaleY(0.6); transform-origin: top; }
  50%       { opacity: 1;   transform: scaleY(1);   transform-origin: top; }
}

.fh-hero__scroll-label {
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(242,237,230,0.35);
  writing-mode: vertical-rl;
}

/* ════ ABOUT ════ */
.fh-about {
  background: var(--color-bg);
  padding: clamp(80px, 10vw, 140px) clamp(2rem, 6vw, 7rem);
}

.fh-about__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: clamp(3rem, 6vw, 8rem);
  align-items: start;
}

.fh-about__heading {
  font-family: var(--font-disp);
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--color-text);
  margin: 1rem 0 2rem;
}

.fh-about__heading em {
  font-style: italic;
  color: var(--color-accent);
}

.fh-about__line {
  width: 50px;
  height: 1px;
  background: #8B1A1A;
}

.fh-about__body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.85;
  color: #b0a898;
  margin-bottom: 1.4rem;
}

.fh-about__stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
}

.fh-about__stat {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.fh-about__stat-num {
  font-family: var(--font-disp);
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--color-text);
  line-height: 1;
}

.fh-about__stat-lbl {
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-muted);
}

/* ════ FRESHNESS ════ */
.fh-fresh {
  background: var(--color-surface);
  padding: clamp(80px, 10vw, 140px) clamp(2rem, 6vw, 7rem);
}

.fh-fresh__inner {
  max-width: 1200px;
  margin: 0 auto;
}

.fh-fresh__header {
  margin-bottom: clamp(3rem, 5vw, 5rem);
}

.fh-fresh__heading {
  font-family: var(--font-disp);
  font-size: clamp(2rem, 4.5vw, 3.6rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--color-text);
  margin-top: 1rem;
}

.fh-fresh__heading em {
  font-style: italic;
  color: var(--color-accent);
}

.fh-fresh__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--color-border);
}

.fh-fresh__card {
  background: var(--color-surface);
  padding: 2.5rem;
  position: relative;
  transition: background 0.3s;
}

.fh-fresh__card:hover {
  background: var(--color-surface2);
}

.fh-fresh__card-num {
  font-family: var(--font-disp);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  color: rgba(139, 26, 26, 0.15);
  line-height: 1;
  margin-bottom: 1.2rem;
}

.fh-fresh__card-title {
  font-family: var(--font-disp);
  font-size: clamp(1.1rem, 1.6vw, 1.4rem);
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.9rem;
  line-height: 1.2;
}

.fh-fresh__card-body {
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.8;
  color: var(--color-muted);
}

/* ════ VALUES ════ */
.fh-values {
  background: #150A0A;
  padding: clamp(80px, 10vw, 140px) clamp(2rem, 6vw, 7rem);
}

.fh-values__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(3rem, 6vw, 8rem);
  align-items: center;
}

.fh-values__heading {
  font-family: var(--font-disp);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.1;
  color: var(--color-text);
  margin: 1rem 0 1.5rem;
}

.fh-values__heading em {
  font-style: italic;
  color: var(--color-accent);
}

.fh-values__body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.85;
  color: #b0a898;
  margin-bottom: 2rem;
}

.fh-values__list {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.fh-values__item {
  font-family: var(--font-body);
  font-size: 14px;
  color: rgba(242,237,230,0.7);
  display: flex;
  align-items: center;
  gap: 12px;
  line-height: 1.5;
}

.fh-values__item-dot {
  flex-shrink: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #8B1A1A;
}

.fh-values__image {
  position: relative;
}

.fh-values__img-placeholder {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: 4px;
}

.fh-values__img-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  width: 100px;
  height: 100px;
  background: #8B1A1A;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

.fh-values__badge-num {
  font-family: var(--font-disp);
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}

.fh-values__badge-lbl {
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
}

/* ════ FACTS STRIP ════ */
.fh-facts {
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: clamp(3rem, 5vw, 5rem) clamp(2rem, 6vw, 7rem);
}

.fh-facts__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.fh-facts__stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}

.fh-facts__num {
  font-family: var(--font-disp);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--color-text);
  line-height: 1;
}

.fh-facts__lbl {
  font-family: var(--font-body);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-muted);
}

.fh-facts__divider {
  width: 1px;
  height: 48px;
  background: var(--color-border);
  flex-shrink: 0;
}

/* ════ RESPONSIVE ════ */
@media (max-width: 900px) {
  .fh-about__inner,
  .fh-values__inner {
    grid-template-columns: 1fr;
  }

  .fh-fresh__grid {
    grid-template-columns: 1fr 1fr;
  }

  .fh-values__img-placeholder {
    aspect-ratio: 16 / 9;
  }

  .fh-values__img-badge {
    bottom: -12px;
    left: 12px;
  }

  .fh-facts__inner {
    flex-wrap: wrap;
    justify-content: center;
    gap: 2.5rem;
  }

  .fh-facts__divider { display: none; }
}

@media (max-width: 600px) {
  .fh-fresh__grid {
    grid-template-columns: 1fr;
  }

  .fh-about__stats {
    gap: 1.5rem;
    flex-wrap: wrap;
  }

  .fh-hero__scroll { display: none; }
}
