/* ============================================================
   ABARCA IA — sobre_nosotros.css
   Page-specific styles (inherits design system from inicio_home.css)
   ============================================================ */

/* ============================================================
   HERO — SOBRE NOSOTROS
   ============================================================ */

.hero-sobre {
  position: relative;
  background: linear-gradient(135deg, #B3E5FC 0%, #CE93D8 50%, #FFF59D 100%);
  padding: 72px 24px;
  text-align: center;
  overflow: hidden;
}

.hero-sobre-orb {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 500px; height: 500px;
  border-radius: 50%;
  background: conic-gradient(from 0deg,
    rgba(79,195,247,.3), rgba(179,157,219,.3),
    rgba(244,143,177,.3), rgba(255,183,77,.3),
    rgba(255,241,118,.3), rgba(79,195,247,.3));
  filter: blur(80px);
  animation: orb-spin 24s linear infinite;
  pointer-events: none;
}

.hero-sobre-content {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
}

.hero-sobre-badge {
  display: inline-block;
  background: rgba(255,255,255,.7);
  color: var(--color-dark);
  padding: 5px 14px;
  border-radius: var(--border-radius-md);
  font-size: 12px; font-weight: 500;
  margin-bottom: 20px;
  backdrop-filter: blur(4px);
  opacity: 0;
  transform: translateY(16px);
  animation: fade-up .5s var(--ease-out) .05s forwards;
}

.hero-sobre h1 {
  font-size: 38px; font-weight: 400;
  line-height: 1.2; letter-spacing: -.4px;
  color: var(--color-dark);
  margin-bottom: 16px;
  opacity: 0;
  transform: translateY(16px);
  animation: fade-up .5s var(--ease-out) .15s forwards;
}

.hero-sobre p {
  font-size: 16px;
  color: #444441;
  line-height: 1.6;
  opacity: 0;
  transform: translateY(16px);
  animation: fade-up .5s var(--ease-out) .25s forwards;
}

/* ============================================================
   NUESTRA HISTORIA
   ============================================================ */

.historia {
  padding: 56px 24px;
  background: var(--color-surface);
}

.historia-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
  gap: 40px;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}

.historia-tag {
  font-size: 11px; font-weight: 500;
  color: var(--color-lav);
  letter-spacing: 1.5px;
  margin-bottom: 10px;
}

.historia h2 {
  font-size: 26px; font-weight: 400;
  color: var(--color-dark);
  margin-bottom: 16px;
  line-height: 1.3;
  letter-spacing: -.2px;
}

.historia p {
  font-size: 14px;
  color: #5F5E5A;
  line-height: 1.7;
}

.historia p + p { margin-top: 12px; }

/* Stats card */
.historia-card {
  background: linear-gradient(135deg, #B3E5FC, #CE93D8, #F8BBD0, #FFF59D);
  border-radius: var(--border-radius-lg);
  padding: 4px;
  transition: transform .3s var(--ease-spring), box-shadow .3s ease;
}

.historia-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-color-lg);
}

.historia-card-inner {
  background: var(--color-surface);
  border-radius: 10px;
  padding: 24px;
}

.historia-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.historia-stat {
  text-align: center;
  padding: 14px;
  background: var(--color-background-secondary);
  border-radius: var(--border-radius-md);
  transition: background .2s ease;
}

.historia-stat:hover { background: #EEEEED; }

.historia-stat-num {
  font-size: 24px; font-weight: 500;
  color: var(--color-dark);
  margin-bottom: 2px;
}

.historia-stat-label {
  font-size: 11px;
  color: var(--color-muted);
}

/* ============================================================
   MISIÓN / VISIÓN / VALORES
   ============================================================ */

.valores {
  padding: 56px 24px;
  background: var(--color-background-secondary);
}

.valores h2 {
  font-size: 24px; font-weight: 400;
  text-align: center;
  color: var(--color-dark);
  margin-bottom: 32px;
  letter-spacing: -.2px;
}

.valores-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}

.valor-card {
  background: var(--color-surface);
  border-radius: var(--border-radius-lg);
  padding: 26px;
  position: relative;
  overflow: hidden;
  transition: transform .2s var(--ease-spring), box-shadow .2s ease;
}

.valor-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
}

