/* --- Variables y Globales (Basado en tu CSS) --- */
:root {
  --blue-primary: #003764;
  --blue-second: #00556f;
  --dark-color: #53575a;
  --white: #fff;
  --text-dark-blue: #212a3f;
  --background-light: #f4f7f6;
}
body {
  font-family: "Roboto", sans-serif;
  background: var(--background-light);
  margin: 0;
  padding: 0;
}
.container {
  width: 80%;
  margin: auto;
  max-width: 1000px;
}
h2 {
  font-size: 36px;
  color: var(--blue-primary);
  margin-bottom: 20px;
  text-align: center;
}

.btn {
  text-decoration: none;
  padding: 12px 28px;
  font-size: 16px;
  font-weight: 600;
  border-radius: 4px;
  transition: 0.3s ease;
  cursor: pointer;
  display: inline-block;
  text-align: center;
  background: var(--blue-second);
  color: var(--white);
  border: 2px solid var(--blue-second);
}
.btn:hover {
  background: var(--blue-primary);
  border-color: var(--blue-primary);
}

.about-hero {
  position: relative;
  width: 100%;
  height: 13vh;
  background-image: linear-gradient(
      rgba(0, 55, 100, 0.7),
      rgba(0, 55, 100, 0.7)
    ),
    url("");
  background-position: center;
  background-attachment: fixed;
  background-size: cover;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: var(--white);
}
.about-hero h1 {
  font-size: 48px;
  font-weight: 700;
}

.mision-section {
  background: var(--white);
}
.mision-section .container {
  text-align: center;
  max-width: 800px;
}
.mision-section h2 {
  color: var(--blue-second);
  padding-top: 60px;
}
.mision-section p {
  font-size: 18px;
  line-height: 1.7;
  padding-bottom: 60px;
}

.team-section {
  background: var(--background-light);
  padding-top: 60px;
}
.team-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}
.team-grid img {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.team-grid p {
  padding-bottom: 60px;
}
.team-text h3 {
  font-size: 28px;
  color: var(--blue-primary);
  margin-bottom: 15px;
}

.why-us {
  background: var(--white);
  padding-top: 60px;
}
.why-us-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  text-align: center;
}
.why-us-card {
  padding: 0px 30px 30px 30px;
}
.why-us-card .icon {
  font-size: 40px;
  color: var(--blue-second);
  margin-bottom: 20px;
}
.why-us-card h4 {
  font-size: 20px;
  color: var(--blue-primary);
  margin-bottom: 10px;
}

/* --- RESPONSIVE  --- */
@media screen and (max-width: 960px) {
  .container {
    width: 90%;
  }

  .about-hero {
    height: auto; 
    padding: 60px 0 0 0; 
    min-height: 200px;
  
  }

  .about-hero h1 {
    font-size: 38px;
    padding: 0 20px;
  }

  /* Sección Misión */
  .mision-section p {
    font-size: 16px; /* Texto un poco más pequeño */
    padding-bottom: 40px;
  }

  /* --- SECCIÓN EQUIPO (Importante) --- */
  .team-grid {
    grid-template-columns: 1fr; 
    gap: 30px;
    text-align: center; 
  }

  .team-grid img {
    max-width: 80%; 
    margin: 0 auto; 
    display: block;
  }

  .team-grid p {
    padding-bottom: 20px;
  }

  .why-us-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

/* Celulares (Max 600px) */
@media screen and (max-width: 600px) {
  /* Títulos más pequeños */
  h2 {
    font-size: 28px;
  }

  .about-hero h1 {
    font-size: 28px;
  }

  /* Texto de misión */
  .mision-section p {
    padding: 0 10px 40px 10px;
    text-align: justify;
  }

  .team-grid img {
    max-width: 100%;
  }

  .why-us-grid {
    grid-template-columns: 1fr;
  }

  .why-us-card {
    padding: 0 10px 30px 10px;
    border-bottom: 1px solid #1f1f1f; 
    margin-bottom: 20px;
  }

  .why-us-card:last-child {
    border-bottom: none;
    margin-bottom: 0;
  }
}
