/* ==========================================================================
   sections/about.css
   Sección NOSOTROS: pilares, galería 3D (coverflow) y bloque "Nuestro equipo".
   (Animaciones compartidas: ringspin en sections/social.css y cardShine en sections/hero.css.)
   ========================================================================== */
.about { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(30px, 5vw, 70px); align-items: center; }
.about .section__lead { margin: 0 0 30px; }
.pillars { display: grid; gap: 14px; margin-bottom: 30px; }
.pillar { display: flex; gap: 16px; align-items: flex-start; padding: 18px; border-radius: var(--radius-sm); background: var(--card); border: 1px solid var(--line); transition: transform .4s var(--ease), border-color .4s, background .4s; }
.pillar:hover { transform: translateX(8px); border-color: rgba(227,38,43,.5); background: rgba(227,38,43,.07); }
.pillar .svc__ico { width: 44px; height: 44px; border-radius: 13px; }
.pillar b { display: block; margin-bottom: 2px; }
.pillar p { margin: 0; color: var(--muted); font-size: .9rem; }
/* ---------- Nuestro equipo: fotos en órbita + tarjeta del integrante elegido ---------- */
.crew { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(30px, 6vw, 80px); align-items: center; margin-top: clamp(70px, 9vw, 120px); }
.crew__orbit { position: relative; width: min(460px, 100%); aspect-ratio: 1; justify-self: center; }
.crew__ring { position: absolute; inset: 0; margin: auto; border-radius: 50%; pointer-events: none; }
.crew__ring--1 { width: 78%; height: 78%; border: 1px dashed rgba(255,255,255,.18); }
.crew__ring--2 { width: 100%; height: 100%; border: 1px solid rgba(227,38,43,.25); box-shadow: inset 0 0 60px rgba(227,38,43,.12); }
.crew__ring--3 { width: 52%; height: 52%; background: conic-gradient(from 0deg, transparent, rgba(227,38,43,.55), transparent 35%); animation: ringspin 6s linear infinite;
  -webkit-mask: radial-gradient(circle, transparent 62%, #000 63%); mask: radial-gradient(circle, transparent 62%, #000 63%); }
.crew__core { position: absolute; left: 50%; top: 50%; width: 34%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; display: grid; place-items: center;
  background: radial-gradient(circle at 35% 30%, #22222b, #0b0b0f); border: 1px solid var(--line-2); box-shadow: 0 0 60px rgba(227,38,43,.45), inset 0 0 30px rgba(227,38,43,.2); }
.crew__core img { width: 62%; height: auto; border-radius: 50%; animation: corePulse 3s ease-in-out infinite; }
@keyframes corePulse { 50% { transform: scale(1.06); filter: drop-shadow(0 0 14px rgba(227,38,43,.8)); } }
/* Cada integrante se mueve con JS (translate) alrededor del centro */
.crew__mate { position: absolute; left: 50%; top: 50%; width: 22%; aspect-ratio: 1; margin: -11% 0 0 -11%; border-radius: 50%; padding: 3px;
  background: linear-gradient(135deg, rgba(255,255,255,.35), rgba(255,255,255,.05)); box-shadow: 0 16px 34px -10px rgba(0,0,0,.9); cursor: pointer; }
.crew__mate img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; background: #222; transition: transform .4s var(--ease), filter .4s; filter: grayscale(.55) brightness(.85); }
.crew__mate:hover img { transform: scale(1.1); filter: none; }
.crew__mate.on { background: linear-gradient(135deg, var(--red-2), var(--red-deep)); box-shadow: 0 0 0 6px rgba(227,38,43,.18), 0 0 40px rgba(227,38,43,.7); z-index: 2; }
.crew__mate.on img { transform: scale(1.12); filter: none; }
.crew__title { font-family: var(--font-d); font-weight: 800; font-size: clamp(1.6rem, 3.4vw, 2.5rem); line-height: 1.08; letter-spacing: -.02em; margin: 0 0 12px; }
.crew__title em { font-style: normal; color: var(--red-2); }
.crew__info .section__lead { margin: 0 0 24px; }
/* Tarjeta del integrante elegido (vidrio con borde de luz) */
.crew__card { position: relative; display: flex; align-items: center; gap: 18px; padding: 18px 20px; border-radius: var(--radius); overflow: hidden;
  background: linear-gradient(135deg, rgba(227,38,43,.16), rgba(255,255,255,.03)), var(--card); border: 1px solid rgba(227,38,43,.45); box-shadow: 0 30px 60px -30px rgba(227,38,43,.6); }
.crew__card::before { content: ''; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 35%, rgba(255,255,255,.12) 50%, transparent 65%); transform: translateX(-120%); }
.crew__card.swap::before { animation: cardShine 1.2s var(--ease); }
.crew__card.swap > * { animation: crewIn .6s var(--ease) both; }
.crew__card.swap > *:nth-child(2) { animation-delay: .08s; }
@keyframes crewIn { from { opacity: 0; transform: translateY(14px); } }
.crew__photo { flex: none; width: 84px; height: 84px; border-radius: 50%; padding: 3px; background: linear-gradient(135deg, var(--red-2), var(--red-deep)); }
.crew__photo img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 3px solid #101015; }
.crew__card b { display: block; font-family: var(--font-d); font-size: 1.15rem; }
.crew__card small { display: block; color: var(--muted); margin: 2px 0 8px; }
.crew__badge { display: inline-flex; align-items: center; gap: .5em; font-size: .76rem; font-weight: 700; color: #b9f5cf; }
.crew__badge i { width: 8px; height: 8px; border-radius: 50%; background: var(--wa); box-shadow: 0 0 0 0 rgba(37,211,102,.7); animation: livePing 1.8s infinite; }
@keyframes livePing { 70% { box-shadow: 0 0 0 8px rgba(37,211,102,0); } 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); } }
.crew__count { margin-left: auto; align-self: flex-start; font-family: var(--font-d); font-size: 1.6rem; color: var(--red-2); line-height: 1; }
.crew__count em { font-style: normal; font-size: .8rem; color: var(--muted); margin-left: 4px; }
.crew__nav { display: flex; align-items: center; gap: 12px; margin-top: 18px; flex-wrap: wrap; }
.crew__dots { display: flex; gap: 7px; }
.crew__dots button { width: 9px; height: 9px; border-radius: 9px; background: var(--line-2); transition: all .4s var(--ease); }
.crew__dots button.on { width: 28px; background: var(--red); }
.crew__cta { margin-left: auto; }
.about__gallery { position: relative; }
.cover { position: relative; height: 420px; perspective: 1200px; transform-style: preserve-3d; }
.cover__item { position: absolute; left: 50%; top: 50%; width: min(420px, 74vw); aspect-ratio: 4/3; margin: 0; translate: -50% -50%; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line-2); box-shadow: 0 40px 80px -30px rgba(0,0,0,.9); transition: transform .9s var(--ease), opacity .6s; cursor: pointer; background: #111; }
.cover__item img { width: 100%; height: 100%; object-fit: cover; }
.cover__item span { position: absolute; right: 12px; top: 12px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(8,8,11,.6); backdrop-filter: blur(6px); opacity: 0; transition: opacity .3s; }
.cover__item.active span { opacity: 1; }
.cover__item.active { border-color: rgba(227,38,43,.6); }
.cover__caption { display: flex; justify-content: space-between; align-items: center; max-width: 420px; margin: 6px auto 0; color: var(--muted); font-size: .9rem; }
.cover__caption b { color: var(--text); }
