@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
:root {
  --primary-color: #a50000;
  --light-color: #fff;
  --light-color-hover: #ffbbbb;
  --dark-color: #000;
  --gray: #8d8d8d;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}
svg {
  width: 16px;
  height: 16px;
  fill: var(--light-color);
}

a {
  text-decoration: none;
}

body {
  line-height: 1.6;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100dvh;
}

header {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  background-color: var(--primary-color);
  color: var(--light-color);
  font-weight: 600;
  a {
    color: var(--light-color);
  }
}
header #logo {
  width: 25%;
  background-color: var(--light-color);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
header #logo img {
  width: 100px;
  height: 100px;
  padding: 0.5rem;
}
header a:last-of-type {
  padding-right: 6rem;
}
/* Sección principal */
.sobre-nosotros {
  padding: 60px 20px;
  max-width: 1100px;
  margin: auto;
}

/* Hero principal */
.sobre-nosotros .hero {
  text-align: center;
  margin-bottom: 60px;
}

.sobre-nosotros .hero h1 {
  font-size: 2.8rem;
  color: #d62828;
  margin-bottom: 15px;
}

.sobre-nosotros .hero p {
  font-size: 1.2rem;
  color: #555;
  max-width: 700px;
  margin: 0 auto;
}

/* Secciones internas */
.sobre-nosotros .seccion {
  margin-bottom: 50px;
}
.sobre-nosotros .seccion:first-of-type {
  display: flex;
  gap: 7rem;
}
.sobre-nosotros .seccion h2 {
  font-size: 2rem;
  margin-bottom: 15px;
  color: var(--dark-color);
  border-left: 5px solid #d62828;
  padding-left: 12px;
}

.sobre-nosotros .seccion p {
  font-size: 1.05rem;
  color: #444;
  margin-bottom: 15px;
}

.sobre-nosotros .seccion img {
  margin-top: 75px;
  height: 250px;
  width: 250px;
}

/* Lista de valores */
.sobre-nosotros .seccion ul {
  list-style: none;
  padding-left: 0;
}

.sobre-nosotros .seccion li {
  margin-bottom: 10px;
  font-size: 1.05rem;
}

.sobre-nosotros .seccion li strong {
  color: #d62828;
}

footer {
  padding: 2rem 4rem 0rem 4rem;
  background-color: var(--primary-color);
  color: var(--light-color);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
footer div {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 1.5rem 2.5rem;
  font-size: 14px;
}
footer div h2 {
  font-size: 16px;
}
footer div p,
a {
  color: var(--light-color);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
footer div a:hover {
  text-decoration: underline;
}
footer div .redes_sociales {
  padding: 0;
  display: flex;
  flex-direction: row;
  gap: 1rem;
}
footer div .redes_sociales a svg {
  width: 24px;
  height: 24px;
}
footer div .copyright {
  border-top: 1px solid var(--light-color);
  align-items: center;
  grid-column: span 3;
}
@media (max-width: 768px) {
  .sobre-nosotros .hero h1 {
    font-size: 2rem;
  }

  .sobre-nosotros .seccion:first-of-type {
    display: flex;
    flex-direction: column;
  }

  .sobre-nosotros .seccion h2 {
    font-size: 1.5rem;
  }

  .sobre-nosotros .hero p,
  .sobre-nosotros .seccion p,
  .sobre-nosotros .seccion li {
    font-size: 1rem;
  }

  footer {
    background-color: var(--primary-color);
    color: var(--light-color);
    display: flex;
    flex-direction: column;
    padding: 0.5rem;
  }
  footer a {
    color: var(--light-color);
  }
  footer a:hover {
    text-decoration: underline;
  }
  footer div {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
  }
  footer div .redes_sociales {
    padding: 0;
    display: flex;
    flex-direction: row;
    gap: 1rem;
  }
  footer div .redes_sociales a svg {
    width: 24px;
    height: 24px;
  }
  footer div span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  footer div .copyright {
    border-top: 1px solid var(--light-color);
    display: flex;
    align-items: center;
  }
}
