/* ============================================================
   FoodXade - Reglas exclusivas de la pagina Quienes Somos.
   Se carga DESPUES de css/styles.css (compartido por todas las
   paginas) y aporta los bloques propios de quienes-somos:
   hero propio, valores, mision/vision/valores (mvv) y equipo.
   ============================================================ */

.hero-copy {
  position: relative;
  text-align: left;
  max-width: min(600px, 52%);
}

.software-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(40px, 6vw, 72px);
  align-items: center;
}

.software-mockup {
  position: relative;
  padding: 10px 26px 26px 0;
}

.quienes-hero {
  padding-bottom: clamp(24px, 3vw, 40px);
}

.page-hero-copy {
  max-width: 760px;
  margin-inline: auto;
  text-align: center;
}

.quienes-hero .hero-points {
  margin-top: clamp(26px, 3.5vw, 38px);
  justify-content: center;
}

.team-profile {
  display: grid;
  grid-template-columns: minmax(240px, 340px) 1fr;
  gap: clamp(32px, 5vw, 64px);
  align-items: start;
}

.team-profile + .team-profile {
  margin-top: clamp(48px, 6vw, 72px);
}

.team-profile--reverse {
  grid-template-columns: 1fr minmax(240px, 340px);
}

.team-profile--reverse .team-profile-photo {
  order: 2;
}

.team-profile-photo {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  aspect-ratio: 4 / 5;
  position: sticky;
  top: calc(var(--header-h) + 24px);
}

.team-profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-profile-body .tag {
  margin-bottom: 16px;
}

.team-profile-body h3 {
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  margin-bottom: 8px;
}

.team-profile-lead {
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 1.08rem;
  color: var(--ink);
  margin-bottom: 16px;
}

.team-profile-text p + p {
  margin-top: 12px;
}

.team-profile-quote {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin-top: 22px;
  padding: 20px 22px;
  background: var(--bg-softer);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
}

.team-profile-quote svg {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  color: var(--primary);
  margin-top: 2px;
}

.team-profile-quote p {
  font-style: italic;
  color: var(--ink);
  font-size: 0.96rem;
  line-height: 1.6;
}

.mvv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 3.5vw, 32px);
  margin-top: clamp(56px, 7vw, 80px);
}

.mvv-card {
  background: var(--bg-softer);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(28px, 3.5vw, 36px);
}

.mvv-card p + p {
  margin-top: 10px;
}

.mvv-kicker {
  display: block;
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 14px;
}

.mvv-highlight {
  background: var(--grad);
  border: none;
  box-shadow: var(--shadow-md);
}

.mvv-highlight .mvv-kicker,
.mvv-highlight p {
  color: var(--white);
}

.mvv-highlight .mvv-kicker {
  opacity: 0.85;
}

.valores-heading {
  text-align: left;
  margin-top: clamp(56px, 7vw, 80px);
  margin-bottom: 0;
}

.valores-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(20px, 3vw, 28px);
  margin-top: clamp(24px, 3.5vw, 32px);
}

.valor-item {
  padding: clamp(24px, 3vw, 30px) clamp(20px, 2.5vw, 26px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.valor-num {
  display: block;
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--lilac);
  margin-bottom: 10px;
}

.valor-item h4 {
  font-size: 1.02rem;
  margin-bottom: 8px;
  color: var(--ink);
}

@media (max-width: 1024px) {
  .team-profile,
  .team-profile--reverse {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .team-profile--reverse .team-profile-photo {
    order: 0;
  }
  .team-profile-photo {
    position: static;
    max-width: min(420px, 100%);
    margin-inline: auto;
  }
  .mvv-grid {
    grid-template-columns: 1fr;
  }
  .valores-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 480px) {
  .valores-grid {
    grid-template-columns: 1fr;
  }
}
