/* =====================================================
   page-quienes-somos.css
   ===================================================== */

/* ---- PAGE HERO ---- */
.page-hero--somos {
  min-height: 70vh; padding: 140px 2rem 80px;
  position: relative; overflow: hidden;
  display: flex; align-items: center;
  border-bottom: 1px solid var(--border);
}
.hero-grad-orb {
  position: absolute; top: -20%; left: -10%;
  width: 800px; height: 800px;
  background: radial-gradient(circle at 30% 40%, rgba(249,115,22,0.18) 0%, transparent 60%);
  border-radius: 50%; z-index: 0; pointer-events: none;
}
.hero-grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 0; pointer-events: none;
  mask-image: linear-gradient(to right, rgba(0,0,0,0.3), rgba(0,0,0,0.05));
}
.page-hero--somos .page-hero-inner {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.2fr 1fr;
  gap: 5rem; align-items: center;
}
.page-hero--somos h1 { font-size: var(--text-4xl); margin-bottom: 1.5rem; }
.page-hero--somos h1 em {
  font-style: normal;
  background: var(--grad);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.page-hero--somos .page-hero-lead {
  font-size: var(--text-lg); font-weight: 300; color: var(--muted); line-height: 1.8;
}

/* Hero stats */
.hero-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hstat {
  background: rgba(255,255,255,0.03); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 1.5rem; transition: border-color 0.2s;
}
.hstat:hover { border-color: rgba(249,115,22,0.3); }
.hstat.oss { grid-column: span 2; background: rgba(249,115,22,0.05); border-color: rgba(249,115,22,0.15); display: flex; align-items: center; gap: 1rem; }
.hstat-num  { font-family: var(--font-d); font-size: 2.2rem; font-weight: 800; color: var(--or2); line-height: 1; margin-bottom: 4px; }
.hstat.oss .hstat-num { font-size: 1.6rem; }
.hstat-label { font-size: var(--text-sm); color: rgba(255,255,255,0.4); line-height: 1.4; }

@media (max-width: 768px) {
  .page-hero--somos .page-hero-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero-stats { display: none; }
}

/* ---- SECTION ---- */
.section { padding: 5rem 0; }
.section-alt { background: var(--dark2); }
.section-alt-inner { width: 100%; }
.section-h { font-size: var(--text-3xl); margin-bottom: 0.75rem; }

/* ---- MISSION / VISION ---- */
.mv-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 2px; background: var(--border);
  border-radius: var(--r-xl); overflow: hidden;
  margin-bottom: 3rem;
}
.mv-card {
  background: var(--dark2); padding: 2.5rem;
  position: relative; overflow: hidden;
}
.mv-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; }
.mv-card--mision::before { background: #fff; }
.mv-card--vision::before { background: var(--grad); }
.mv-label { font-size: var(--text-xs); font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: rgba(255,255,255,0.3); margin-bottom: 1rem; }
.mv-text  { font-family: var(--font-d); font-size: 17px; font-weight: 600; line-height: 1.6; letter-spacing: -0.01em; color: rgba(255,255,255,0.9); }
.mv-quote { position: absolute; bottom: -10px; right: 20px; font-size: 8rem; font-weight: 800; font-family: var(--font-d); color: rgba(255,255,255,0.03); line-height: 1; pointer-events: none; user-select: none; }
@media (max-width: 640px) { .mv-grid { grid-template-columns: 1fr; } }

/* ---- PRINCIPLES ---- */
.principles-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 12px; }
.principle-card {
  background: var(--dark2); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 1.75rem;
  position: relative; overflow: hidden; transition: border-color 0.25s;
}
.principle-card:hover { border-color: rgba(249,115,22,0.25); }
.principle-num {
  position: absolute; top: 1rem; right: 1.5rem;
  font-family: var(--font-d); font-size: 4rem; font-weight: 800;
  color: rgba(249,115,22,0.08); line-height: 1;
  pointer-events: none; user-select: none;
}
.principle-title {
  font-family: var(--font-d); font-size: 17px; font-weight: 700;
  letter-spacing: -0.01em; margin-bottom: 8px;
}
.principle-title::before { content: '—'; color: var(--or2); margin-right: 8px; font-weight: 400; }
.principle-desc { font-size: var(--text-md); font-weight: 300; color: var(--muted); line-height: 1.75; }
@media (max-width: 640px) { .principles-grid { grid-template-columns: 1fr; } }

/* ---- TIMELINE ---- */
.timeline-wrap { position: relative; padding-left: 2rem; }
.timeline-line {
  position: absolute; left: 0; top: 8px; bottom: 8px; width: 2px;
  background: linear-gradient(to bottom, var(--or2), rgba(249,115,22,0.1));
}
.tl-item { position: relative; padding: 0 0 3rem 2rem; }
.tl-item:last-child { padding-bottom: 0; }
.tl-dot {
  position: absolute; left: -2.45rem; top: 4px;
  width: 14px; height: 14px; border-radius: 50%;
  background: var(--or2); border: 3px solid var(--dark);
  box-shadow: 0 0 0 3px rgba(249,115,22,0.2);
}
.tl-item:last-child .tl-dot { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.2); box-shadow: none; }
.tl-year  { font-size: var(--text-xs); font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--or3); margin-bottom: 6px; }
.tl-title { font-family: var(--font-d); font-size: var(--text-base); font-weight: 700; margin-bottom: 6px; letter-spacing: -0.01em; }
.tl-text  { font-size: var(--text-md); font-weight: 300; color: var(--muted); line-height: 1.7; }
.tl-tags  { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.tl-tag {
  font-size: var(--text-xs); padding: 2px 9px; border-radius: 100px;
  background: rgba(255,255,255,0.05); border: 1px solid var(--border);
  color: rgba(255,255,255,0.4);
}

/* ---- LOCATION ---- */
.location-card {
  background: var(--dark2); border: 1px solid var(--border);
  border-radius: var(--r-xl); padding: 2.5rem;
  display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center;
}
.loc-title {
  font-family: var(--font-d); font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 800; letter-spacing: -0.02em; margin-bottom: 0.75rem; line-height: 1.2;
}
.loc-title span { background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.loc-desc { font-size: var(--text-md); font-weight: 300; color: var(--muted); line-height: 1.8; }
.loc-zones { display: flex; flex-direction: column; gap: 10px; }
.loc-zone {
  display: flex; align-items: center; gap: 12px;
  background: rgba(255,255,255,0.03); border: 1px solid var(--border);
  border-radius: 12px; padding: 12px 16px;
}
.loc-zone.active { border-color: rgba(74,222,128,0.2); background: rgba(74,222,128,0.04); }
.loc-zone-flag   { font-size: 20px; flex-shrink: 0; }
.loc-zone-name   { font-size: var(--text-md); font-weight: 500; }
.loc-zone.active .loc-zone-name { color: #6EE7B7; }
.loc-zone-detail { font-size: var(--text-xs); color: rgba(255,255,255,0.3); }
.loc-zone-dot    { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,0.15); flex-shrink: 0; margin-left: auto; }
.loc-zone.active .loc-zone-dot { background: var(--success); box-shadow: 0 0 6px rgba(74,222,128,0.5); }
@media (max-width: 640px) { .location-card { grid-template-columns: 1fr; gap: 1.5rem; } }
