/* GENERAL */
body {
  font-family: Arial, sans-serif;
  margin: 0;
  background: #f5f7fa;
  color: #2c6ebd;
  line-height: 1.6;
}

.header-flex {
  display: flex;
  flex-direction: column; /* móvil */
  align-items: center;
  text-align: center;
  background: white;
  padding: 20px 40px;
  gap: 15px;
}

.header-flex .header-text {
  text-align: center;
}

.header-flex .titulo-principal {
  margin: 0;
  line-height: 1.1;
  font-size: 36px;
}

.header-flex .logo,
.header-flex .persona {
  width: 140px;
  max-width: 100%;
  height: auto;
}

/* PC: todo en fila */
@media (min-width: 768px) {
  .header-flex {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 20px;
  }

  .header-flex .header-text {
    margin: 0 20px;
  }
}

/* Responsive móvil */
@media (max-width: 768px) {
  .header-flex {
    flex-direction: column;
    align-items: center;
    padding: 15px;
  }

  .header-flex .logo,
  .header-flex .persona {
    width: 120px;
    margin: 10px 0;
  }

  .header-flex .titulo-principal {
    font-size: 24px;
  }
}

/* SECCIÓN DOS COLUMNAS */
.dos-columnas {
  display: flex;
  justify-content: space-between;
  max-width: 900px;
  margin: 30px auto;
  padding: 0 20px;
  gap: 20px;
  flex-wrap: wrap;
}

.col-izquierda,
.col-derecha {
  flex: 1;
  min-width: 250px;
}

/* BOTONES */
.btn-whatsapp, .btn-test {
  display: inline-block;
  margin-top: 10px;
  padding: 14px 22px;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
}

.btn-whatsapp {
  background: #25D366;
  color: white;
  font-size: 16px;
}

.btn-whatsapp i {
  margin-right: 8px;
  font-size: 18px;
  vertical-align: middle;
}

.btn-whatsapp:hover {
  background: #1ebe5d;
}

.btn-test {
  background: #2c6ebd;
  color: white;
}

.btn-test:hover {
  background: #1b58a0;
}

/* SECCIONES GENERALES */
section {
  max-width: 900px;
  margin: 30px auto;
  padding: 0 20px;
  text-align: left;
}

section h2 {
  margin: 0 0 10px 0;
  line-height: 1.2;
  color: #2c6ebd;
}

section p {
  margin: 5px 0;
  line-height: 1.5;
}

section ul {
  margin: 5px 0;
  padding-left: 20px;
}

section ul li {
  margin-bottom: 5px;
  line-height: 1.5;
}

/* CONTACTO Y MAPA FLEX */
.contacto-mapa {
  display: flex;
  justify-content: space-between;
  max-width: 900px;
  margin: 30px auto;
  gap: 20px;
  flex-wrap: wrap;
}

.contacto, .mapa {
  flex: 1;
  min-width: 250px;
}

/* Lista dentro de mapa */
.contacto-mapa .mapa ul {
  margin-top: -5px; /* sube suavemente la lista */
  padding-left: 20px;
}

.contacto-mapa .mapa li {
  margin-bottom: 5px;
}

/* Mapa */
.contacto-mapa .mapa iframe {
  margin-top: 5px;
  width: 100%;
  height: 300px;
  border: 0;
  display: block;
}

/* FOOTER */
footer {
  background: #eaeaea;
  text-align: center;
  padding: 20px;
  font-size: 14px;
}

/* RESPONSIVE MÓVILES */
@media (max-width: 768px) {
  .dos-columnas {
    flex-direction: column;
  }

  .contacto-mapa {
    flex-direction: column;
  }
}
