@charset "UTF-8";

/* ===== Timeline ===== */
.timeline {
  position: relative;
  padding: 40px 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--secondary), var(--border), var(--secondary));
  opacity: 0.3;
}

.timeline-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-bottom: 60px;
  position: relative;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: 50%;
  top: 20px;
  transform: translateX(-50%);
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--secondary);
  border: 4px solid var(--white);
  box-shadow: 0 0 0 3px var(--secondary);
  z-index: 2;
}

.timeline-year {
  font-size: 2rem;
  font-weight: 800;
  color: var(--secondary);
  margin-bottom: 12px;
  display: block;
}

.timeline-content h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 12px;
}

.timeline-content p {
  color: var(--text-light);
  line-height: 1.9;
}

.timeline-item:nth-child(even) .timeline-year {
  text-align: right;
}

.timeline-item:nth-child(even) .timeline-content {
  order: -1;
  text-align: right;
}

/* ===== Team Section ===== */
.team-section {
  padding: 80px 0;
  background: linear-gradient(135deg, rgba(245,230,211,0.2), rgba(245,230,211,0.05));
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.team-card {
  background: var(--white);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(198,123,60,0.1);
  transition: var(--transition);
  text-align: center;
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(44,24,16,0.1);
}

.team-avatar {
  width: 100%;
  height: 220px;
  background: linear-gradient(135deg, rgba(198,123,60,0.15), rgba(198,123,60,0.05));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--secondary);
  position: relative;
  overflow: hidden;
}

.team-avatar::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(transparent, rgba(198,123,60,0.1));
}

.team-info {
  padding: 24px;
}

.team-info h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 4px;
}

.team-info span {
  font-size: 0.85rem;
  color: var(--secondary);
  display: block;
  margin-bottom: 12px;
}

.team-info p {
  font-size: 0.85rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* ===== Values ===== */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.value-card {
  text-align: center;
  padding: 40px 28px;
  border-radius: 16px;
  border: 2px solid rgba(198,123,60,0.12);
  transition: var(--transition);
  background: var(--white);
}

.value-card:hover {
  border-color: var(--secondary);
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(44,24,16,0.08);
}

.value-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--secondary), #A8652E);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  fill: var(--white);
}

.value-icon svg {
  width: 30px;
  height: 30px;
}

.value-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 12px;
}

.value-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* ===== Responsive ===== */
@media (max-width: 1024px) {
  .timeline::before {
    left: 20px;
  }
  
  .timeline-item {
    grid-template-columns: 1fr;
    gap: 16px;
    padding-left: 56px;
  }
  
  .timeline-dot {
    left: 20px;
  }
  
  .timeline-item:nth-child(even) .timeline-year {
    text-align: left;
  }
  
  .timeline-item:nth-child(even) .timeline-content {
    order: 0;
    text-align: left;
  }
  
  .team-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
  
  .values-grid {
    grid-template-columns: 1fr;
  }
  
  .timeline-year {
    font-size: 1.6rem;
  }
}