.valor-card--mision::before { background: linear-gradient(90deg, #4FC3F7, #B39DDB); }
.valor-card--vision::before  { background: linear-gradient(90deg, #B39DDB, #F48FB1); }
.valor-card--valores::before { background: linear-gradient(90deg, #F48FB1, #FFB74D); }

.valor-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-color);
}

.valor-tag {
  font-size: 11px; font-weight: 500;
  letter-spacing: 1.5px;
  margin-bottom: 10px;
}

.valor-tag--mision  { color: var(--color-sky); }
.valor-tag--vision  { color: var(--color-lav); }
.valor-tag--valores { color: var(--color-pink); }

.valor-card h3 {
  font-size: 16px; font-weight: 500;
  color: var(--color-dark);
  margin-bottom: 10px;
}

.valor-card p {
  font-size: 13px;
  color: #5F5E5A;
  line-height: 1.6;
}

/* ============================================================
   EQUIPO
   ============================================================ */

.equipo {
  padding: 56px 24px;
  background: var(--color-surface);
}

.equipo .section-header { margin-bottom: 36px; }
.equipo .section-header h2 { font-size: 24px; }

.equipo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  max-width: 900px;
  margin: 0 auto;
}

.equipo-card {
  text-align: center;
  padding: 22px 14px;
  background: var(--color-background-secondary);
  border-radius: var(--border-radius-lg);
  transition: transform .2s var(--ease-spring), box-shadow .2s ease;
}

.equipo-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-color);
}

.equipo-avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  margin: 0 auto 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; font-weight: 500;
  color: var(--color-dark);
  transition: transform .2s var(--ease-spring);
}

.equipo-card:hover .equipo-avatar { transform: scale(1.06); }

.equipo-avatar--1 { background: linear-gradient(135deg, #B3E5FC, #CE93D8); }
.equipo-avatar--2 { background: linear-gradient(135deg, #CE93D8, #F8BBD0); }
.equipo-avatar--3 { background: linear-gradient(135deg, #F8BBD0, #FFCC80); }
.equipo-avatar--4 { background: linear-gradient(135deg, #FFCC80, #FFF59D); }

.equipo-avatar--photo { overflow: hidden; padding: 0; }
.equipo-avatar--photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 50%;
}

.equipo-name {
  font-size: 14px; font-weight: 500;
  color: var(--color-dark);
}

.equipo-role {
  font-size: 11px;
  color: var(--color-muted);
  margin-top: 4px;
}

.equipo-note {
  text-align: center;
  font-size: 12px;
  color: var(--color-muted);
  margin-top: 20px;
}

.equipo-linkedin {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin-top: 10px;
  font-size: 11px;
  color: var(--color-muted);
  border: 0.5px solid var(--color-border);
  border-radius: 99px;
  padding: 4px 10px;
  transition: color .2s ease, border-color .2s ease, background .2s ease;
}

.equipo-linkedin svg {
  width: 11px; height: 11px;
  flex-shrink: 0;
}

.equipo-linkedin:hover {
  color: #0A66C2;
  border-color: #0A66C2;
  background: rgba(10, 102, 194, .06);
}

/* ============================================================
   TIMELINE
   ============================================================ */

.timeline {
  padding: 56px 24px;
  background: var(--color-background-secondary);
}

.timeline h2 {
  font-size: 24px; font-weight: 400;
  text-align: center;
  color: var(--color-dark);
  margin-bottom: 36px;
  letter-spacing: -.2px;
}

.timeline-list {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
}

.timeline-list::before {
  content: '';
  position: absolute;
  left: 113px;
  top: 0; bottom: 0;
  width: 1px;
  background: linear-gradient(180deg, #4FC3F7, #B39DDB, #F48FB1, #FFB74D);
}

.timeline-item {
  display: grid;
  grid-template-columns: 100px 24px 1fr;
  gap: 0 18px;
  padding: 16px 0;
  align-items: start;
}

.timeline-item:not(:last-child) {
  border-bottom: 0.5px solid var(--color-border);
}

.timeline-date {
  font-size: 14px; font-weight: 500;
  text-align: right;
  padding-top: 2px;
}

.timeline-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  margin-top: 5px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 3px var(--color-background-secondary);
}

.timeline-item--1 .timeline-date { color: var(--color-sky); }
.timeline-item--1 .timeline-dot  { background: var(--color-sky); }
.timeline-item--2 .timeline-date { color: var(--color-lav); }
.timeline-item--2 .timeline-dot  { background: var(--color-lav); }
.timeline-item--3 .timeline-date { color: var(--color-pink); }
.timeline-item--3 .timeline-dot  { background: var(--color-pink); }
.timeline-item--4 .timeline-date { color: var(--color-amber); }
.timeline-item--4 .timeline-dot  { background: var(--color-amber); }

.timeline-text-title {
  font-size: 14px; font-weight: 500;
  color: var(--color-dark);
  margin-bottom: 4px;
}

.timeline-text-desc {
  font-size: 12px;
  color: #5F5E5A;
  line-height: 1.5;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 768px) {
  .hero-sobre h1 { font-size: 28px; }
  .hero-sobre p  { font-size: 14px; }

  .historia-inner {
    grid-template-columns: 1fr;
  }

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

  .equipo-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .timeline-list::before { left: 101px; }
}

@media (max-width: 480px) {
  .hero-sobre { padding: 48px 16px; }
  .hero-sobre h1 { font-size: 24px; }

  .historia,
  .valores,
  .equipo,
  .timeline { padding: 40px 16px; }

  .equipo-grid { grid-template-columns: repeat(2, 1fr); }

  .timeline-list::before { display: none; }

  .timeline-item {
    grid-template-columns: 80px 1fr;
    gap: 0 12px;
  }

  .timeline-dot { display: none; }
}
