* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


/* =====================
   Variables
   ===================== */
:root {
  --color-blue: #003973;
  --color-dorado: #C7893E;
}

/* =====================
   Typography
   ===================== */
h1 {
  font-family: 'sourceSansProBold';
}

h2 {
  font-family: 'ludotek';
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--color-blue);
}

h3,
h4,
p {
  font-family: 'sourceSansProRegular';
}

h3 {
  font-size: 30px;
}

h4 {
  font-size: 15px;
}

p {
  font-size: 16px;
}

/* =====================
   Body & Layout
   ===================== */
body {
  background-color: #f5f5f5;
  height: 100vh;
  display: block;
}

section.equipo {
  padding-top: 50px;
  justify-content: center;
  align-items: center;
  display: flex;
}

.equipo .row {
  text-align: justify;
  width: 80%;
  justify-content: center;
}

.equipo .row p {
  color: #333;
  padding: 10px;
}

section.foto,
.container-foto {
  width: 100%;
}

.container-foto img {
  width: 100%;
}

/* =====================
   Team Cards
   ===================== */
.team {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 40px;
  margin: 10px 5%;
}

.team-card {
  display: flex;
  flex-direction: column;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  padding: 10px 0;
  transition: box-shadow 0.2s;
}

.team-card:hover {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}

.team-card:hover img {
  transform: scale(1.1);
}

.team-card-image {
  height: 200px;
  overflow: hidden;
  padding: 10px;
}

.team-card-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.2s;
}

.team-card-info {
  padding: 20px;
  text-align: center;
}

.team-card-info h3 {
  margin-bottom: 5px;
  font-size: 15px;
}

.team-card-info p {
  margin-bottom: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 16px;
  color: #333;
  padding: 20px 0 0 0;
}

/* =====================
   Responsive
   ===================== */
@media (max-width: 1200px) {
  .team {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 1024px) {
  .team {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 768px) {
  .team {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 425px) {
  .team {
    grid-template-columns: 1fr;
  }
  .team-card {
    min-height: 200px;
    padding: 8px;
  }
  .team-card-image {
    min-height: 100px;
    height: 120px;
    padding: 3px;
  }
  .team-card-info {
    padding: 8px;
    font-size: 0.95rem;
  }
}
@media (max-width: 375px) {
  .team {
    grid-template-columns: 1fr;
  }
  .team-card {
    min-height: 160px;
    padding: 4px;
  }
  .team-card-image {
    min-height: 80px;
    height: 100px;
    padding: 2px;
  }
  .team-card-info {
    padding: 6px;
    font-size: 0.9rem;
  }
}
@media (max-width: 320px) {
  .team {
    grid-template-columns: 1fr;
  }
  .team-card {
    min-height: 120px;
    padding: 2px;
  }
  .team-card-image {
    min-height: 60px;
    height: 80px;
    padding: 1px;
  }
  .team-card-info {
    padding: 4px;
    font-size: 0.85rem;
  }
}