/* ==============================================================
   HERO ESPECÍFICO PARA PÁGINA "NOSOTROS"
   ============================================================== */
.about-hero {
  position: relative;
  background-image: url("/assets/oficina-gq.webp");
  background-size: cover;
  background-position: center center;
  background-attachment: fixed; /* Efecto Parallax súper elegante */
  height: 90vh;
  text-align: center;
  color: var(--color-text-light);
  display: flex;
}

/* Oscurecemos la foto de forma pareja para que resalte el texto */
.about-hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0, 0, 0, 0.8); 
  z-index: 1;
}

.about-hero-container {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.about-hero-container .hero-title {
  font-size: 2.2rem;
  line-height: 1.3;
  margin-bottom: 1.5rem;
  color: #fff;
}

.about-hero-container .hero-subtitle {
  font-size: 1.1rem;
  color: #e0e0e0;
  margin: 0 auto;
}

/* Imagen de la sección filosofía */
.about-image-styled {
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* ==============================================================
   LLAMADO A LA ACCIÓN FINAL (CTA)
   ============================================================== */
.cta-final {
  text-align: center;
  padding: 5rem 1rem;
}

.cta-final h2 {
  font-size: 2.2rem;
  color: var(--color-primary);
  margin-bottom: 1.5rem;
}

.cta-final p {
  font-size: 1.1rem;
  color: var(--color-secondary);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-final .btn-primary {
  font-size: 1.1rem;
  padding: 1rem 2.5rem;
}

@media (min-width: 768px) {
  .about-hero { padding: 12rem 1rem; }
  .about-hero-container .hero-title { font-size: 3rem; }
  .about-hero-container .hero-subtitle { font-size: 1.25rem; }
}

/* ==============================================================
   SECCIÓN EQUIPO (PÁGINA NOSOTROS)
   ============================================================== */
.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

@media (min-width: 768px) {
  .team-grid {
    grid-template-columns: 1fr 1fr; /* 2 columnas en PC */
    gap: 3rem;
  }
}

.team-card {
  background-color: var(--color-background-light);
  border: 1px solid var(--color-border);
  border-radius: 12px;
  padding: 3rem 2rem;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0,0,0,0.1);
  border-bottom: 4px solid var(--color-accent);
}

.team-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #fff;
  box-shadow: 0 5px 15px rgba(0,0,0,0.15);
  margin: 0 auto 1.5rem auto;
  background-color: #e0e0e0;
}

.team-card h3 {
  color: var(--color-primary);
  font-size: 1.5rem;
  margin-bottom: 0.2rem;
}

.team-role {
  color: var(--color-accent);
  font-weight: 700;
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
  display: block;
}

.team-card p {
  color: var(--color-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.team-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
}

.team-badge {
  background-color: var(--color-primary);
  color: #fff;
  padding: 0.3rem 0.8rem;
  border-radius: 50px;
  font-size: 0.8rem;
  font-weight: bold;
}
.team-badge.red {
  background-color: var(--color-accent);
}