/* ==========================================================================
   Nosotros (nosotros.html) — Figma frame 212:350
   ========================================================================== */

.page-nosotros {
  --nos-navy: #0d1f4e;
  --nos-body: #6b7280;
}

.nos-title { font-family: var(--font-head); font-weight: var(--fw-extrabold); font-size: clamp(1.75rem, 1.3rem + 1.9vw, 2.25rem); line-height: 1.25; color: var(--nos-navy); }
.nos-title .accent { color: var(--c-green); }
.nos-rule { display: block; width: 56px; height: 4px; border-radius: var(--r-pill); background: linear-gradient(90deg, #3cc68a, #2d8ee3); margin: 16px 0 32px; }

/* ----- Hero (split: texto sobre teal + foto completa, sin degradado encima) ----- */
.nos-hero { background: var(--c-teal); color: var(--c-bg-soft); overflow: hidden; }
.nos-hero__inner {
  display: grid; grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr); align-items: stretch;
  min-height: 520px; max-width: 1440px; margin-inline: auto;
}
.nos-hero__content {
  align-self: center; max-width: 520px;
  padding: 64px clamp(24px, 3vw, 48px) 64px clamp(24px, 4vw, 64px);
}
.nos-hero__media { position: relative; }
.nos-hero__media img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
}
/* Costura suave entre el bloque teal y la foto (sobre la pared del estudio, no sobre personas) */
.nos-hero__media::before {
  content: ""; position: absolute; inset: 0 auto 0 0; width: 90px; z-index: 1;
  background: linear-gradient(90deg, var(--c-teal), rgba(14,56,59,0));
}
.nos-badge {
  display: inline-block; background: rgba(85,192,54,.14); color: var(--c-green);
  font-family: var(--font-alt); font-weight: var(--fw-bold); font-size: 1.25rem;
  padding: 8px 22px; border-radius: var(--r-pill); margin-bottom: 24px;
}
.nos-hero h1 {
  font-family: var(--font-head); font-weight: var(--fw-extrabold);
  font-size: clamp(2.25rem, 1.5rem + 2.6vw, 3.25rem); line-height: 1.12; letter-spacing: -.02em;
  color: var(--c-bg-soft);
}
.nos-hero h1 .accent { color: var(--c-green); }

