/* ==========================================================================
   NOSOTROS
   ========================================================================== */

/* ---------- Hero "Somos Chaya Brava" ---------- */
.n-hero {
  position: relative; isolation: isolate; overflow: hidden;
  background: #111; color: #fff;
  padding: calc(var(--header-h) + clamp(30px, 4.5vw, 64px)) 0 clamp(70px, 9vw, 130px);
  border-bottom: 5px solid #1b1b1b;
}
.n-hero__bg { position: absolute; inset: -10px; z-index: -2; }
.n-hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; filter: blur(2px) saturate(.9); }
.n-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(0,0,0,.52), rgba(0,0,0,.4) 60%, rgba(0,0,0,.3)); }
.n-hero__inner { display: grid; grid-template-columns: .66fr 1fr; gap: clamp(30px, 5vw, 80px); align-items: center; padding-left: clamp(0px, 6.4vw, 90px); }
.n-hero__title { font-family: var(--f-display); font-weight: 400; line-height: .95; }
.n-hero__box {
  display: inline-block; padding: .04em .16em .1em; margin-bottom: .14em;
  background: var(--c-red); color: #fff;
  font-size: clamp(64px, 9vw, 126px); line-height: 1;
}
.n-hero__name { display: block; padding-left: .17em; color: var(--c-red); font-size: clamp(76px, 9.87vw, 138px); line-height: .96; }
.n-hero__copy p { max-width: 440px; font-size: clamp(14px, 1.15vw, 16px); font-weight: 700; line-height: 1.2; margin-bottom: 1.2em; }
.n-hero__glyph { position: absolute; right: clamp(20px, 3.9vw, 55px); bottom: clamp(30px, 3.2vw, 45px); width: clamp(70px, 8.6vw, 120px); height: auto; animation: glyph-breathe 4s var(--ease-in-out) infinite; }
@keyframes glyph-breathe { 50% { transform: scale(1.07) rotate(3deg); } }

