* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}

body {
  background: #f4f6f9;
  color: #333;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
  background: white;
  border-radius: 0 0 20px 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .08);
}

header a {
  text-decoration: none;
  color: #333;
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.25rem;
  font-weight: bold;
}

.logo img {
  height: 70px;
  border-radius: 50%;
}

nav a {
  margin-left: 18px;
  padding: 10px 16px;
  border-radius: 14px;
  transition: .3s;
}

nav a:hover {
  background: #3f51b5;
  color: white;
}

.centro {
  max-width: 1100px;
  margin: 40px auto;
  background: white;
  padding: 50px;
  border-radius: 28px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, .08);
}

.centro img {
  width: 180px;
  border-radius: 50%;
  margin-bottom: 20px;
}


.cards {
  display: flex;
  gap: 40px;
  max-width: 1180px;
  margin: 40px auto;
  flex-wrap: wrap;
  justify-content: center;
}

.card {
  background: white;
  padding: 25px;
  border-radius: 30px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .08);
  min-width: 300px;
  text-align: center;
}

.card h3 {
  margin-bottom: 15px;
}


footer {
  margin-top: 40px;
  background: white;
  padding: 40px 60px;
  border-radius: 20px 20px 0 0;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, .08);

  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 30px;

  text-align: center;
}


.footer-redes img {
  width: 180px;
  height: 130px;
  object-fit: contain;
  margin: 10px;
  transition: .3s;
}

.footer-redes img:hover {
  transform: scale(1.15);
}

.footer-redes h3 {
  margin-bottom: 15px;
  font-size: 1.3rem;
}

.redes {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 50px;
  margin-top: 15px;
}


.footer-ubicacion {
  width: 100%;
  padding: 10px 30px;
}

.footer-ubicacion h3 {
  margin-bottom: 15px;
  font-size: 1.3rem;
}

.footer-ubicacion p {
  margin-bottom: 20px;
  line-height: 1.6;
}

.mapa-contenedor {
  width: 100%;
  margin: 20px 0 0;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 3px 12px rgba(0, 0, 0, .12);
}

.mapa-contenedor iframe {
  display: block;
  width: 100%;
  height: 300px;
  border: 0;
}

footer:last-of-type {
  margin-top: 0;
  padding: 15px;
  border-radius: 0;
  box-shadow: none;
  display: block;
  text-align: center;
}