/* HYBRID Labs — team.css */

/* ── TEAM GRID HERO ── */
.team-hero {
  text-align: center;
  padding: 140px 24px 60px;
}
.team-hero h1 {
  font-size: clamp(2rem, 4vw, 3.5rem);
  font-weight: 900;
  margin-bottom: 12px;
  color: var(--text);
  letter-spacing: -1px;
}
.team-hero p {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* ── TEAM GRID ── */
.team-section {
  padding: 20px 24px 100px;
  max-width: 1200px;
  margin: 0 auto;
}
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}
.team-card {
  display: block;
  border-radius: 12px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}
.team-card:hover {  
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}
.team-img {
  width: 100%;
  aspect-ratio: 4 / 5;
  background-color: var(--surface2);
  background-size: cover;
  background-position: center;
  position: relative;
}
/* Efecto sombra inferor para que el texto resalte */
.team-card::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, transparent 60%);
  pointer-events: none;
}
.team-info {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 24px;
  z-index: 2;
}
.team-name {
  font-size: 1.4rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 4px;
  letter-spacing: -0.5px;
}
.team-role {
  font-size: 0.85rem;
  color: #ddd;
  font-weight: 500;
}

/* ── ATHLETE PAGE ── */
.athlete-wrapper {
  background: var(--white);
}

.athlete-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: calc(100vh);
}

@media (max-width: 900px) {
  .athlete-hero { grid-template-columns: 1fr; }
}

.athlete-hero-left {
  position: relative;
  background-color: var(--surface);
  min-height: 500px;
}
.athlete-hero-img {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover;
}
.athlete-hero-right {
  padding: 120px 80px 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
@media (max-width: 900px) {
  .athlete-hero-right { padding: 80px 24px 40px; }
}

.at-headers { margin-bottom: 40px; }
.at-first {
  font-size: clamp(1.2rem, 3vw, 1.8rem);
  font-weight: 800;
  color: var(--blue);
  letter-spacing: 1px;
  display: block;
  margin-bottom: -5px;
  text-transform: uppercase;
}
.at-last {
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  font-weight: 900;
  line-height: 1;
  color: var(--text);
  letter-spacing: -2px;
  text-transform: uppercase;
}

.at-info-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.at-item h5 {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-tertiary);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.at-item p {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text);
  line-height: 1.4;
}

.at-socials {
  margin-top: 48px;
  display: flex;
  gap: 16px;
}
.at-socials a {
  display: flex; align-items: center; justify-content: center;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--surface2);
  color: var(--text);
  transition: background 0.2s, color 0.2s;
}
.at-socials a:hover {
  background: var(--blue);
  color: #fff;
}
.at-socials svg { width: 22px; height: 22px; }

/* STACK */
.at-stack-section {
  padding: 80px 24px;
  background: #f8f9fa;
  text-align: center;
}
.at-stack-title {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -1px;
  margin-bottom: 40px;
  color: var(--text);
}
.at-stack-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  max-width: 1000px;
  margin: 0 auto;
}
.at-stack-card {
  background: var(--white);
  padding: 40px 24px;
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: 0 4px 20px rgba(0,0,0,0.03);
  text-align: center;
  transition: transform 0.3s;
}
.at-stack-card:hover {
  transform: translateY(-5px);
}
.at-stack-card img {
  max-height: 200px;
  margin: 0 auto 24px;
}
.at-stack-name {
  font-weight: 800;
  font-size: 1.1rem;
  margin-bottom: 8px;
  text-transform: uppercase;
}
.at-stack-price {
  font-weight: 500;
  color: var(--text-secondary);
}

/* GALLERY */
.at-gallery-section {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
}
@media (max-width: 768px) {
  .at-gallery-section { grid-template-columns: 1fr; }
}
.at-gallery-img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
}