/* ---------- Del Perú para el mundo ---------- */
.n-story { padding: clamp(70px, 7.4vw, 104px) 0 clamp(80px, 9.6vw, 134px); }
.n-story__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 8.5vw, 120px); align-items: center; }
.n-story__media { position: relative; margin-left: clamp(0px, 3.4vw, 48px); }
.n-story__img { aspect-ratio: 493 / 345; overflow: hidden; clip-path: polygon(17% 0, 100% 0, 83% 100%, 0 100%); }
.n-story__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.n-story__media:hover .n-story__img img { transform: scale(1.06); }
.n-story__badge {
  position: absolute; left: 59%; bottom: -17%;
  display: flex; align-items: center; gap: 12px;
  padding: 0 34px 0 22px; height: clamp(84px, 8vw, 112px);
  background: #000; color: #fff; border-radius: 16px;
  box-shadow: 0 18px 40px rgba(0,0,0,.25);
}
.n-story__badge img { width: clamp(58px, 5.4vw, 76px); height: auto; margin-top: -42%; align-self: flex-end; }
.n-story__badge p { font-family: var(--f-display); text-transform: uppercase; line-height: .95; white-space: nowrap; }
.n-story__badge strong { display: block; font-weight: 400; color: var(--c-yellow); font-size: clamp(32px, 3vw, 42px); }
.n-story__badge strong small { font-size: .55em; }
.n-story__badge p > span { font-size: clamp(16px, 1.55vw, 22px); }
.n-story__copy h2 { font-size: clamp(44px, 5.17vw, 72px); color: #000; margin-bottom: clamp(26px, 3.2vw, 44px); }
.n-story__copy p { max-width: 420px; font-size: clamp(14px, 1.15vw, 16px); line-height: 1.2; color: #2b2121; margin-bottom: 1.4em; }
.n-story__copy .n-story__lead { font-weight: 700; color: #1e1515; }

/* ---------- Misión / Visión / Propósito ---------- */
.mv { position: relative; isolation: isolate; overflow: hidden; background: #000; color: #fff; padding: clamp(60px, 5.2vw, 74px) 0 clamp(54px, 4.6vw, 64px); }
.mv::before { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .05; background: url("../assets/img/texturas/patron-andino.svg") 0 36px / clamp(560px, 55vw, 780px) auto repeat; }
.tabs { display: grid; grid-template-columns: minmax(0, 290px) 1fr; gap: clamp(30px, 8vw, 110px); align-items: center; }
.tabs__list { display: grid; justify-items: start; gap: 2px; }
.tabs__tab {
  position: relative; padding: 2px 0 12px;
  font-family: var(--f-display); font-size: clamp(32px, 3.83vw, 54px); line-height: 1;
  color: #777; transition: color .3s;
}
.tabs__tab::after { content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 8px; background: var(--c-yellow); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease-out); }
.tabs__tab:hover { color: #bdbdbd; }
.tabs__tab[aria-selected="true"] { color: #fff; }
.tabs__tab[aria-selected="true"]::after { transform: none; }
.tabs__panel p { font-family: var(--f-display); font-size: clamp(26px, 3.35vw, 47px); line-height: 1.12; max-width: 680px; }
.tabs__panel:not([hidden]) { animation: panel-in .7s var(--ease-out); }
@keyframes panel-in { from { opacity: 0; transform: translateY(20px); } }

/* ---------- Lo que nos define ---------- */
.n-define { background: #ece8e1; padding: clamp(40px, 3.3vw, 46px) 0 clamp(60px, 5vw, 70px); }
.n-define__title { text-align: center; font-size: clamp(32px, 4.06vw, 57px); color: var(--c-red); margin-bottom: clamp(34px, 6.5vw, 92px); }
.n-values { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 3.5vw, 50px); max-width: 1175px; margin-inline: auto; }
.n-value {
  display: grid; justify-items: center; align-content: start;
  min-height: clamp(220px, 18.6vw, 260px); padding: 12px 28px 26px;
  background: #fff; border-radius: 24px; text-align: center;
  transition: transform .45s var(--ease-out), box-shadow .45s;
}
.n-value:hover { transform: translateY(-8px); box-shadow: var(--shadow-1); }
.n-value__icon { height: clamp(66px, 6.2vw, 88px); width: auto; transition: transform .5s var(--ease-out); }
.n-value:hover .n-value__icon { transform: scale(1.12) rotate(-6deg); }
.n-value h3 { margin: 10px 0 18px; font-family: var(--f-display); font-weight: 400; font-style: italic; font-size: clamp(34px, 3.3vw, 47px); line-height: 1; color: var(--c-mint); }
.n-value p { max-width: 290px; font-size: 13px; line-height: 1.2; color: var(--c-red); }

/* ---------- Chaya Staff ---------- */
.n-staff-head { display: flex; align-items: center; justify-content: center; gap: clamp(14px, 3.1vw, 44px); margin: clamp(56px, 4.4vw, 62px) 0 clamp(36px, 4.1vw, 58px); }
.n-staff-head img { width: clamp(52px, 8.6vw, 120px); height: auto; flex: none; }
.n-staff-head h2 { font-size: clamp(42px, 8.65vw, 121px); color: var(--c-red-deep); white-space: nowrap; margin-inline: clamp(6px, 3.4vw, 48px); }
.n-staff { display: grid; grid-template-columns: repeat(3, minmax(0, 306px)); justify-content: center; gap: clamp(18px, 2.5vw, 36px); }
.staff {
  background: #fff; border-radius: 14px; padding: 12px 12px 34px;
  transition: transform .45s var(--ease-out), box-shadow .45s;
}
.staff:hover { transform: translateY(-8px) rotate(-1deg); box-shadow: var(--shadow-1); }
.staff__media { aspect-ratio: 275 / 219; border-radius: 10px; overflow: hidden; background: #383838; display: grid; place-items: center; margin: 0 6px 22px; }
.staff__media img { width: 100%; height: 100%; object-fit: cover; }
.staff__media .staff__ph { width: 44%; height: auto; object-fit: contain; opacity: .16; filter: grayscale(.2) brightness(.9); }
.staff h3 { padding: 0 16px; font-size: clamp(30px, 3.34vw, 47px); color: var(--c-red); line-height: 1; margin-bottom: 6px; }
.staff__role { padding: 0 16px; font-family: var(--f-display); text-transform: uppercase; font-size: clamp(17px, 1.67vw, 23.5px); line-height: 1; color: var(--c-red-deep); margin-bottom: 18px; }
.staff__desc { padding: 0 20px; text-align: center; font-size: 13px; line-height: 1.2; color: var(--c-red); }

/* ---------- Cifras ---------- */
.n-figures { background: var(--c-red); color: var(--c-yellow); padding-block: clamp(40px, 3.8vw, 54px); }
.n-figures .stats { padding-left: clamp(0px, 3.6vw, 50px); }

/* ---------- CTA ¿Trabajamos juntos? ---------- */
.n-cta { --tint: #ece8e1; }
.n-cta .cta-final__glyph { width: clamp(60px, 5.7vw, 80px); }
.n-cta .cta-final__title { font-size: clamp(50px, 6.6vw, 92px); margin: clamp(40px, 4.6vw, 64px) 0 10px; line-height: .98; }
.n-cta .btn { min-height: 44px; padding-inline: 36px; font-size: 22px; margin-bottom: clamp(36px, 3.9vw, 54px); }

@media (max-width: 960px) {
  .n-hero__inner, .n-story__grid, .tabs { grid-template-columns: 1fr; }
  .n-hero__inner { padding-left: 0; }
  .n-story__media { margin: 0 0 60px; }
  .tabs__list { grid-auto-flow: column; justify-content: start; gap: 24px; }
  .n-values { grid-template-columns: 1fr; max-width: 420px; }
  .n-staff { grid-template-columns: minmax(0, 340px); }
  .n-staff-head img:nth-of-type(2), .n-staff-head img:nth-of-type(3) { display: none; }
}
@media (max-width: 640px) {
  .n-story__badge { left: auto; right: 0; bottom: -22%; }
  .n-staff-head img { display: none; }
  .tabs__list { gap: 16px; }
}

/* === REVISIÓN 1: greca amarilla debajo del texto en celular === */
@media (max-width: 640px) {
  .n-hero { padding-bottom: 40px; }
  .n-hero__glyph { position: static; width: 64px; margin: 24px 0 0 var(--gutter); }
}
/* === FIN REVISIÓN 1 === */
