/* ============================================================
   VITRIALUM DE ORIENTE — nosotros.css (About Page)
   ============================================================ */

/* ---- ABOUT MAIN GRID ---- */
.nosotros-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.nosotros-img {
  position: relative;
}
.nosotros-img-main {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
}
.nosotros-img-float {
  position: absolute;
  bottom: 32px;
  left: -32px;
  background: var(--dark);
  color: white;
  border-radius: var(--radius-lg);
  padding: 24px 30px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-lg);
}
.nosotros-img-float-icon {
  width: 48px;
  height: 48px;
  background: var(--electric);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.nosotros-img-float h5 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
}
.nosotros-img-float p {
  font-size: 0.72rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-top: 3px;
}

.nosotros-text .section-title { margin-bottom: 20px; }
.nosotros-text > p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-bottom: 16px;
}

/* ---- PHILOSOPHY CARDS ---- */
.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.philosophy-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 44px 34px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.philosophy-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--primary), var(--electric));
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}
.philosophy-card:hover::after { opacity: 1; }
.philosophy-card > * { position: relative; z-index: 1; }
.philosophy-card:hover { color: white; border-color: transparent; transform: translateY(-8px); box-shadow: var(--shadow-lg); }

.philosophy-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 24px;
  background: var(--off-white);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--primary);
  transition: var(--transition);
}
.philosophy-card:hover .philosophy-icon {
  background: rgba(255,255,255,0.2);
  color: white;
}
.philosophy-card h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 900;
  text-transform: uppercase;
  color: var(--dark);
  margin-bottom: 16px;
  transition: color 0.3s;
}
.philosophy-card:hover h3 { color: white; }
.philosophy-card p, .philosophy-card ul li {
  font-size: 0.88rem;
  line-height: 1.75;
  color: var(--text-muted);
  transition: color 0.3s;
}
.philosophy-card:hover p,
.philosophy-card:hover ul li { color: rgba(255,255,255,0.85); }
.philosophy-card ul {
  text-align: left;
  display: inline-block;
  margin-top: 8px;
}
.philosophy-card ul li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  font-weight: 500;
}
.philosophy-card ul li i {
  font-size: 0.8rem;
  color: var(--primary);
  transition: color 0.3s;
}
.philosophy-card:hover ul li i { color: rgba(255,255,255,0.7); }

/* ---- TEAM/VALUES STRIP ---- */
.values-strip {
  background: var(--primary);
  border-radius: var(--radius-xl);
  padding: 64px 56px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
}
.values-strip-text h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 900;
  text-transform: uppercase;
  color: white;
  margin-bottom: 12px;
}
.values-strip-text p {
  color: rgba(255,255,255,0.75);
  font-size: 0.95rem;
  max-width: 480px;
}

/* ---- TIMELINE ---- */
.timeline {
  position: relative;
  padding: 40px 0;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
  transform: translateX(-50%);
}
.timeline-item {
  display: grid;
  grid-template-columns: 1fr 60px 1fr;
  gap: 0;
  margin-bottom: 48px;
  align-items: center;
}
.timeline-item:last-child { margin-bottom: 0; }
.timeline-content {
  padding: 28px 36px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}
.timeline-content:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
  transform: translateY(-3px);
}
.timeline-item:nth-child(odd) .timeline-content { text-align: right; }
.timeline-content h4 {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--dark);
  margin-bottom: 6px;
}
.timeline-content p { font-size: 0.86rem; color: var(--text-muted); }
.timeline-dot {
  width: 16px;
  height: 16px;
  background: var(--primary);
  border-radius: 50%;
  margin: 0 auto;
  box-shadow: 0 0 0 4px rgba(13,63,166,0.15);
}
.timeline-year {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--primary);
  text-align: center;
  margin-top: 4px;
}
.timeline-empty { /* placeholder for opposite side */ }

/* ---- CTA DARK ---- */
.nosotros-cta {
  text-align: center;
  padding: 96px 40px;
  background: var(--dark);
  border-radius: var(--radius-xl);
}
.nosotros-cta h2 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 16px;
}
.nosotros-cta p {
  color: rgba(255,255,255,0.65);
  font-size: 1rem;
  margin-bottom: 36px;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .nosotros-grid { gap: 48px; }
  .philosophy-grid { grid-template-columns: 1fr 1fr; }
  .values-strip { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 768px) {
  .nosotros-grid { grid-template-columns: 1fr; }
  .nosotros-img-float { left: 12px; bottom: 16px; }
  .philosophy-grid { grid-template-columns: 1fr; }
  .nosotros-cta { padding: 64px 24px; border-radius: var(--radius-lg); }
  .timeline::before { left: 24px; }
  .timeline-item { grid-template-columns: 60px 1fr; }
  .timeline-item .timeline-empty { display: none; }
  .timeline-item:nth-child(odd) .timeline-content { text-align: left; }
  .timeline-dot { margin: 0 auto 0 4px; }
  .timeline-year { text-align: left; padding-left: 8px; }
  .timeline-content { grid-column: 2; }
  .values-strip { padding: 44px 28px; }
}