/* nosotros.css — estilos propios de esta página. Lo compartido vive en base.css */

[data-lightbox]{ cursor: zoom-in; }
.lightbox-overlay{ position: fixed; inset: 0; z-index: 200; display: flex; align-items: center; justify-content: center; background: rgba(5, 8, 20, 0.92); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); opacity: 0; pointer-events: none; transition: opacity 0.25s var(--ease-out); padding: 40px; }
.lightbox-overlay.is-open{ opacity: 1; pointer-events: auto; }
.lightbox-figure{ position: relative; max-width: min(90vw, 1000px); max-height: 86vh; margin: 0; }
.lightbox-figure img{ max-width: 100%; max-height: 86vh; width: auto; height: auto; border-radius: var(--radius-md); box-shadow: var(--shadow-md); display: block; margin-inline: auto; }
.lightbox-close, .lightbox-prev, .lightbox-next{ position: fixed; display: flex; align-items: center; justify-content: center; width: 46px; height: 46px; border-radius: var(--radius-pill); border: 1px solid var(--line-strong); background: rgba(10, 14, 32, 0.82); color: var(--text-primary); cursor: pointer; font-size: 1.2rem; transition: border-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out); }
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover{ border-color: var(--accent); color: var(--accent); }
.lightbox-close{ top: 24px; right: 24px; }
.lightbox-prev{ left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox-next{ right: 24px; top: 50%; transform: translateY(-50%); }
@media (max-width: 640px){ .lightbox-prev, .lightbox-next{ width: 40px; height: 40px; font-size: 1rem; } .lightbox-close{ width: 40px; height: 40px; top: 16px; right: 16px; } }
@media (prefers-reduced-motion: reduce){ .lightbox-overlay{ transition: none; } }
.eyebrow{ display: inline-flex; align-items: center; gap: 8px; font-size: 0.75rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.section-head{ max-width: 640px; margin-bottom: 48px; }
.section-head h2{ font-size: clamp(1.75rem, 1.4rem + 1.6vw, 2.75rem); }
.section-head p{ margin-top: 14px; color: var(--text-secondary); font-size: 1.0625rem; max-width: 52ch; }
.btn-ghost{ background: transparent; color: var(--text-primary); border-color: var(--line-strong); }
.btn-ghost:hover{ border-color: var(--accent); color: var(--accent); }
.page-header{ position: relative; padding: calc(var(--nav-height) + var(--ticker-height) + 56px) 0 64px; overflow: hidden; background: radial-gradient(ellipse 900px 500px at 88% -10%, rgba(139,157,245,0.16), transparent 60%), radial-gradient(ellipse 700px 500px at 5% 110%, rgba(139,157,245,0.08), transparent 60%), var(--bg); border-bottom: 1px solid var(--line); }
/* ---- Manifiesto / Quiénes somos ---- */
.manifesto{ text-align: left; }
.manifesto-body{ margin-top: 8px; display: flex; flex-direction: column; gap: 20px; font-size: clamp(1.05rem, 0.98rem + 0.35vw, 1.2rem); line-height: 1.75; color: var(--text-secondary); }
.manifesto-body strong{ color: var(--accent); font-weight: 600; }
.manifesto-close{ color: var(--text-primary); font-weight: 500; }
/* ---- Split (imagen a lo ancho con texto superpuesto) ---- */
.split-feature-section{ position: relative; }
.split-feature{ position: relative; overflow: hidden; min-height: 560px; display: flex; align-items: center; background: var(--bg-raised); }
.split-feature-img{ position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.split-feature-scrim{ position: absolute; inset: 0; background: linear-gradient(100deg, var(--navy-950) 0%, var(--navy-950) 28%, rgba(7, 10, 23, 0.82) 42%, rgba(7, 10, 23, 0.35) 62%, rgba(7, 10, 23, 0.05) 80%); }
.split-feature-body{ position: relative; z-index: 1; max-width: 620px; padding-block: 64px; }
@media (max-width: 860px){
  .split-feature{ display: block; min-height: auto; }
  .split-feature-img{ position: relative; height: 260px; }
  .split-feature-scrim{ display: none; }
  .split-feature-body{ max-width: 100%; padding-block: 28px; }
}
/* ---- Manifiesto: retrato anclado a la derecha con bordes difuminados ---- */
.manifesto .split-feature-img{
  inset: 0 0 0 auto;
  width: clamp(300px, 46%, 620px);
  height: 100%;
  object-position: 55% 30%;
  -webkit-mask-image:
    linear-gradient(to right, transparent 0%, rgba(0,0,0,0.35) 24%, #000 58%, #000 90%, rgba(0,0,0,0.55) 100%),
    linear-gradient(to bottom, transparent 0%, #000 20%, #000 80%, transparent 100%);
  mask-image:
    linear-gradient(to right, transparent 0%, rgba(0,0,0,0.35) 24%, #000 58%, #000 90%, rgba(0,0,0,0.55) 100%),
    linear-gradient(to bottom, transparent 0%, #000 20%, #000 80%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-composite: intersect;
}
.manifesto .split-feature-scrim{
  background: linear-gradient(100deg, var(--navy-950) 0%, var(--navy-950) 36%, rgba(7, 10, 23, 0.62) 50%, rgba(7, 10, 23, 0.18) 70%, rgba(7, 10, 23, 0) 86%);
}
@media (max-width: 860px){
  .manifesto .split-feature-img{
    position: relative;
    inset: auto;
    width: 100%;
    height: 320px;
    object-position: 50% 26%;
    -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 58%, transparent 100%);
    mask-image: linear-gradient(to bottom, #000 0%, #000 58%, transparent 100%);
    -webkit-mask-composite: source-over;
    mask-composite: add;
  }
}
/* ---- Equipo ---- */
/* La sección del equipo respira más ancho que el resto: con cuatro barberos,
   el contenedor de 1200px dejaba tarjetas de 278px. */
.team-section .container{ max-width: 1280px; }
.team-grid{ display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.team-card{ border: 1px solid var(--line); background: var(--bg-raised); border-radius: var(--radius-lg); overflow: hidden; }
.team-card img{ width: 100%; height: auto; aspect-ratio: 3 / 5; object-fit: cover; }
.team-card-body{ padding: 22px 22px 26px; }
.team-card-role{ color: var(--accent); font-size: 0.8rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 4px; }
.team-card h3{ font-size: 1.15rem; }
.team-card-origen{ display: block; margin-top: 3px; font-size: 0.82rem; color: var(--text-muted); }
.team-card p{ margin-top: 10px; color: var(--text-secondary); font-size: 0.92rem; line-height: 1.6; }
/* A dos columnas se limita el ancho: si no, cada tarjeta se estira a casi mil píxeles */
@media (max-width: 1100px){ .team-grid{ grid-template-columns: 1fr 1fr; gap: 24px; max-width: 780px; margin-inline: auto; } }
@media (max-width: 560px){
  .team-grid{ grid-template-columns: 1fr; }
  /* En una sola columna Julian (el segundo del HTML) abre la lista; el orden de escritorio no cambia */
  .team-grid > .team-card:nth-child(2){ order: -1; }
}
/* ---- CTA ---- */
.cta-banner{ position: relative; overflow: hidden; border-radius: var(--radius-lg); border: 1px solid var(--line-strong); background: radial-gradient(circle at 20% 20%, rgba(139,157,245,0.14), transparent 55%), var(--bg-raised); padding: 56px; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-banner h2{ font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.25rem); max-width: 18ch; }
.cta-banner p{ margin-top: 10px; color: var(--text-secondary); max-width: 42ch; }
.cta-particles{ position: absolute; inset: 0; width: 100%; height: 100%; }
.cta-banner > *:not(.cta-particles){ position: relative; z-index: 1; }
@media (max-width: 700px){ .cta-banner{ padding: 32px; } }
