/* =====================================================================
   SAORI FOOD — ¿Quiénes Somos? (nosotros)
   Scoped under #nosotros / .nosotros__* to avoid collisions.
   ===================================================================== */

#nosotros {
  overflow: clip;
}

#nosotros .nosotros__blob {
  width: clamp(360px, 42vw, 620px);
  height: clamp(360px, 42vw, 620px);
  top: -14%;
  right: -10%;
  opacity: .34;
}

#nosotros .nosotros__split {
  position: relative;
  z-index: 1;
}

/* ---------- Text column ---------- */
#nosotros .nosotros__title {
  margin-top: .55rem;
}

#nosotros .nosotros__copy {
  margin-top: clamp(1.4rem, 1rem + 1.4vw, 2rem);
  max-width: 54ch;
  color: var(--ink-soft);
}

#nosotros .nosotros__copy strong {
  color: var(--ink);
}

/* Channel chips */
#nosotros .nosotros__chips {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  margin-top: clamp(1.8rem, 1.2rem + 2vw, 2.6rem);
}

#nosotros .nosotros__chips .chip {
  transition: transform var(--dur-2) var(--ease-out-quint),
              box-shadow var(--dur-2) var(--ease-out-quint),
              border-color var(--dur-2) var(--ease-out-quint);
}

#nosotros .nosotros__chips .chip:hover {
  transform: translateY(-3px);
  box-shadow: var(--sh-2);
  border-color: var(--line-gold);
}

#nosotros .nosotros__chips .chip svg {
  width: 1.1em;
  height: 1.1em;
}

/* ---------- Media column ---------- */
#nosotros .nosotros__media {
  position: relative;
}

#nosotros .nosotros__frame {
  aspect-ratio: 4 / 5;
  border-radius: var(--r-xl);
}

#nosotros .nosotros__frame::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border-radius: inherit;
  box-shadow: var(--sh-inset);
  background: linear-gradient(180deg, transparent 55%,
              color-mix(in oklab, var(--ink-900) 22%, transparent));
}

#nosotros .nosotros__img {
  /* extra height so the parallax shift never reveals an edge */
  height: 118%;
  margin-top: -9%;
}

#nosotros .nosotros__media:hover .nosotros__img {
  transform: scale(1.05);
}

/* ---------- Floating stat card ---------- */
#nosotros .nosotros__stat {
  position: absolute;
  left: clamp(-.5rem, -2vw, -1.6rem);
  bottom: clamp(-1rem, -2vw, -1.6rem);
  z-index: 2;
  display: grid;
  gap: .25rem;
  padding: clamp(1.1rem, .9rem + 1vw, 1.5rem) clamp(1.3rem, 1rem + 1.4vw, 1.9rem);
  border-radius: var(--r-lg);
  background: var(--surface);
  box-shadow: var(--sh-3);
  border-color: var(--line-gold);
}

#nosotros .nosotros__stat-num {
  font-family: var(--font-display);
  font-weight: 540;
  font-size: var(--step-4);
  line-height: 1;
  color: var(--primary-strong);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

#nosotros .nosotros__stat-label {
  font-size: var(--step--1);
  font-weight: 600;
  color: var(--ink-soft);
  max-width: 14ch;
}

#nosotros .nosotros__stat-rule {
  margin-top: .55rem;
  height: 2px;
  width: 42px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--gold-500), transparent);
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  /* media first reads better stacked under the intro on tablet/mobile */
  #nosotros .nosotros__frame { aspect-ratio: 4 / 3; }
  #nosotros .nosotros__stat {
    left: auto;
    right: clamp(.5rem, 3vw, 1.2rem);
    bottom: clamp(-1rem, -3vw, -1.4rem);
  }
}

@media (max-width: 480px) {
  #nosotros .nosotros__frame { aspect-ratio: 5 / 4; border-radius: var(--r-lg); }
  #nosotros .nosotros__stat {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    text-align: center;
    justify-items: center;
  }
  #nosotros .nosotros__stat-label { max-width: none; }
  #nosotros .nosotros__chips .chip { font-size: var(--step--2); }
}
