/* Tipografía base */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;700&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', sans-serif;
  background-color: #f9f9f9;
  color: #333;
  line-height: 1.6;
}

/* Header */
.header {
  background-color: #2d2d2d;
  color: white;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.logo {
  font-weight: bold;
  text-transform: uppercase;
  line-height: 1.1;
}

.logo span {
  font-size: 0.8em;
  color: #ccc;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: #f7c52e;
}

/* Hero */
.hero {
  background: linear-gradient(90deg, #672a91, #c4386e);
  padding: 3rem 2rem;
  color: white;
  text-align: center;
}

.hero h1 {
  font-size: 2.6rem;
  font-weight: 700;
}

.mujeres {
  color: #f7c52e;
}

.diversidades {
  color: #60e7d1;
}

/* Presentación */
.presentacion {
  background-color: #eeeeee;
  padding: 2rem;
  text-align: center;
  font-size: 1.1rem;
  font-weight: 300;
}

/* Centros */
.centros {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 2rem;
}

.tarjeta {
  display: flex;
  flex-direction: row;
  background-color: white;
  box-shadow: 0 0 10px #ccc;
  border-radius: 10px;
  overflow: hidden;
  flex-wrap: wrap;
}

.tarjeta .info {
  flex: 1;
  padding: 1.5rem;
}

.tarjeta img {
  width: 100%;
  max-width: 350px;
  height: 100%;
  object-fit: cover;
  border-left: 2px solid #eee;
}

/* Mapas */
.mapa {
  width: 100%;
  height: 250px;
  border: none;
  margin-top: 1rem;
  border-radius: 8px;
}

/* Direcciones */
#direcciones {
  padding: 2rem;
}

.direcciones h2 {
  text-align: center;
  margin-bottom: 2rem;
  color: #4a196d;
  font-size: 2rem;
}

.carta {
  display: flex;
  background-color: #4a196d;
  border-radius: 16px;
  padding: 1.5rem;
  color: white;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.carta .texto {
  flex: 1;
  padding-right: 1rem;
}

.carta img {
  width: 100%;
  max-width: 300px;
  height: 200px;
  object-fit: cover;
  border-radius: 10px;
  margin-top: 1rem;
}

.carta h3 {
  font-weight: 600;
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.boton {
  display: inline-block;
  background-color: #f7c52e;
  color: #4a196d;
  padding: 0.6rem 1.2rem;
  border-radius: 20px;
  text-decoration: none;
  font-weight: bold;
  margin-top: 1rem;
  transition: background 0.3s ease;
}

.boton:hover {
  background-color: #fff;
  color: #4a196d;
  border: 1px solid #4a196d;
}

/* Footer */
.footer {
  background-color: #000;
  color: white;
  padding: 2rem;
  font-size: 0.9rem;
  margin-top: 3rem;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  text-align: center;
}

.logo-footer img {
  height: 200px;
  margin-bottom: 0.5rem;
}

.redes a img {
  width: 24px;
  margin: 0 0.5rem;
}

.footer-bottom {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.8rem;
  color: #ccc;
}

.footer a {
  color: #aaa;
  text-decoration: none;
}

/* Responsive */
@media (max-width: 768px) {
  .tarjeta,
  .carta {
    flex-direction: column;
    text-align: center;
  }

  .tarjeta img,
  .carta img {
    max-width: 100%;
    height: auto;
    margin-top: 1rem;
  }

  .carta .texto {
    padding-right: 0;
  }
}