/* ─────────────────────────────────────────────────────────────────────────────
   Escala Digital — about.css
   Sección Sobre Nosotros — dos círculos Venn + texto flotante
───────────────────────────────────────────────────────────────────────────── */

.about-section {
  position: relative;
  z-index: 16;
  width: 100%;
  padding: 88px 60px 100px;
  background: linear-gradient(
    to bottom,
    #000000 0%,
    #05101E 18%,
    #0A1A33 50%,
    #05101E 82%,
    #000000 100%
  );
  box-shadow: 0 -40px 60px 20px #000000;
  overflow: hidden;
}

/* ─── Fondo decorativo ─── */
.about-bg-word {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(80px, 14vw, 200px);
  font-weight: 900;
  letter-spacing: 0.12em;
  color: rgba(41, 168, 255, 0.025);
  filter: blur(3px);
  pointer-events: none;
  user-select: none;
  white-space: nowrap;
  z-index: 0;
}

/* ─── Header ─── */
.about-header {
  position: relative;
  z-index: 3;
  text-align: center;
  margin-bottom: 80px;
}

.about-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Montserrat', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #29A8FF;
  margin-bottom: 16px;
}

.about-eyebrow::before,
.about-eyebrow::after {
  content: '';
  display: block;
  width: 22px;
  height: 1.5px;
  background: #29A8FF;
  opacity: 0.65;
}

.about-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(30px, 3.8vw, 52px);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin: 0;
  line-height: 1.08;
}

.about-title .accent {
  background: linear-gradient(90deg, #1464FF 0%, #29A8FF 50%, #1464FF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% 100%;
  animation: shimmer 4s ease-in-out infinite;
}

/* ─── Stage: círculos + texto ─── */
.about-stage {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 72px;
  max-width: 960px;
  margin: 0 auto;
}

/* ─── Grupo de círculos ─── */
.about-circles {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

/* ─── Círculo base ─── */
.about-circle {
  position: relative;
  width: 340px;
  height: 340px;
  border-radius: 50%;
  overflow: hidden;
  cursor: pointer;
  flex-shrink: 0;
  transition:
    box-shadow 0.45s ease,
    z-index 0s;
  will-change: transform;
  z-index: 1;
}

.about-circle:hover { z-index: 3; }
.about-circle:active {
  transform: scale(0.95);
  transition: transform 0.1s ease;
}

/* Abrah — blanco */
.circle-abrah {
  border: 2px solid rgba(255, 255, 255, 0.28);
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.06),
    0 0 40px rgba(255,255,255,0.08);
}
.circle-abrah:hover {
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.14),
    0 0 64px rgba(255,255,255,0.18),
    0 0 120px rgba(255,255,255,0.06);
}

/* Jesús — azul */
.circle-jesus {
  border: 2px solid rgba(41, 168, 255, 0.42);
  box-shadow:
    0 0 0 1px rgba(41,168,255,0.1),
    0 0 40px rgba(20,100,255,0.2);
  margin-left: -80px;
}
.circle-jesus:hover {
  box-shadow:
    0 0 0 1px rgba(41,168,255,0.22),
    0 0 64px rgba(20,100,255,0.42),
    0 0 120px rgba(20,100,255,0.14);
}

/* Foto de Jesús — sin blend mode, posición centrada en cara */
.circle-jesus .circle-photo {
  object-position: 50% 8%;
}

/* Foto dentro del círculo */
.circle-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.55s cubic-bezier(0.32, 0.72, 0, 1);
  will-change: transform;
}
.about-circle:hover .circle-photo {
  transform: scale(1.1);
}

/* Abrah: ajuste fino de posición */
.circle-abrah .circle-photo {
  object-position: 50% 15%;
}

/* Overlay sutil para integrar foto con fondo oscuro */
.circle-abrah::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 60% 40%, rgba(255,255,255,0.05) 0%, rgba(0,0,0,0.18) 100%);
  pointer-events: none;
}
.circle-jesus::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 60% 40%, rgba(41,168,255,0.08) 0%, rgba(0,0,0,0.22) 100%);
  pointer-events: none;
}

/* ─── Texto flotante ─── */
.about-text-wrap {
  display: flex;
  flex-direction: column;
  gap: 32px;
  /* opacity controlada por GSAP entry, luego limpiada para que CSS tome control */
}

.about-person {
  opacity: 0.82; /* legible por defecto sin interacción */
  transition: opacity 0.38s ease;
  cursor: default;
}
.about-person.is-lit { opacity: 1;   }
.about-person.is-dim { opacity: 0.22; }

.about-person-name {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight: 900;
  letter-spacing: -0.025em;
  color: #ffffff;
  margin-bottom: 6px;
  line-height: 1.1;
}

.about-person-role {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #29A8FF;
  margin-bottom: 14px;
}

.about-person-desc {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.8;
  margin: 0;
  max-width: 300px;
}

/* Separador sutil entre los dos */
.about-text-divider {
  width: 28px;
  height: 1px;
  background: linear-gradient(to right, rgba(41,168,255,0.4), transparent);
  margin: 0;
}

/* ─── Responsive ─── */
@media (max-width: 860px) {
  .about-stage {
    flex-direction: column;
    gap: 56px;
  }
  .about-text-wrap { align-items: center; text-align: center; }
  .about-person-desc { max-width: 340px; }
  .about-text-divider { margin: 0 auto; }
}

@media (max-width: 560px) {
  .about-section { padding: 72px 24px 88px; }
  .about-circle { width: 210px; height: 210px; }
  .circle-jesus { margin-left: -52px; }
}

/* ─── 430px — iPhone 14/Pixel 7 / Android gama media ─── */
@media (max-width: 430px) {
  .about-section { padding: 64px 20px 80px; }
  .about-header { margin-bottom: 56px; }
  .about-stage { gap: 40px; }
  /* 175×2 − 44 = 306px; disponible ~390px ✓ */
  .about-circle { width: 175px; height: 175px; }
  .circle-jesus { margin-left: -44px; }
  .about-person-name { font-size: clamp(20px, 5.5vw, 26px); }
  .about-person-desc { font-size: 13px; max-width: 280px; }
}

/* ─── 375px — iPhone 12/13/14 estándar ─── */
@media (max-width: 375px) {
  /* 155×2 − 38 = 272px; disponible ~327px ✓ */
  .about-circle { width: 155px; height: 155px; }
  .circle-jesus { margin-left: -38px; }
  .about-text-wrap { gap: 24px; }
}

/* ─── 320px — teléfonos muy pequeños ─── */
@media (max-width: 320px) {
  .about-section { padding: 56px 14px 72px; }
  /* 135×2 − 30 = 240px; disponible ~292px ✓ */
  .about-circle { width: 135px; height: 135px; }
  .circle-jesus { margin-left: -30px; }
  .about-person-name { font-size: 18px; }
  .about-person-desc { font-size: 12px; }
}
