/* ============================================================
   EDISON TECH — quienes-somos.html Specific Styles
   ============================================================ */

/* ── Historia Section ── */
.section-light {
  padding: 6rem 0;
  background: var(--white);
}

.historia-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.historia-content p {
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 1rem;
  font-size: 0.97rem;
}

.historia-visual {
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.historia-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  border: 1px solid rgba(25, 56, 92, 0.08);
  box-shadow: var(--shadow);
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  transition: var(--transition);
}

.historia-card:hover {
  border-color: var(--gold);
  transform: translateX(6px);
  box-shadow: var(--shadow-lg);
}

.historia-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--navy), var(--navy-mid));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 1.1rem;
}

.historia-card h3 {
  font-size: 0.95rem;
  color: var(--navy);
  margin-bottom: 0.3rem;
}

.historia-card p {
  font-size: 0.87rem;
  color: var(--text-mid);
  line-height: 1.6;
}

/* ── Team Section ── */
.team-section {
  padding: 6rem 0;
  background: linear-gradient(180deg, var(--bg-section) 0%, var(--white) 100%);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  max-width: 880px;
  margin: 0 auto 2rem;
}

.team-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(25, 56, 92, 0.07);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.team-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue-light);
}

/* Photo area */
.team-photo-wrap {
  position: relative;
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  height: 260px;
  overflow: hidden;
}

.team-photo {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.photo-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  color: rgba(255, 255, 255, 0.35);
}

.photo-placeholder i {
  font-size: 5rem;
  color: rgba(116, 167, 199, 0.4);
}

.photo-placeholder span {
  font-size: 0.8rem;
  font-family: var(--font-body);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* Badge over photo */
.team-badge {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background: var(--navy-dark);
  border: 1px solid rgba(116, 167, 199, 0.4);
  color: var(--blue-light);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.3rem 0.9rem;
  border-radius: 50px;
  backdrop-filter: blur(4px);
}

.team-badge--gold {
  border-color: rgba(200, 153, 56, 0.5);
  color: var(--gold-light);
}

/* Info area */
.team-info {
  padding: 1.8rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.team-name {
  font-size: 1.3rem;
  color: var(--navy);
  margin-bottom: 0.3rem;
}

.team-role {
  font-size: 0.85rem;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.team-bio {
  font-size: 0.9rem;
  color: var(--text-mid);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 1.2rem;
}

.team-social {
  display: flex;
  gap: 0.7rem;
}

.team-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(25, 56, 92, 0.06);
  border: 1px solid rgba(25, 56, 92, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  font-size: 0.9rem;
  transition: var(--transition);
}

.team-social a:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
  transform: translateY(-2px);
}

/* Photo instructions note */
.photo-instructions {
  max-width: 700px;
  margin: 0 auto;
  background: rgba(116, 167, 199, 0.08);
  border: 1px dashed rgba(116, 167, 199, 0.4);
  border-radius: var(--radius);
  padding: 1rem 1.5rem;
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
}

.photo-instructions i {
  color: var(--blue-light);
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.photo-instructions p {
  font-size: 0.83rem;
  color: var(--text-mid);
  line-height: 1.6;
}

.photo-instructions code {
  background: rgba(25, 56, 92, 0.08);
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  font-size: 0.78rem;
  color: var(--navy);
}

/* ── CTA Quiénes Somos ── */
.cta-qs {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 100%);
  padding: 4rem 0;
}

.cta-qs-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cta-qs-text h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: var(--white);
  margin-bottom: 0.4rem;
}

.cta-qs-text p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.65);
}

/* ── Responsive ── */
@media (max-width: 900px) {
  .historia-wrap {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 768px) {
  .cta-qs-inner {
    flex-direction: column;
    text-align: center;
  }

  .team-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
  }
}