/* ----- Timeline ----- */
.history { background: #fff; }
.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; margin-top: 8px; }
.timeline::before { content: ""; position: absolute; top: 92px; left: 12%; right: 12%; height: 2px; background: linear-gradient(90deg, rgba(85,192,54,.4), rgba(15,153,252,.4)); }
.timeline__item { display: flex; flex-direction: column; align-items: center; text-align: center; padding-inline: 8px; }
.timeline__badge { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; box-shadow: 0 1px 3px rgba(0,0,0,.1); position: relative; z-index: 1; }
.timeline__badge .icon { width: 24px; height: 24px; }
.timeline__badge--green { background: rgba(85,192,54,.25); color: var(--c-green-dark); }
.timeline__badge--blue { background: #e8f2fd; color: var(--c-blue); }
.timeline__dot { width: 16px; height: 16px; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 1px 3px rgba(0,0,0,.1); margin: 12px 0 14px; }
.timeline__dot--green { background: var(--c-green); }
.timeline__dot--blue { background: var(--c-blue); }
.timeline__year { font-family: var(--font-body); font-weight: var(--fw-bold); font-size: .875rem; margin-bottom: 6px; }
.timeline__year--green { color: var(--c-green); }
.timeline__year--blue { color: var(--c-blue); }
.timeline__item h3 { font-family: var(--font-body); font-weight: var(--fw-bold); font-size: 1rem; color: var(--nos-navy); margin-bottom: 8px; }
.timeline__item p { font-family: var(--font-body); font-size: .875rem; line-height: 1.62; color: var(--nos-body); }

/* ----- Equipo ----- */
.team { background: #f9fafc; }
.team__title { font-family: var(--font-body); font-weight: var(--fw-bold); font-size: clamp(1.75rem, 1.3rem + 1.9vw, 2.25rem); line-height: 1.35; color: var(--nos-navy); margin: 12px 0 40px; }
.team__title .accent { color: var(--c-green); border-bottom: 3px solid var(--c-green); padding-bottom: 2px; }

.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.member {
  display: flex; background: #fff; border-radius: 18px; overflow: hidden;
  box-shadow: 0 4px 24px rgba(15,31,61,.1), 0 1px 4px rgba(15,31,61,.06);
}
.member__photo { width: 40%; min-width: 96px; object-fit: cover; align-self: stretch; }
.member__body { flex: 1; padding: 20px 20px 22px; display: flex; flex-direction: column; }
.member__name { font-family: var(--font-body); font-weight: var(--fw-bold); font-size: 1.125rem; line-height: 1.2; color: #0f1f3d; }
.member__role { font-family: var(--font-body); font-size: .6875rem; line-height: 1.35; color: var(--nos-body); margin: 6px 0 10px; }
.member__role b { color: var(--c-green); font-weight: var(--fw-bold); }
.member__quote-mark { font-family: var(--font-head); font-weight: var(--fw-extrabold); font-size: 1.75rem; line-height: .6; color: var(--c-green); }
.member__quote { font-family: var(--font-body); font-size: .6875rem; line-height: 1.55; color: #374151; margin: 4px 0 12px; flex: 1; }
.member__bar { display: block; width: 36px; height: 3px; border-radius: var(--r-pill); background: #3bb32e; }

.team-banner {
  display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 32px;
  background: linear-gradient(174deg, #d4f0e7 0%, #cce6f8 50%, #dde8f8 100%);
  border-radius: var(--r-lg); padding: 26px 32px;
}
.team-banner__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: linear-gradient(135deg, #3cc68a, #2d8ee3); color: #fff; flex-shrink: 0; }
.team-banner__text { flex: 1; min-width: 240px; font-family: var(--font-body); font-weight: var(--fw-bold); font-size: 1.25rem; color: var(--nos-navy); }
.team-banner__text .accent { color: #3cc68a; }
.team-banner__cta { display: inline-flex; align-items: center; gap: 8px; background: var(--nos-navy); color: #fff; font-family: var(--font-body); font-weight: var(--fw-semibold); font-size: .875rem; padding: 12px 24px; border-radius: var(--r-pill); }
.team-banner__cta:hover { background: #16295f; }
.team-banner__cta .icon { width: 16px; height: 16px; }

/* ----- Trayectoria en cifras ----- */
.trajectory { background: #fff; }
.stat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat-card { background: #fff; border: 1px solid #eef2f7; border-radius: var(--r-md); padding: 24px; box-shadow: 0 1px 1.5px rgba(0,0,0,.1); }
.stat-card__badge { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; margin-bottom: 20px; }
.stat-card__badge .icon { width: 26px; height: 26px; }
.stat-card__badge--green { background: rgba(85,192,54,.25); color: var(--c-green-dark); }
.stat-card__badge--blue { background: #e8f2fd; color: var(--c-blue); }
.stat-card__num { font-family: var(--font-body); font-weight: var(--fw-extrabold); font-size: 3rem; line-height: 1; margin-bottom: 12px; }
.stat-card__num span { font-size: 2rem; }
.stat-card__num--green { color: var(--c-green); }
.stat-card__num--blue { color: var(--c-blue); }
.stat-card__label { font-family: var(--font-body); font-weight: var(--fw-bold); font-size: .875rem; line-height: 1.37; color: var(--nos-navy); }
.stat-card__rule { display: block; width: 40px; height: 2px; border-radius: var(--r-pill); margin: 12px 0; }
.stat-card__rule--green { background: #3cc68a; }
.stat-card__rule--blue { background: #2d8ee3; }
.stat-card__desc { font-family: var(--font-body); font-size: .875rem; line-height: 1.62; color: var(--nos-body); }

/* ----- Aliados / Aceleradoras ----- */
.partners { background: #fff; }
.partners__head { text-align: center; max-width: 780px; margin: 0 auto 40px; }
.partners__head h2, .accelerators__title { font-family: var(--font-alt); font-weight: var(--fw-extrabold); font-size: clamp(1.75rem, 1.3rem + 1.9vw, 3rem); color: var(--nos-navy); text-align: center; }
.partners__head p { font-family: var(--font-alt); font-size: 1.0625rem; line-height: 1.56; color: var(--nos-body); margin-top: 16px; }
.logo-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 20px; }
.logo-chip { display: grid; place-items: center; width: 244px; height: 92px; padding: 14px 22px; background: #fff; border-radius: var(--r-md); box-shadow: 0 1px 3px rgba(11,28,48,.22); overflow: hidden; }
.logo-chip img { display: block; max-width: 100%; max-height: 60px; width: auto; height: auto; object-fit: contain; }

.accelerators { background: #fff; padding-top: 0; }
.accel-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 24px; margin-top: 32px; }
.accel-chip { display: grid; place-items: center; width: 381px; max-width: 100%; height: 180px; padding: 24px; background: #fff; border-radius: var(--r-md); box-shadow: 0 1px 3px rgba(11,28,48,.22); overflow: hidden; }
.accel-chip img { display: block; max-width: 65%; max-height: 120px; width: auto; height: auto; object-fit: contain; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 900px) {
  .nos-hero__inner { grid-template-columns: 1fr; min-height: 0; }
  .nos-hero__content { order: 2; align-self: stretch; padding: 40px var(--wrap-pad) 48px; }
  .nos-hero__media { order: 1; aspect-ratio: 16 / 10; }
  .nos-hero__media img { position: static; }
  .nos-hero__media::before { inset: auto 0 0 0; width: auto; height: 70px; background: linear-gradient(0deg, var(--c-teal), rgba(14,56,59,0)); }
}
@media (max-width: 1024px) {
  .timeline { grid-template-columns: repeat(2, 1fr); gap: 40px 24px; }
  .timeline::before { display: none; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  .timeline { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; max-width: 420px; }
  .stat-grid { grid-template-columns: 1fr; }
  .team-banner { flex-direction: column; align-items: flex-start; }
}
